1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-21 10:29:44 +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

@@ -875,14 +875,16 @@ bool texture_config::load() {
dynamicval<int> d2(patterns::subpattern_flags, patterns::subpattern_flags);
if(targetgeometry != geometry) {
restartGame(rg::geometry);
stop_game_and_switch_mode(rg::geometry);
return config.load();
}
if(nonbitrunc != target_nonbitru) {
restartGame(rg::bitrunc);
stop_game_and_switch_mode(rg::bitrunc);
}
}
start_game();
if(true) {
celllister cl(currentmap->gamestart(), 20, 10000, NULL);