22 #ifndef MM1_GAME_ENCOUNTER_H 23 #define MM1_GAME_ENCOUNTER_H 25 #include "common/array.h" 26 #include "mm/mm1/data/character.h" 27 #include "mm/mm1/data/monsters.h" 28 #include "mm/mm1/game/game_logic.h" 34 #define MAX_COMBAT_MONSTERS 15 37 FORCE_SURPRISED = -1, NORMAL_SURPRISED = 0, NORMAL_ENCOUNTER = 1
43 int _maxLevelForImg = 0;
44 int _monsterLevel = 0;
47 struct MonsterSummary {
50 MonsterSummary() : _num(0), _level(0) {}
51 MonsterSummary(byte num, byte level) : _num(num), _level(level) {}
59 int _bribeAlignmentCtr = 0, _bribeFleeCtr = 0;
60 int _alignmentsChanged = 0;
61 int _monsterImgNum = 0;
62 int _highestLevel = 0;
63 EncounterType _encounterType = NORMAL_SURPRISED;
64 byte _fleeThreshold = 0;
79 void changeCharAlignment(Alignment align);
void addMonster(byte id, byte level)
bool checkSurroundParty() const
Definition: encounter.h:40
Definition: detection.h:27
Definition: game_logic.h:29
Definition: monsters.h:80