1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

saving the new stuff

This commit is contained in:
Zeno Rogue 2018-01-04 13:32:11 +01:00
parent 3412a50b3d
commit 075c8da3d3

View File

@ -278,7 +278,7 @@ bool havesave = true;
#if CAP_SAVE #if CAP_SAVE
#define MAXBOX 500 #define MAXBOX 500
#define POSSCORE 324 // update this when new boxes are added! #define POSSCORE 341 // update this when new boxes are added!
struct score { struct score {
string ver; string ver;
@ -649,6 +649,24 @@ void applyBoxes() {
applyBoxM(moTerraWarrior); applyBoxM(moTerraWarrior);
applyBoxM(moSalamander); applyBoxM(moSalamander);
applyBoxM(moLavaWolf); applyBoxM(moLavaWolf);
applyBoxOrb(itOrbSlaying);
applyBoxOrb(itOrbMagnetism);
applyBoxOrb(itOrbPhasing);
applyBoxI(itDock);
applyBoxI(itGlowCrystal);
applyBoxI(itMagnet);
applyBoxI(itRuins);
applyBoxI(itSwitch);
applyBoxM(moNorthPole);
applyBoxM(moSouthPole);
applyBoxM(moSwitch1);
applyBoxM(moSwitch2);
applyBoxM(moAltDemon);
applyBoxM(moHexDemon);
applyBoxM(moPair);
applyBoxM(moCrusher);
applyBoxM(moMonk);
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid); if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
} }