diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-26 18:54:38 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-26 18:54:38 -0500 |
| commit | c1fc60c5a2a4b96b830afc29942648714944b9d7 (patch) | |
| tree | 8460df9e93491b8ba138f7f1cba41572b65fc537 /src/script_system.cpp | |
| parent | af49b5366d35173702a2b3bd70ac4254b8855538 (diff) | |
| download | tanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.tar.gz tanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.tar.bz2 tanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.zip | |
Added sprite bobbing (for Lucas underwater)
Diffstat (limited to 'src/script_system.cpp')
| -rw-r--r-- | src/script_system.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/script_system.cpp b/src/script_system.cpp index 92e6afe..e218969 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp | |||
| @@ -40,7 +40,8 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { | |||
| 40 | "persistent", &Sprite::persistent, | 40 | "persistent", &Sprite::persistent, |
| 41 | "paused", &Sprite::paused, | 41 | "paused", &Sprite::paused, |
| 42 | "clipping", &Sprite::clipping, | 42 | "clipping", &Sprite::clipping, |
| 43 | "cantCrouch", &Sprite::cantCrouch); | 43 | "cantCrouch", &Sprite::cantCrouch, |
| 44 | "bobsWhenNormal", &Sprite::bobsWhenNormal); | ||
| 44 | 45 | ||
| 45 | engine_.new_usertype<MessageSystem>( | 46 | engine_.new_usertype<MessageSystem>( |
| 46 | "message", | 47 | "message", |
