Decompiled grenade launcher (needs fixing); Improved crossbow; Added new ammo types; Implemented stargate and slicer dicer from TR4; Decompiled some collision functions and variables; Started implementing knight templar from TR4;

This commit is contained in:
MontyTRC89 2018-11-24 09:39:37 +01:00
parent 0199efb56c
commit 44d9fa6697
28 changed files with 1084 additions and 319 deletions

View file

@ -31,6 +31,16 @@ GameFlow::GameFlow(sol::state* lua)
"speed", &GameScriptSkyLayer::CloudSpeed
);
// Mirror type
m_lua->new_usertype<GameScriptMirror>("Mirror",
sol::constructors<GameScriptMirror(__int16, __int32, __int32, __int32, __int32)>(),
"room", &GameScriptMirror::Room,
"startX", &GameScriptMirror::StartX,
"endX", &GameScriptMirror::EndX,
"startZ", &GameScriptMirror::StartZ,
"endZ", &GameScriptMirror::EndZ
);
// Fog type
m_lua->new_usertype<GameScriptFog>("Fog",
sol::constructors<GameScriptFog(byte, byte, byte)>(),
@ -58,7 +68,8 @@ GameFlow::GameFlow(sol::state* lua)
"snow", &GameScriptLevel::Snow,
"laraType", &GameScriptLevel::LaraType,
"rumble", &GameScriptLevel::Rumble,
"resetHub", &GameScriptLevel::ResetHub
"resetHub", &GameScriptLevel::ResetHub,
"mirror", &GameScriptLevel::Mirror
);
// Item type