Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
EDuke32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Richard Gobeille
EDuke32
Commits
47f07f5e
Commit
47f07f5e
authored
May 17, 2020
by
NY00123
Committed by
Richard Gobeille
Jun 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Engine: Remove a few more LUNATIC-specific definitions
parent
17f13934
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
source/build/include/editor.h
source/build/include/editor.h
+0
-3
source/build/src/engine.cpp
source/build/src/engine.cpp
+0
-17
No files found.
source/build/include/editor.h
View file @
47f07f5e
...
...
@@ -165,9 +165,6 @@ typedef struct mapundo_
extern
mapundo_t
*
mapstate
;
extern
void
FuncMenu
(
void
);
#ifdef LUNATIC
extern
void
LuaFuncMenu
(
void
);
#endif
// editor side view
extern
int32_t
m32_sideview
;
...
...
source/build/src/engine.cpp
View file @
47f07f5e
...
...
@@ -35,11 +35,6 @@
# include "polymost.h"
#endif
#ifdef LUNATIC
# include "lunatic.h"
L_State
g_engState
;
#endif
#include "vfs.h"
#include "communityapi.h"
...
...
@@ -8608,18 +8603,6 @@ int32_t engineInit(void)
if
(
!
mdinited
)
mdinit
();
#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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment