mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Include and register GameScriptItemInfo.
This commit is contained in:
parent
a9583065f6
commit
b2ace2c1bf
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
#include "sound.h"
|
||||
#include "setup.h"
|
||||
#include "level.h"
|
||||
#include "GameScriptItemInfo.h"
|
||||
|
||||
using namespace std;
|
||||
extern GameFlow* g_GameFlow;
|
||||
GameScript* g_GameScript;
|
||||
|
@ -15,6 +17,7 @@ bool WarningsAsErrors = false;
|
|||
|
||||
GameScript::GameScript(sol::state* lua) : LuaHandler{ lua }
|
||||
{
|
||||
GameScriptItemInfo::Register(m_lua);
|
||||
m_lua->new_enum<GAME_OBJECT_ID>("Object", {
|
||||
{"LARA", ID_LARA}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue