diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-23 10:30:16 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-23 10:30:16 -0500 |
commit | ae654356f843bb42a3c72d57b528d87aa63cf66d (patch) | |
tree | eea634cf3c6358775bba463a77ce4e2fa6addc7e /src/sprite.h | |
parent | 1cf3ccd05b193e6090c3a61c0e2f54524e1a4ba7 (diff) | |
download | tanetane-ae654356f843bb42a3c72d57b528d87aa63cf66d.tar.gz tanetane-ae654356f843bb42a3c72d57b528d87aa63cf66d.tar.bz2 tanetane-ae654356f843bb42a3c72d57b528d87aa63cf66d.zip |
Added a clipping mode (for testing!)
This allows walking through solid objects. It can be enabled and disabled using StartClipping() and StopClipping() in the debug console. It should not be used in any actual scripts.
Diffstat (limited to 'src/sprite.h')
-rw-r--r-- | src/sprite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h index 35ca7aa..3d2e9df 100644 --- a/src/sprite.h +++ b/src/sprite.h | |||
@@ -77,6 +77,7 @@ public: | |||
77 | CharacterState characterState = CharacterState::Still; | 77 | CharacterState characterState = CharacterState::Still; |
78 | StepType stepType = StepType::none; | 78 | StepType stepType = StepType::none; |
79 | int runningSfxChannel = -1; | 79 | int runningSfxChannel = -1; |
80 | bool clipping = false; | ||
80 | 81 | ||
81 | // Input | 82 | // Input |
82 | bool controllable = false; | 83 | bool controllable = false; |