From 80acefbdbe78d2b342b1176f4a4f1116605ea149 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 30 May 2021 13:38:32 +0200 Subject: [PATCH] added new stuff to savegames --- system.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/system.cpp b/system.cpp index dff1909f..a62632ca 100644 --- a/system.cpp +++ b/system.cpp @@ -421,7 +421,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 391 +#define POSSCORE 406 /** \brief a struct to keep local score from an earlier game */ struct score { /** \brief version used */ @@ -898,6 +898,21 @@ EX void applyBoxes() { applyBoxNum(yasc_code, "YASC code"); applyBoxBool(casual, "casual mode"); + + applyBoxI(itCursed); + applyBoxI(itDice); + applyBoxOrb(itOrbPurity); + applyBoxOrb(itOrbWoods); + applyBoxM(moHexer); + applyBoxM(moAngryDie); + applyBoxM(moAnimatedDie); + applyBoxI(itCurseWeakness, true); + applyBoxI(itCurseFatigue, true); + applyBoxI(itCurseDraining, true); + applyBoxI(itCurseRepulsion, true); + applyBoxI(itCurseGluttony, true); + applyBoxI(itCurseWater, true); + list_invorb(); if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid); if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); }