[loading window]It's now a global, and it wasn't even used.
This commit is contained in:
@@ -108,7 +108,7 @@ static void Version()
|
|||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
}
|
}
|
||||||
|
|
||||||
void CommandLineActions::Handle(LoadingWindow* pLW)
|
void CommandLineActions::Handle()
|
||||||
{
|
{
|
||||||
CommandLineArgs args;
|
CommandLineArgs args;
|
||||||
for(int i=0; i<g_argc; ++i)
|
for(int i=0; i<g_argc; ++i)
|
||||||
|
|||||||
@@ -7,9 +7,8 @@ class LoadingWindow;
|
|||||||
namespace CommandLineActions
|
namespace CommandLineActions
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @brief Perform a utility function, then exit.
|
* @brief Perform a utility function, then exit. */
|
||||||
* @param pLW the LoadingWindow that is presently not used? */
|
void Handle();
|
||||||
void Handle(LoadingWindow* pLW);
|
|
||||||
|
|
||||||
/** @brief The housing for the command line arguments. */
|
/** @brief The housing for the command line arguments. */
|
||||||
class CommandLineArgs
|
class CommandLineArgs
|
||||||
|
|||||||
+1
-1
@@ -1037,7 +1037,7 @@ int main(int argc, char* argv[])
|
|||||||
// Switch to the last used game type, and set up the theme and announcer.
|
// Switch to the last used game type, and set up the theme and announcer.
|
||||||
SwitchToLastPlayedGame();
|
SwitchToLastPlayedGame();
|
||||||
|
|
||||||
CommandLineActions::Handle(pLoadingWindow);
|
CommandLineActions::Handle();
|
||||||
|
|
||||||
if( GetCommandlineArgument("dopefish") )
|
if( GetCommandlineArgument("dopefish") )
|
||||||
GAMESTATE->m_bDopefish = true;
|
GAMESTATE->m_bDopefish = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user