mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 16:41:13 +00:00
Removed DYNLIGHT preprocessor definition
https://mantis.zdoom.org/view.php?id=318
This commit is contained in:
parent
322aee97d6
commit
eb40e8bcf0
3 changed files with 2 additions and 7 deletions
|
@ -315,9 +315,7 @@ do_stop:
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
sc.MustGetString();
|
sc.MustGetString();
|
||||||
#ifdef DYNLIGHT
|
|
||||||
AddStateLight(&state, sc.String);
|
AddStateLight(&state, sc.String);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
while (sc.CheckString(","));
|
while (sc.CheckString(","));
|
||||||
sc.MustGetStringName(")");
|
sc.MustGetStringName(")");
|
||||||
|
|
|
@ -2562,7 +2562,7 @@ void ZCCCompiler::CompileStates()
|
||||||
state.Misc1 = IntConstFromNode(sl->Offset, c->Type());
|
state.Misc1 = IntConstFromNode(sl->Offset, c->Type());
|
||||||
state.Misc2 = IntConstFromNode(static_cast<ZCC_Expression *>(sl->Offset->SiblingNext), c->Type());
|
state.Misc2 = IntConstFromNode(static_cast<ZCC_Expression *>(sl->Offset->SiblingNext), c->Type());
|
||||||
}
|
}
|
||||||
#ifdef DYNLIGHT
|
|
||||||
if (sl->Lights != nullptr)
|
if (sl->Lights != nullptr)
|
||||||
{
|
{
|
||||||
auto l = sl->Lights;
|
auto l = sl->Lights;
|
||||||
|
@ -2572,7 +2572,6 @@ void ZCCCompiler::CompileStates()
|
||||||
l = static_cast<decltype(l)>(l->SiblingNext);
|
l = static_cast<decltype(l)>(l->SiblingNext);
|
||||||
} while (l != sl->Lights);
|
} while (l != sl->Lights);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (sl->Action != nullptr)
|
if (sl->Action != nullptr)
|
||||||
{
|
{
|
||||||
|
|
|
@ -87,8 +87,6 @@ const char *GetVersionString();
|
||||||
// SVN revision ever got.
|
// SVN revision ever got.
|
||||||
#define SAVEVER 4550
|
#define SAVEVER 4550
|
||||||
|
|
||||||
#define DYNLIGHT
|
|
||||||
|
|
||||||
// This is so that derivates can use the same savegame versions without worrying about engine compatibility
|
// This is so that derivates can use the same savegame versions without worrying about engine compatibility
|
||||||
#define GAMESIG "GZDOOM"
|
#define GAMESIG "GZDOOM"
|
||||||
#define BASEWAD "gzdoom.pk3"
|
#define BASEWAD "gzdoom.pk3"
|
||||||
|
|
Loading…
Reference in a new issue