1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

more cleanup in parameters, restartGame cleanup

This commit is contained in:
Zeno Rogue
2018-06-11 00:58:38 +02:00
parent 90573cf456
commit 98246d3066
20 changed files with 344 additions and 307 deletions

View File

@@ -179,7 +179,7 @@ hint hints[] = {
},
[]() {
#if CAP_INV
restartGame(rg::inv);
restart_game(rg::inv);
#endif
}
},
@@ -273,7 +273,7 @@ hint hints[] = {
resetModes();
specialland = laHalloween;
targetgeometry = gSphere;
restartGame(rg::geometry);
restart_game(rg::geometry);
vid.alpha = 999;
vid.scale = 998;
}
@@ -476,7 +476,7 @@ void handleKeyQuit(int sym, int uni) {
if(sym == SDLK_RETURN || sym == SDLK_KP_ENTER || sym == SDLK_F10) quitmainloop = true;
else if(uni == 'r' || sym == SDLK_F5) {
restartGame();
restart_game(rg::nothing);
msgs.clear();
}
else if(uni == 'v') popScreenAll(), pushScreen(showMainMenu);