Update animation script

This commit is contained in:
Sezz 2022-03-04 15:51:53 +11:00
parent 3d2e4f5242
commit c8d34bfccb
10 changed files with 60 additions and 65 deletions

View file

@ -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);
}