diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-27 14:11:18 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-27 14:11:18 +0200 |
commit | c3b82994011622a59cc61586492046a4238159c7 (patch) | |
tree | b8b006ca3cb623ae07c45f572d1c3f4ad5563be0 /src/game/game.hpp | |
parent | 006a1496a531eaa78f0016c5d2b2ddce1f58421f (diff) |
Detect game over conditions.
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 31eb164..b6cb597 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -142,6 +142,13 @@ namespace game { bool first_teleporter_placed = false; size_t crystals = 150; + size_t num_scientists = 0; + size_t num_builders = 0; + size_t num_teleporters = 0; + bool game_over_displayed = false; + void check_game_over(void); + + void command_first_teleporter(v2f_t where); void wake_area(v2f_t x); |