summary refs log tree commit diff stats
path: root/src/script_system.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 18:54:38 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 18:54:38 -0500
commitc1fc60c5a2a4b96b830afc29942648714944b9d7 (patch)
tree8460df9e93491b8ba138f7f1cba41572b65fc537 /src/script_system.cpp
parentaf49b5366d35173702a2b3bd70ac4254b8855538 (diff)
downloadtanetane-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.cpp3
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",