diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
commit | 554ff9a63d5d9bc64f668a00b6baa9b91dc41306 (patch) | |
tree | 6d25a4f53042a4f4154d07fa77921c0ba13b68bd /src/game.hpp | |
parent | 0595b2fa946619d29624505f8edc0f9c00146e61 (diff) |
Move "messages" to Game struct
Diffstat (limited to 'src/game.hpp')
-rw-r--r-- | src/game.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.hpp b/src/game.hpp index 631e16b1..37da1cc0 100644 --- a/src/game.hpp +++ b/src/game.hpp @@ -6,11 +6,14 @@ #include "game_edit_data.hpp" #include "grid.hpp" #include "h-basic.h" +#include "messages.hpp" #include "player_defs.hpp" #include "random_artifact.hpp" #include "skill_type.hpp" #include "wilderness_map.hpp" +#include <boost/circular_buffer.hpp> + /** * All structures for the game itself. */ @@ -54,6 +57,11 @@ struct Game { std::array<s16b, PY_MAX_LEVEL> player_hp { }; /** + * Message buffer. + */ + messages messages { 2048 }; + + /** * Game edit data */ GameEditData edit_data; |