1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

save the Halloween stuff

This commit is contained in:
Zeno Rogue 2024-04-06 18:36:14 +02:00
parent 977bd8ca9d
commit b9608dcd4c

View File

@ -447,7 +447,7 @@ EX namespace scores {
/** \brief the amount of boxes reserved for each hr::score item */ /** \brief the amount of boxes reserved for each hr::score item */
#define MAXBOX 500 #define MAXBOX 500
/** \brief currently used boxes in hr::score */ /** \brief currently used boxes in hr::score */
#define POSSCORE 414 #define POSSCORE 416
/** \brief a struct to keep local score from an earlier game */ /** \brief a struct to keep local score from an earlier game */
struct score { struct score {
/** \brief version used */ /** \brief version used */
@ -956,6 +956,8 @@ EX void applyBoxes() {
applyBoxNum(items[itRevolver]); applyBoxNum(items[itRevolver]);
applyBoxNum(items[itAsteroid]); applyBoxNum(items[itAsteroid]);
applyBoxM(moAsteroid); applyBoxM(moAsteroid);
applyBoxNum(items[itTreat]);
applyBoxM(moVampire);
if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid); if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid);
if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); } if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }