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

dual:: start in CR4 by default, also store firstland

This commit is contained in:
Zeno Rogue
2019-05-29 15:58:49 +02:00
parent e8417e5c51
commit 7ec6571a10

View File

@@ -9,6 +9,7 @@ namespace hr {
void gamedata_all(gamedata& gd) { void gamedata_all(gamedata& gd) {
gd.index = 0; gd.index = 0;
gd.store(firstland);
gd.store(currentmap); gd.store(currentmap);
gd.store(cwt); gd.store(cwt);
gd.store(allmaps); gd.store(allmaps);
@@ -178,6 +179,7 @@ namespace dual {
// dynamicval<display_data*> pds(current_display, &subscreens::player_displays[s]); // dynamicval<display_data*> pds(current_display, &subscreens::player_displays[s]);
variation = eVariation::pure; variation = eVariation::pure;
geometry = s == 0 ? gEuclidSquare : gArchimedean; geometry = s == 0 ? gEuclidSquare : gArchimedean;
firstland = specialland = laCrossroads4;
arcm::current.parse("4,4,4,4,4"); arcm::current.parse("4,4,4,4,4");
scales[s] = vid.scale; scales[s] = vid.scale;
dgd[s].storegame(); dgd[s].storegame();