summaryrefslogtreecommitdiff
path: root/src/game.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
committerBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
commit2c8b8579faf729b9cf21b8b2d827f0e482570bd3 (patch)
tree7c258a9008d00ff1ec54de578d092e370b90cd95 /src/game.hpp
parentfdb532aec5234db77a9111d219f8a870d660c4fc (diff)
Move random_artifacts to Game struct
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 20ca0f86..631e16b1 100644
--- a/src/game.hpp
+++ b/src/game.hpp
@@ -7,6 +7,7 @@
#include "grid.hpp"
#include "h-basic.h"
#include "player_defs.hpp"
+#include "random_artifact.hpp"
#include "skill_type.hpp"
#include "wilderness_map.hpp"
@@ -41,6 +42,11 @@ struct Game {
grid<wilderness_map> wilderness;
/**
+ * Random artifacts
+ */
+ std::vector<random_artifact> random_artifacts;
+
+ /**
* Player's un-adjusted HP at every level.
* Stored to avoid shenanigans with draininging levels
* and restoring them back, &c.