Include and register GameScriptItemInfo.

This commit is contained in:
hispidence 2021-06-28 18:35:16 +01:00
parent a9583065f6
commit b2ace2c1bf

View file

@ -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}
});