]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Environment.hpp
merge common parts of pre- and unload states
[blank.git] / src / app / Environment.hpp
index 97f4a7ec54434e839dfaba76c66095a80bb17cf7..724db7072de75fa0aa3904ebd1f2c1332aa70ab9 100644 (file)
@@ -3,9 +3,11 @@
 
 #include "Assets.hpp"
 #include "FrameCounter.hpp"
+#include "MessageState.hpp"
 #include "StateControl.hpp"
 #include "../audio/Audio.hpp"
 #include "../graphics/Viewport.hpp"
+#include "../rand/GaloisLFSR.hpp"
 #include "../ui/Keymap.hpp"
 
 #include <string>
@@ -36,6 +38,8 @@ struct HeadlessEnvironment {
 
        StateControl state;
 
+       GaloisLFSR rng;
+
 
        explicit HeadlessEnvironment(const Config &);
 
@@ -53,9 +57,13 @@ struct Environment
 
        Keymap keymap;
 
+       MessageState msg_state;
+
 
        Environment(Window &win, const Config &);
 
+       void ShowMessage(const char *);
+
 };
 
 }