diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-13 13:59:54 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-13 13:59:54 +0200 |
| commit | abb22cda9a82a323fd8f1d077adefd6970a1abaa (patch) | |
| tree | 126a2de5c91f659b888ba776b7b821b9779e7bfe /src/renderer/Renderer.hpp | |
| parent | 6f3590341312b0ffff2304d02b24ac6a5d14b182 (diff) | |
minesweeper: draw colored mine counters
Diffstat (limited to 'src/renderer/Renderer.hpp')
| -rw-r--r-- | src/renderer/Renderer.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/renderer/Renderer.hpp b/src/renderer/Renderer.hpp index fc037d6..b825681 100644 --- a/src/renderer/Renderer.hpp +++ b/src/renderer/Renderer.hpp @@ -20,14 +20,14 @@ extern Renderer g_renderer; enum REntityType : int32_t { REntityType_Rectangle, - REntityType_MonoBitmap, + REntityType_AlphaBitmap, REntityType_Circle, }; -struct REntity_MonoBitmap { +struct REntity_AlphaBitmap { REntityType type; V3F32 pos; - MonoBitmap& bitmap; + AlphaBitmap& bitmap; Color color; }; @@ -47,7 +47,7 @@ struct REntity_Circle { union REntity { REntityType type; - REntity_MonoBitmap bitmap; + REntity_AlphaBitmap bitmap; REntity_Rectangle rect; REntity_Circle circle; }; @@ -70,7 +70,7 @@ public: void Clear(Color color); void PushRectangle(Rectangle rect, float z, Color color); - void PushMonoBitmap(MonoBitmap& bitmap, V3F32 pos, Color color); + void PushAlphaBitmap(AlphaBitmap& bitmap, V3F32 pos, Color color); void PushCircle(Circle circle, float z, Color color); |
