Navigation Menu

Skip to content

Commit

Permalink
- Rename DeferedStartGame() to DeferredStartGame().
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed Jul 20, 2021
1 parent 4ac1376 commit 77630dc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions source/core/cheats.cpp
Expand Up @@ -264,7 +264,7 @@ void ChangeLevel(MapRecord* map, int skill)
//
//---------------------------------------------------------------------------

void DeferedStartGame(MapRecord* map, int skill, bool nostopsound)
void DeferredStartGame(MapRecord* map, int skill, bool nostopsound)
{
g_nextmap = map;
g_nextskill = skill;
Expand Down Expand Up @@ -355,7 +355,7 @@ CCMD(levelstart)
auto map = levelwarp_common(argv, "start game", "start new game at");
if (map)
{
DeferedStartGame(map, -1);
DeferredStartGame(map, -1);
}
}

Expand Down Expand Up @@ -445,7 +445,7 @@ CCMD(map)
Printf(PRINT_BOLD, "%s: map file not found\n", map->fileName.GetChars());
}

DeferedStartGame(map, -1);
DeferredStartGame(map, -1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion source/core/gamecontrol.h
Expand Up @@ -43,7 +43,7 @@ int GetAutomapZoom(int gZoom);

void DrawCrosshair(int deftile, int health, double xdelta, double ydelta, double scale, PalEntry color = 0xffffffff);
void updatePauseStatus();
void DeferedStartGame(MapRecord* map, int skill, bool nostopsound = false);
void DeferredStartGame(MapRecord* map, int skill, bool nostopsound = false);
void ChangeLevel(MapRecord* map, int skill);
void CompleteLevel(MapRecord* map);

Expand Down
2 changes: 1 addition & 1 deletion source/core/mainloop.cpp
Expand Up @@ -688,7 +688,7 @@ void MainLoop ()
userConfig.CommandMap = "";
if (maprecord)
{
DeferedStartGame(maprecord, -1);
DeferredStartGame(maprecord, -1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion source/core/menu/razemenu.cpp
Expand Up @@ -105,7 +105,7 @@ static bool DoStartGame(FNewGameStartup& gs)

gi->StartGame(gs); // play game specific effects (like Duke/RR/SW's voice lines when starting a game.)

DeferedStartGame(map, gs.Skill);
DeferredStartGame(map, gs.Skill);
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion source/games/blood/src/messages.cpp
Expand Up @@ -421,7 +421,7 @@ static bool cheatMario(cheatseq_t* c)
if (parseArgs((char*)c->Args, &nEpisode, &nLevel) == 2)
{
auto map = FindMapByIndex(nEpisode, nLevel);
if (map) DeferedStartGame(map, -1);
if (map) DeferredStartGame(map, -1);
}
return true;
}
Expand Down
8 changes: 4 additions & 4 deletions source/games/sw/src/cheats.cpp
Expand Up @@ -102,7 +102,7 @@ const char *GameInterface::GenericCheat(int player, int cheat)
bool RestartCheat(cheatseq_t* c)
{
if (!checkCheat(c)) return false;
DeferedStartGame(currentLevel, -1);
DeferredStartGame(currentLevel, -1);
return true;
}

Expand All @@ -117,7 +117,7 @@ bool NextCheat(cheatseq_t* c)
if (!checkCheat(c)) return false;
if (!currentLevel) return true;
auto map = FindNextMap(currentLevel);
if (map) DeferedStartGame(map, -1);
if (map) DeferredStartGame(map, -1);
return true;
}

Expand All @@ -126,7 +126,7 @@ bool PrevCheat(cheatseq_t* c)
if (!checkCheat(c)) return false;
if (!currentLevel) return true;
auto map = FindMapByLevelNum(currentLevel->levelNumber - 1);
if (map) DeferedStartGame(map, -1);
if (map) DeferredStartGame(map, -1);
return true;
}

Expand Down Expand Up @@ -160,7 +160,7 @@ bool WarpCheat(cheatseq_t* c)
if (TEST(pp->Flags, PF_DEAD))
return true;

DeferedStartGame(maprec, -1);
DeferredStartGame(maprec, -1);
return true;
}

Expand Down

0 comments on commit 77630dc

Please sign in to comment.