Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static GameWindow *comboBoxColor = NULL;

static Bool isShuttingDown = false;
static Bool buttonPushed = false;
static const char *nextScreen = NULL;
static AsciiString nextScreen;
static Bool raiseMessageBoxes = false;
static Bool isInInit = FALSE;
static const Image *selectedImage = NULL;
Expand Down Expand Up @@ -736,7 +736,7 @@ void WOLQuickMatchMenuInit( WindowLayout *layout, void *userData )
}
}

nextScreen = NULL;
nextScreen.clear();
buttonPushed = false;
isShuttingDown = false;
raiseMessageBoxes = true;
Expand Down Expand Up @@ -928,14 +928,14 @@ static void shutdownComplete( WindowLayout *layout )
layout->hide( TRUE );

// our shutdown is complete
TheShell->shutdownComplete( layout, (nextScreen != NULL) );
TheShell->shutdownComplete( layout, nextScreen.isNotEmpty() );

if (nextScreen != NULL)
if (nextScreen.isNotEmpty())
{
TheShell->push(nextScreen);
}

nextScreen = NULL;
nextScreen.clear();

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
// PRIVATE DATA ///////////////////////////////////////////////////////////////////////////////////
static Bool isShuttingDown = FALSE;
static Bool buttonPushed = FALSE;
static const char *nextScreen = NULL;
static AsciiString nextScreen;

// window ids ------------------------------------------------------------------------------
static NameKeyType parentWOLWelcomeID = NAMEKEY_INVALID;
Expand Down Expand Up @@ -192,14 +192,14 @@ static void shutdownComplete( WindowLayout *layout )
layout->hide( TRUE );

// our shutdown is complete
TheShell->shutdownComplete( layout, (nextScreen != NULL) );
TheShell->shutdownComplete( layout, nextScreen.isNotEmpty() );

if (nextScreen != NULL)
if (nextScreen.isNotEmpty())
{
TheShell->push(nextScreen);
}

nextScreen = NULL;
nextScreen.clear();

}

Expand Down Expand Up @@ -401,7 +401,7 @@ static Bool raiseMessageBoxes = FALSE;
//-------------------------------------------------------------------------------------------------
void WOLWelcomeMenuInit( WindowLayout *layout, void *userData )
{
nextScreen = NULL;
nextScreen.clear();
buttonPushed = FALSE;
isShuttingDown = FALSE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static GameWindow *comboBoxColor = NULL;

static Bool isShuttingDown = false;
static Bool buttonPushed = false;
static const char *nextScreen = NULL;
static AsciiString nextScreen;
static Bool raiseMessageBoxes = false;
static Bool isInInit = FALSE;
static const Image *selectedImage = NULL;
Expand Down Expand Up @@ -860,7 +860,7 @@ void WOLQuickMatchMenuInit( WindowLayout *layout, void *userData )
}
}

nextScreen = NULL;
nextScreen.clear();
buttonPushed = false;
isShuttingDown = false;
raiseMessageBoxes = true;
Expand Down Expand Up @@ -1291,14 +1291,14 @@ static void shutdownComplete( WindowLayout *layout )
layout->hide( TRUE );

// our shutdown is complete
TheShell->shutdownComplete( layout, (nextScreen != NULL) );
TheShell->shutdownComplete( layout, nextScreen.isNotEmpty() );

if (nextScreen != NULL)
if (nextScreen.isNotEmpty())
{
TheShell->push(nextScreen);
}

nextScreen = NULL;
nextScreen.clear();

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
// PRIVATE DATA ///////////////////////////////////////////////////////////////////////////////////
static Bool isShuttingDown = FALSE;
static Bool buttonPushed = FALSE;
static const char *nextScreen = NULL;
static AsciiString nextScreen;

// window ids ------------------------------------------------------------------------------
static NameKeyType parentWOLWelcomeID = NAMEKEY_INVALID;
Expand Down Expand Up @@ -195,14 +195,14 @@ static void shutdownComplete( WindowLayout *layout )
layout->hide( TRUE );

// our shutdown is complete
TheShell->shutdownComplete( layout, (nextScreen != NULL) );
TheShell->shutdownComplete( layout, nextScreen.isNotEmpty() );

if (nextScreen != NULL)
if (nextScreen.isNotEmpty())
{
TheShell->push(nextScreen);
}

nextScreen = NULL;
nextScreen.clear();

}

Expand Down Expand Up @@ -492,7 +492,7 @@ void WOLWelcomeMenuInit( WindowLayout *layout, void *userData )
{
updateNumPlayersOnline();

nextScreen = NULL;
nextScreen.clear();
buttonPushed = FALSE;
isShuttingDown = FALSE;

Expand Down
Loading