Commit 47f07f5e authored by NY00123's avatar NY00123 Committed by Richard Gobeille

Engine: Remove a few more LUNATIC-specific definitions

parent 17f13934
...@@ -165,9 +165,6 @@ typedef struct mapundo_ ...@@ -165,9 +165,6 @@ typedef struct mapundo_
extern mapundo_t *mapstate; extern mapundo_t *mapstate;
extern void FuncMenu(void); extern void FuncMenu(void);
#ifdef LUNATIC
extern void LuaFuncMenu(void);
#endif
// editor side view // editor side view
extern int32_t m32_sideview; extern int32_t m32_sideview;
......
...@@ -35,11 +35,6 @@ ...@@ -35,11 +35,6 @@
# include "polymost.h" # include "polymost.h"
#endif #endif
#ifdef LUNATIC
# include "lunatic.h"
L_State g_engState;
#endif
#include "vfs.h" #include "vfs.h"
#include "communityapi.h" #include "communityapi.h"
...@@ -8608,18 +8603,6 @@ int32_t engineInit(void) ...@@ -8608,18 +8603,6 @@ int32_t engineInit(void)
if (!mdinited) mdinit(); if (!mdinited) mdinit();
#endif #endif
#ifdef LUNATIC
if (L_CreateState(&g_engState, "eng", NULL))
return engineFatalError("Failed creating engine Lua state!");
{
static char const * const luastr = "_LUNATIC_AUX=true; decl=require('ffi').cdef; require'defs_common'";
if (L_RunString(&g_engState, luastr, -1, "eng"))
return engineFatalError("Failed setting up engine Lua state");
}
#endif
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment