diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-09-07 12:53:57 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-09-07 12:53:57 +0200 |
commit | 39e1689130e87732cf410aaea7458dfdc399d50e (patch) | |
tree | 1dab000e95f28816522ea0997f022ec8ca64ef40 /src/game.hpp | |
parent | b4dafbb7604b8840c702455022096e8c17c8726b (diff) |
Move special_level[] to Game struct
Refactor into a multi_array<> to make it more robust.
Diffstat (limited to 'src/game.hpp')
-rw-r--r-- | src/game.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game.hpp b/src/game.hpp index f92dbdde..4f84f52c 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -7,6 +7,7 @@ #include "game_edit_data.hpp" #include "grid.hpp" #include "h-basic.h" +#include "level_marker.hpp" #include "messages.hpp" #include "player_defs.hpp" #include "random_artifact.hpp" @@ -14,6 +15,8 @@ #include "timer_type_fwd.hpp" #include "wilderness_map.hpp" +#include <boost/multi_array.hpp> + /** * All structures for the game itself. */ @@ -81,4 +84,14 @@ struct Game { */ std::vector<timer_type *> timers; + /** + * Level markers for 'special' levels. + */ + boost::multi_array<level_marker, 2> level_markers { }; + + /** + * Generate a special level feeling? + */ + bool generate_special_feeling = false; + }; |