diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-05 10:39:06 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-07-05 10:39:06 -0400 |
commit | d983ef6b8d66d916ed7502cf6d35b573c5366257 (patch) | |
tree | 2a98734180fc64f66a8623dc5c0d70b178e7b5af /src/sprite.h | |
parent | 35fffb8cf13258a4ff36a3bf56751e106c954a71 (diff) | |
download | tanetane-d983ef6b8d66d916ed7502cf6d35b573c5366257.tar.gz tanetane-d983ef6b8d66d916ed7502cf6d35b573c5366257.tar.bz2 tanetane-d983ef6b8d66d916ed7502cf6d35b573c5366257.zip |
Added fading in/out sprites
Diffstat (limited to 'src/sprite.h')
-rw-r--r-- | src/sprite.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sprite.h b/src/sprite.h index 782ae14..e7cb55b 100644 --- a/src/sprite.h +++ b/src/sprite.h | |||
@@ -100,13 +100,14 @@ public: | |||
100 | int bobAmount = 0; | 100 | int bobAmount = 0; |
101 | bool bobbingDown = false; | 101 | bool bobbingDown = false; |
102 | int animSlowdownProgress = 0; | 102 | int animSlowdownProgress = 0; |
103 | double opacity = 1.0; | ||
104 | 103 | ||
105 | // Animation (controls) | 104 | // Animation (controls) |
106 | bool normallyHasShadow = false; | 105 | bool normallyHasShadow = false; |
107 | bool animPaused = false; | 106 | bool animPaused = false; |
108 | bool bobbing = false; | 107 | bool bobbing = false; |
109 | int animSlowdown = 1; // Animation will only advance every X frames (so, 1 means it's disabled) | 108 | int animSlowdown = 1; // Animation will only advance every X frames (so, 1 means it's disabled) |
109 | double opacity = 1.0; | ||
110 | bool shouldBeFadedIn = true; | ||
110 | 111 | ||
111 | // Character | 112 | // Character |
112 | bool orientable = false; | 113 | bool orientable = false; |