diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-11-24 19:55:42 +0100 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-11-24 19:55:42 +0100 |
| commit | e4584401ad865afb5a0fec8b7cab67794490a10d (patch) | |
| tree | 6e13bfdac6b2687be6f3c180132e2a57ee71891d /src/games/Game.hpp | |
| parent | feb4bc8cbc66ba928319ddb2cc1bf48010487863 (diff) | |
rendering: refactor z-based sorting/drawing
Diffstat (limited to 'src/games/Game.hpp')
| -rw-r--r-- | src/games/Game.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/games/Game.hpp b/src/games/Game.hpp index a020012..aad3c1b 100644 --- a/src/games/Game.hpp +++ b/src/games/Game.hpp @@ -26,6 +26,14 @@ public: game_exit }; + enum ZLayer { + z_background = 0, + z_layer1, + z_layer2, + z_layer3, + z_text + }; + static std::unique_ptr<Game> Select(GameType type); |
