22 #ifndef ULTIMA4_FILESYS_SAVEGAME_H 23 #define ULTIMA4_FILESYS_SAVEGAME_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "common/stream.h" 28 #include "common/serializer.h" 29 #include "ultima/ultima4/core/coords.h" 30 #include "ultima/ultima4/core/types.h" 35 #define PARTY_SAV_BASE_FILENAME "party.sav" 36 #define MONSTERS_SAV_BASE_FILENAME "monsters.sav" 37 #define OUTMONST_SAV_BASE_FILENAME "outmonst.sav" 39 #define MONSTERTABLE_SIZE 32 40 #define MONSTERTABLE_CREATURES_SIZE 8 41 #define MONSTERTABLE_OBJECTS_SIZE (MONSTERTABLE_SIZE - MONSTERTABLE_CREATURES_SIZE) 154 ITEM_SKULL_DESTROYED = 0x02,
163 ITEM_CANDLE_USED = 0x400,
164 ITEM_BOOK_USED = 0x800,
165 ITEM_BELL_USED = 0x1000
181 RUNE_COMPASSION = 0x02,
184 RUNE_SACRIFICE = 0x10,
186 RUNE_SPIRITUALITY = 0x40,
198 unsigned short _hpMax;
200 unsigned short _str, _dex, _intel;
202 unsigned short _unknown;
230 _prevTile = _prevX = _prevY = 0;
231 _unused1 = _unused2 = 0;
243 Coords(x_, y_, z_), _map(map) {}
302 short _karma[VIRT_MAX];
307 short _armor[ARMR_MAX];
308 short _weapons[WEAP_MAX];
309 short _reagents[REAG_MAX];
310 short _mixtures[SPELL_MAX];
311 unsigned short _items;
313 unsigned short _orientation;
317 unsigned short _members;
318 unsigned short _transport;
320 unsigned short _balloonState;
321 unsigned short _torchDuration;
323 unsigned short _trammelPhase;
324 unsigned short _feluccaPhase;
325 unsigned short _shipHull;
326 unsigned short _lbIntro;
327 unsigned short _lastCamp;
328 unsigned short _lastReagent;
329 unsigned short _lastMeditation;
330 unsigned short _lastVirtue;
Definition: savegame.h:270
Definition: savegame.h:193
Definition: savegame.h:253
Definition: serializer.h:79
Definition: detection.h:27
Definition: savegame.h:237
Definition: savegame.h:214