summary refs log tree commit diff stats
path: root/src/sprite.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 19:08:49 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 19:08:49 -0500
commitc304defdd7b0c5a8bea83f2540c009ededd450cb (patch)
treef959d12fe879c7d1d20eeb8689ee62a0aa073990 /src/sprite.h
parentc1fc60c5a2a4b96b830afc29942648714944b9d7 (diff)
downloadtanetane-c304defdd7b0c5a8bea83f2540c009ededd450cb.tar.gz
tanetane-c304defdd7b0c5a8bea83f2540c009ededd450cb.tar.bz2
tanetane-c304defdd7b0c5a8bea83f2540c009ededd450cb.zip
Added animation slowdown effect (for Lucas underwater)
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h index 570a906..733c792 100644 --- a/src/sprite.h +++ b/src/sprite.h
@@ -78,11 +78,13 @@ public:
78 bool hasShadow = false; 78 bool hasShadow = false;
79 int bobAmount = 0; 79 int bobAmount = 0;
80 bool bobbingDown = false; 80 bool bobbingDown = false;
81 int animSlowdownProgress = 0;
81 82
82 // Animation (controls) 83 // Animation (controls)
83 bool normallyHasShadow = false; 84 bool normallyHasShadow = false;
84 bool animPaused = false; 85 bool animPaused = false;
85 bool bobbing = false; 86 bool bobbing = false;
87 int animSlowdown = 1; // Animation will only advance every X frames (so, 1 means it's disabled)
86 88
87 // Character 89 // Character
88 bool orientable = false; 90 bool orientable = false;