1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

Record fuel collected and space rocks killed.

This commit is contained in:
Jacob Mandelson 2024-03-27 21:06:28 -07:00
parent 9bc4e21f10
commit b8de8155da

View File

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