diff options
| author | Mel <einebeere@gmail.com> | 2023-07-08 01:20:53 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-08 01:20:53 +0200 |
| commit | 41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 (patch) | |
| tree | 7a41651c7c1eeecfc422395cbdb4b26ac619eaf9 /src/GFX/Image/PPMParser.hpp | |
| parent | f8c0fb7e5d4cd0139b2b287980149eca688803bd (diff) | |
| download | meowcraft-41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59.tar.zst meowcraft-41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59.zip | |
Add crude texture transparency
Diffstat (limited to 'src/GFX/Image/PPMParser.hpp')
| -rw-r--r-- | src/GFX/Image/PPMParser.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GFX/Image/PPMParser.hpp b/src/GFX/Image/PPMParser.hpp index 07ff3c2..a7e9b41 100644 --- a/src/GFX/Image/PPMParser.hpp +++ b/src/GFX/Image/PPMParser.hpp @@ -37,6 +37,8 @@ private: bool is_eof() const; + static constexpr RawImage::Pixel alpha_color{192, 0, 255}; + std::string_view m_source; uint64_t m_cursor = 0; }; |
