Cleanup
This commit is contained in:
parent
f056f0e131
commit
59639c60a3
|
@ -1444,13 +1444,11 @@ int GameMode::currentGameMode = 0;
|
||||||
void GameMode::enterGameMode(int gameMode)
|
void GameMode::enterGameMode(int gameMode)
|
||||||
{
|
{
|
||||||
currentGameMode |= gameMode;
|
currentGameMode |= gameMode;
|
||||||
debugPrint("Entering game mode: %d", gameMode);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameMode::exitGameMode(int gameMode)
|
void GameMode::exitGameMode(int gameMode)
|
||||||
{
|
{
|
||||||
currentGameMode &= ~gameMode;
|
currentGameMode &= ~gameMode;
|
||||||
debugPrint("Exiting game mode: %d", gameMode);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GameMode::isInGameMode(int gameMode)
|
bool GameMode::isInGameMode(int gameMode)
|
||||||
|
|
|
@ -41,11 +41,9 @@ int showQuitConfirmationDialog();
|
||||||
|
|
||||||
int gameShowDeathDialog(const char* message);
|
int gameShowDeathDialog(const char* message);
|
||||||
|
|
||||||
class GameMode
|
class GameMode {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
enum Flags
|
enum Flags {
|
||||||
{
|
|
||||||
kWorldmap = 0x1,
|
kWorldmap = 0x1,
|
||||||
kDialog = 0x4,
|
kDialog = 0x4,
|
||||||
kOptions = 0x8,
|
kOptions = 0x8,
|
||||||
|
|
Loading…
Reference in New Issue