summaryrefslogtreecommitdiff
path: root/src/game.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-06-13 18:24:42 +0200
committerBardur Arantsson <bardur@scientician.net>2017-06-13 18:24:42 +0200
commit1eb13ec5a357c43c5366c276dce87fba6f713fc6 (patch)
tree889f1c7f7a6a73627566e44777002be8daa29d7b /src/game.hpp
parentff8894cc6bec9eeae81b222ec8116e3bb8793174 (diff)
Move alloc_* tables to Game struct
We also change the arrays to std::vector<>
Diffstat (limited to 'src/game.hpp')
-rw-r--r--src/game.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.hpp b/src/game.hpp
index 37da1cc0..6aaa5d47 100644
--- a/src/game.hpp
+++ b/src/game.hpp
@@ -2,6 +2,7 @@
#include "game_fwd.hpp"
+#include "alloc.hpp"
#include "birther.hpp"
#include "game_edit_data.hpp"
#include "grid.hpp"
@@ -50,6 +51,11 @@ struct Game {
std::vector<random_artifact> random_artifacts;
/**
+ * Allocations
+ */
+ Alloc alloc;
+
+ /**
* Player's un-adjusted HP at every level.
* Stored to avoid shenanigans with draininging levels
* and restoring them back, &c.