mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-29 08:17:59 +03:00
Update animation script
This commit is contained in:
parent
3d2e4f5242
commit
c8d34bfccb
10 changed files with 60 additions and 65 deletions
|
@ -2,21 +2,20 @@
|
|||
#include "GameScriptAnimations.h"
|
||||
|
||||
/***
|
||||
New custom animations which Lara can perform.
|
||||
New animations and functionality which Lara can perform.
|
||||
@pregameclass Animations
|
||||
@pragma nostrip
|
||||
*/
|
||||
|
||||
void GameScriptAnimations::Register(sol::state* lua)
|
||||
{
|
||||
lua->new_usertype<GameScriptAnimations>("Animations",
|
||||
"crawlExtended", &GameScriptAnimations::CrawlExtended,
|
||||
"crouchRoll", &GameScriptAnimations::CrouchRoll,
|
||||
"crawlspaceSwandive", &GameScriptAnimations::CrawlspaceSwandive,
|
||||
"monkeyTurn180", &GameScriptAnimations::MonkeyTurn180,
|
||||
"monkeyAutoJump", &GameScriptAnimations::MonkeyAutoJump,
|
||||
"oscillateHang", &GameScriptAnimations::OscillateHang,
|
||||
"pose", &GameScriptAnimations::Pose,
|
||||
"overhang", &GameScriptAnimations::Overhang
|
||||
);
|
||||
}
|
||||
lua->new_usertype<GameScriptAnimations>(
|
||||
"Animations",
|
||||
"hasSlideExtended", &GameScriptAnimations::HasSlideExtended,
|
||||
"hasCrawlExtended", &GameScriptAnimations::HasCrawlExtended,
|
||||
"hasCrouchRoll", &GameScriptAnimations::HasCrouchRoll,
|
||||
"hasCrawlspaceSwandive", &GameScriptAnimations::HasCrawlspaceDive,
|
||||
"hasOverhangClimb", &GameScriptAnimations::HasOverhangClimb,
|
||||
"hasPose", &GameScriptAnimations::HasPose,
|
||||
"hasMonkeyAutoJump", &GameScriptAnimations::HasMonkeyAutoJump);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue