X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FEnvironment.hpp;h=724db7072de75fa0aa3904ebd1f2c1332aa70ab9;hb=9da6ac5e93d79e79658a95d5f6efe42146873583;hp=97f4a7ec54434e839dfaba76c66095a80bb17cf7;hpb=1afc887a2040dfdedfa66913e94ff7a9634f648f;p=blank.git diff --git a/src/app/Environment.hpp b/src/app/Environment.hpp index 97f4a7e..724db70 100644 --- a/src/app/Environment.hpp +++ b/src/app/Environment.hpp @@ -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 @@ -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 *); + }; }