TombEngine/TR5Main/Scripting/GameScriptAnimations.cpp

22 lines
706 B
C++
Raw Normal View History

2021-12-01 15:18:47 +03:00
#include "framework.h"
#include "GameScriptAnimations.h"
/***
2022-03-04 15:51:53 +11:00
New animations and functionality which Lara can perform.
2021-12-01 15:18:47 +03:00
@pregameclass Animations
@pragma nostrip
*/
void GameScriptAnimations::Register(sol::state* lua)
{
2022-03-04 15:51:53 +11:00
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);
}