Move scripting source files into new filder. Obviously, these won't work yet or even compile.

This commit is contained in:
hispidence 2021-12-14 21:10:21 +00:00
parent 8c82eed3d2
commit 8a31dbf644
20 changed files with 0 additions and 0 deletions

View file

@ -1,33 +0,0 @@
#include "frameworkandsol.h"
#include "GameScriptMirror.h"
/***
A mirror effect.
As seen in TR4's Coastal Ruins and Sacred Lake levels.
__Not currently implemented.__
@pregameclass Mirror
@pragma nostrip
*/
void GameScriptMirror::Register(sol::state* lua)
{
lua->new_usertype<GameScriptMirror>("Mirror",
sol::constructors<GameScriptMirror(short, int, int, int, int)>(),
"room", &GameScriptMirror::Room,
"startX", &GameScriptMirror::StartX,
"endX", &GameScriptMirror::EndX,
"startZ", &GameScriptMirror::StartZ,
"endZ", &GameScriptMirror::EndZ
);
}
GameScriptMirror::GameScriptMirror(short room, int startX, int endX, int startZ, int endZ)
{
Room = room;
StartX = startX;
EndX = endX;
StartZ = startZ;
EndZ = endZ;
}