mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
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:
parent
0199efb56c
commit
44d9fa6697
28 changed files with 1084 additions and 319 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue