TombEngine/TR5Main/Scripting/GameScriptAnimations.cpp
2022-03-04 15:51:53 +11:00

21 lines
706 B
C++

#include "framework.h"
#include "GameScriptAnimations.h"
/***
New animations and functionality which Lara can perform.
@pregameclass Animations
@pragma nostrip
*/
void GameScriptAnimations::Register(sol::state* lua)
{
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);
}