mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- removed unused code.
This commit is contained in:
parent
dfaa162bb2
commit
16dbb3526a
1 changed files with 1 additions and 32 deletions
|
@ -115,11 +115,6 @@ void G_ShowDebugHelp(void)
|
|||
"-z#/-condebug\tEnable line-by-line CON compile debugging at level #\n"
|
||||
"-conversion YYYYMMDD\tSelects CON script version for compatibility with older mods\n"
|
||||
"-rotatesprite-no-widescreen\tStretch screen drawing from scripts to fullscreen\n"
|
||||
#ifdef LUNATIC
|
||||
"-Lopts=<opt1>,<opt2>,...\n"
|
||||
" Pass options to Lunatic, valid ones are:\n"
|
||||
" diag, nojit, traces, dump, strict\n"
|
||||
#endif
|
||||
;
|
||||
#ifdef WM_MSGBOX_WINDOW
|
||||
Bsnprintf(tempbuf, sizeof(tempbuf), HEAD2 " %s", s_buildRev);
|
||||
|
@ -165,10 +160,6 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
int16_t i = 1, j;
|
||||
const char *c, *k;
|
||||
|
||||
#ifdef LUNATIC
|
||||
g_argv = argv;
|
||||
g_elModules = (const char **) Xcalloc(argc+1, sizeof(char *));
|
||||
#endif
|
||||
ud.fta_on = 1;
|
||||
ud.god = 0;
|
||||
ud.m_respawn_items = 0;
|
||||
|
@ -203,9 +194,6 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
|
||||
if (argc > 1)
|
||||
{
|
||||
#ifdef LUNATIC
|
||||
int32_t numlmods = 0;
|
||||
#endif
|
||||
initprintf("Application parameters: ");
|
||||
while (i < argc)
|
||||
initprintf("%s ", argv[i++]);
|
||||
|
@ -219,11 +207,7 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
|
||||
c = oc;
|
||||
|
||||
if ((*c == '-')
|
||||
#ifdef _WIN32
|
||||
|| (*c == '/')
|
||||
#endif
|
||||
)
|
||||
if (*c == '-')
|
||||
{
|
||||
shortopt = 0;
|
||||
|
||||
|
@ -608,10 +592,6 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
G_AddDemo(c);
|
||||
break;
|
||||
}
|
||||
#ifdef LUNATIC
|
||||
case 'f':
|
||||
break;
|
||||
#endif
|
||||
case 'g':
|
||||
c++;
|
||||
if (*c)
|
||||
|
@ -771,10 +751,6 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
case 'w':
|
||||
ud.coords = 1;
|
||||
break;
|
||||
#ifdef LUNATIC
|
||||
case 'W':
|
||||
break;
|
||||
#endif
|
||||
case 'x':
|
||||
c++;
|
||||
if (*c)
|
||||
|
@ -829,13 +805,6 @@ void G_CheckCommandLine(int32_t argc, char const * const * argv)
|
|||
initprintf("Using RTS file \"%s\".\n", g_rtsNamePtr);
|
||||
continue;
|
||||
}
|
||||
#ifdef LUNATIC
|
||||
if (!Bstrcmp(k, ".lua")) // NOTE: case sensitive!
|
||||
{
|
||||
g_elModules[numlmods++] = argv[i++];
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue