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:
parent
f4b7810b10
commit
02017ef88b
14
system.cpp
14
system.cpp
@ -399,7 +399,7 @@ bool havesave = true;
|
|||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
#define MAXBOX 500
|
#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 {
|
struct score {
|
||||||
string ver;
|
string ver;
|
||||||
int box[MAXBOX];
|
int box[MAXBOX];
|
||||||
@ -833,6 +833,18 @@ EX void applyBoxes() {
|
|||||||
applyBox(clearing::direct);
|
applyBox(clearing::direct);
|
||||||
applyBoxBignum(clearing::imputed);
|
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);
|
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user