1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

load/save boxes for the new features

This commit is contained in:
Zeno Rogue 2020-02-26 01:43:12 +01:00
parent f4b7810b10
commit 02017ef88b

View File

@ -399,7 +399,7 @@ bool havesave = true;
#if HDR
#define MAXBOX 500
#define POSSCORE 373 // update this when new boxes are added!
#define POSSCORE 384 // update this when new boxes are added!
struct score {
string ver;
int box[MAXBOX];
@ -833,6 +833,18 @@ EX void applyBoxes() {
applyBox(clearing::direct);
applyBoxBignum(clearing::imputed);
applyBoxOrb(itOrbImpact);
applyBoxOrb(itOrbChaos);
applyBoxOrb(itOrbSwamp);
applyBoxI(itEclectic);
applyBoxI(itFrog);
applyBoxI(itWet);
applyBoxM(moFrog);
applyBoxM(moPhaser);
applyBoxM(moVaulter);
applyBoxM(moPike);
applyBoxM(moRusalka);
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
}