diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | 4d51094236b79b5d525c771d6cd3d990b9e64df8 (patch) | |
tree | 29ef7e821784103138a22bcadbfbd3fe2534e627 /src/game.hpp | |
parent | db827140e1c87342a4534d71d1681d0d6e375d3c (diff) |
Add GameEditData struct to contain *_info arrays
Diffstat (limited to 'src/game.hpp')
-rw-r--r-- | src/game.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/game.hpp b/src/game.hpp index b4894fd6..5da479c9 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -1,6 +1,8 @@ #pragma once #include "game_fwd.hpp" + +#include "game_edit_data.hpp" #include "grid.hpp" #include "h-basic.h" #include "player_defs.hpp" @@ -23,9 +25,9 @@ struct Game { */ std::array<s16b, PY_MAX_LEVEL> player_hp { }; -}; + /** + * Game edit data + */ + GameEditData edit_data; -/** - * Game instance - */ -extern Game *game; +}; |