summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 20:14:46 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 20:14:46 -0400
commite5fc5bccff29bce3de09209707cf8dbe14a80b35 (patch)
tree4243d2aa029cfc7d172072cdd0170c5e7ad2f3de /src/game.h
parente70f905372f30887778d72f5a321be76731b7b82 (diff)
downloadether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.tar.gz
ether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.tar.bz2
ether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.zip
control instructions
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index 914df53..5bdc245 100644 --- a/src/game.h +++ b/src/game.h
@@ -30,6 +30,14 @@ enum class LoseState {
30 Done 30 Done
31}; 31};
32 32
33enum class HelpState {
34 PreWait,
35 FadeIn,
36 Hold,
37 FadeOut,
38 Done
39};
40
33struct Input { 41struct Input {
34 bool left = false; 42 bool left = false;
35 bool right = false; 43 bool right = false;
@@ -72,6 +80,8 @@ public:
72 80
73 Interpolation initialFade; 81 Interpolation initialFade;
74 bool startedMusic = false; 82 bool startedMusic = false;
83 HelpState helpState = HelpState::PreWait;
84 Interpolation helpProgress;
75 85
76 Map map; 86 Map map;
77 std::list<Kickup> kickups; 87 std::list<Kickup> kickups;