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
1 changed files with 13 additions and 1 deletions

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];
@ -832,6 +832,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);
}