saveboxes added

This commit is contained in:
Zeno Rogue 2019-01-03 02:14:49 +01:00
parent 6e549ebc54
commit e36246e392
1 changed files with 15 additions and 1 deletions

View File

@ -326,7 +326,7 @@ bool havesave = true;
#if CAP_SAVE
#define MAXBOX 500
#define POSSCORE 355 // update this when new boxes are added!
#define POSSCORE 369 // update this when new boxes are added!
struct score {
string ver;
@ -730,6 +730,20 @@ void applyBoxes() {
list_invorb();
applyBox(irr::bitruncations_performed);
applyBoxI(itVarTreasure);
applyBoxI(itBrownian);
applyBoxI(itWest);
applyBoxM(moAcidBird);
applyBoxM(moBrownBug);
applyBoxM(moVariantWarrior);
applyBoxM(moWestHawk);
applyBoxM(moFallingDog);
applyBoxOrb(itOrbIntensity);
applyBoxOrb(itOrbChoice);
applyBoxOrb(itOrbGravity);
list_invorb();
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
}