Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 3 additions & 19 deletions GeneralsMD/Code/GameEngine/Source/Common/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@ Int parseNoShaders(char *args[], int)
return 1;
}

#if defined(RTS_DEBUG)
Int parseNoLogo(char *args[], int)
{
TheWritableGlobalData->m_playIntro = FALSE;
Expand All @@ -789,14 +788,6 @@ Int parseNoLogo(char *args[], int)

return 1;
}
#endif

Int parseNoSizzle( char *args[], int )
{
TheWritableGlobalData->m_playSizzle = FALSE;

return 1;
}

Int parseShellMap(char *args[], int num)
{
Expand All @@ -823,13 +814,7 @@ Int parseWinCursors(char *args[], int num)

Int parseQuickStart( char *args[], int num )
{
#if defined(RTS_DEBUG)
parseNoLogo( args, num );
#else
//Kris: Patch 1.01 -- Allow release builds to skip the sizzle video, but still force the EA logo to show up.
//This is for legal reasons.
parseNoSizzle( args, num );
#endif
parseNoLogo( args, num );
parseNoShellMap( args, num );
parseNoWindowAnimation( args, num );
return 1;
Expand Down Expand Up @@ -1168,7 +1153,9 @@ static CommandLineParam paramsForStartup[] =
// These Params are parsed during Engine Init before INI data is loaded
static CommandLineParam paramsForEngineInit[] =
{
{ "-nologo", parseNoLogo }, // TheSuperHackers @tweak Is now available in Release builds.
{ "-noshellmap", parseNoShellMap },
{ "-noShellAnim", parseNoWindowAnimation }, // TheSuperHackers @tweak Is now available in Release builds.
{ "-xres", parseXRes },
{ "-yres", parseYRes },
{ "-fullVersion", parseFullVersion },
Expand Down Expand Up @@ -1294,9 +1281,7 @@ static CommandLineParam paramsForEngineInit[] =
{ "-noshadowvolumes", parseNoShadows },
{ "-nofx", parseNoFX },
{ "-ignoresync", parseSync },
{ "-nologo", parseNoLogo },
{ "-shellmap", parseShellMap },
{ "-noShellAnim", parseNoWindowAnimation },
{ "-winCursors", parseWinCursors },
{ "-constantDebug", parseConstantDebug },
{ "-seed", parseSeed },
Expand All @@ -1307,7 +1292,6 @@ static CommandLineParam paramsForEngineInit[] =
{ "-updateImages", parseUpdateImages },
{ "-showTeamDot", parseShowTeamDot },
{ "-extraLogging", parseExtraLogging },

#endif

#ifdef DEBUG_LOGGING
Expand Down
Loading