World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл Monsters.h

См. исходные тексты.

Классы

struct  MonsterInfo
 
struct  MonsterStats
 
struct  MonsterDesc_mm6
 
struct  MonsterDesc
 
struct  MonsterList
 

Перечисления

enum  MONSTER_TYPE {
  MONSTER_DEVIL_1 = 0x16, MONSTER_DEVIL_2 = 0x17, MONSTER_DEVIL_3 = 0x18, MONSTER_DRAGON_1 = 0x19,
  MONSTER_DRAGON_2 = 0x1A, MONSTER_DRAGON_3 = 0x1B, MONSTER_ELEMENTAL_WATER_1 = 0x2E, MONSTER_ELEMENTAL_WATER_3 = 0x30,
  MONSTER_ELF_ARCHER_1 = 0x31, MONSTER_ELF_ARCHER_3 = 0x33, MONSTER_ELF_SPEARMAN_1 = 0x34, MONSTER_ELF_SPEARMAN_3 = 0x36,
  MONSTER_GHOST_1 = 0x46, MONSTER_GHOST_3 = 0x48, MONSTER_HARPY_1 = 0x55, MONSTER_HARPY_2 = 0x56,
  MONSTER_HARPY_3 = 0x57, MONSTER_LICH_1 = 0x5B, MONSTER_LICH_3 = 0x5D, MONSTER_OOZE_1 = 0x70,
  MONSTER_OOZE_2 = 0x71, MONSTER_OOZE_3 = 0x72, MONSTER_PEASANT_ELF_FEMALE_1_1 = 0x85, MONSTER_PEASANT_ELF_MALE_3_3 = 0x96,
  MONSTER_SKELETON_1 = 0xC7, MONSTER_SKELETON_3 = 0xC9, MONSTER_TITAN_1 = 0xD3, MONSTER_TITAN_3 = 0xD5,
  MONSTER_VAMPIRE_1 = 0xD9, MONSTER_VAMPIRE_3 = 0xDB, MONSTER_WIGHT_1 = 0xDF, MONSTER_WIGHT_3 = 0xE1,
  MONSTER_ZOMBIE_1 = 0xE5, MONSTER_ZOMBIE_3 = 0xE7, MONSTER_PEASANT_GOBLIN_MALE_3_3 = 0xF9, MONSTER_TROLL_1 = 0xFA,
  MONSTER_TROLL_2 = 0xFB, MONSTER_TROLL_3 = 0xFC, MONSTER_TREANT_1 = 0xFD, MONSTER_TREANT_3 = 0xFF,
  MONSTER_GHOUL_1 = 0x100, MONSTER_GHOUL_3 = 0x102
}
 
enum  MONSTER_SPECIAL_ABILITY_TYPE { MONSTER_SPECIAL_ABILITY_NONE = 0x0, MONSTER_SPECIAL_ABILITY_SHOT = 0x1, MONSTER_SPECIAL_ABILITY_SUMMON = 0x2, MONSTER_SPECIAL_ABILITY_EXPLODE = 0x3 }
 
enum  MONSTER_MOVEMENT_TYPE {
  MONSTER_MOVEMENT_TYPE_SHORT = 0x0, MONSTER_MOVEMENT_TYPE_MEDIUM = 0x1, MONSTER_MOVEMENT_TYPE_LONG = 0x2, MONSTER_MOVEMENT_TYPE_GLOBAL = 0x3,
  MONSTER_MOVEMENT_TYPE_FREE = 0x4, MONSTER_MOVEMENT_TYPE_STAIONARY = 0x5
}
 
enum  MONSTER_SUPERTYPE {
  MONSTER_SUPERTYPE_UNDEAD = 0x1, MONSTER_SUPERTYPE_KREEGAN = 0x2, MONSTER_SUPERTYPE_DRAGON = 0x3, MONSTER_SUPERTYPE_ELF = 0x4,
  MONSTER_SUPERTYPE_WATER_ELEMENTAL = 0x5, MONSTER_SUPERTYPE_TREANT = 0x6, MONSTER_SUPERTYPE_TITAN = 0x7, MONSTER_SUPERTYPE_8 = 0x8
}
 
enum  SPECIAL_ATTACK_TYPE : uint8_t {
  SPECIAL_ATTACK_NONE = 0, SPECIAL_ATTACK_CURSE = 1, SPECIAL_ATTACK_WEAK = 2, SPECIAL_ATTACK_SLEEP = 3,
  SPECIAL_ATTACK_DRUNK = 4, SPECIAL_ATTACK_INSANE = 5, SPECIAL_ATTACK_POISON_WEAK = 6, SPECIAL_ATTACK_POISON_MEDIUM = 7,
  SPECIAL_ATTACK_POISON_SEVERE = 8, SPECIAL_ATTACK_DISEASE_WEAK = 9, SPECIAL_ATTACK_DISEASE_MEDIUM = 10, SPECIAL_ATTACK_DISEASE_SEVERE = 11,
  SPECIAL_ATTACK_PARALYZED = 12, SPECIAL_ATTACK_UNCONSCIOUS = 13, SPECIAL_ATTACK_DEAD = 14, SPECIAL_ATTACK_PETRIFIED = 15,
  SPECIAL_ATTACK_ERADICATED = 16, SPECIAL_ATTACK_BREAK_ANY = 17, SPECIAL_ATTACK_BREAK_ARMOR = 18, SPECIAL_ATTACK_BREAK_WEAPON = 19,
  SPECIAL_ATTACK_STEAL = 20, SPECIAL_ATTACK_AGING = 21, SPECIAL_ATTACK_MANA_DRAIN = 22, SPECIAL_ATTACK_FEAR = 23
}
 

Переменные

struct MonsterStatspMonsterStats
 
struct MonsterListpMonsterList
 

Перечисления

◆ MONSTER_TYPE

Элементы перечислений
MONSTER_DEVIL_1 
MONSTER_DEVIL_2 
MONSTER_DEVIL_3 
MONSTER_DRAGON_1 
MONSTER_DRAGON_2 
MONSTER_DRAGON_3 
MONSTER_ELEMENTAL_WATER_1 
MONSTER_ELEMENTAL_WATER_3 
MONSTER_ELF_ARCHER_1 
MONSTER_ELF_ARCHER_3 
MONSTER_ELF_SPEARMAN_1 
MONSTER_ELF_SPEARMAN_3 
MONSTER_GHOST_1 
MONSTER_GHOST_3 
MONSTER_HARPY_1 
MONSTER_HARPY_2 
MONSTER_HARPY_3 
MONSTER_LICH_1 
MONSTER_LICH_3 
MONSTER_OOZE_1 
MONSTER_OOZE_2 
MONSTER_OOZE_3 
MONSTER_PEASANT_ELF_FEMALE_1_1 
MONSTER_PEASANT_ELF_MALE_3_3 
MONSTER_SKELETON_1 
MONSTER_SKELETON_3 
MONSTER_TITAN_1 
MONSTER_TITAN_3 
MONSTER_VAMPIRE_1 
MONSTER_VAMPIRE_3 
MONSTER_WIGHT_1 
MONSTER_WIGHT_3 
MONSTER_ZOMBIE_1 
MONSTER_ZOMBIE_3 
MONSTER_PEASANT_GOBLIN_MALE_3_3 
MONSTER_TROLL_1 
MONSTER_TROLL_2 
MONSTER_TROLL_3 
MONSTER_TREANT_1 
MONSTER_TREANT_3 
MONSTER_GHOUL_1 
MONSTER_GHOUL_3 

См. определение в файле Monsters.h строка 6

6  {
7  MONSTER_DEVIL_1 = 0x16,
8  MONSTER_DEVIL_2 = 0x17,
9  MONSTER_DEVIL_3 = 0x18,
10  MONSTER_DRAGON_1 = 0x19,
11  MONSTER_DRAGON_2 = 0x1A,
12  MONSTER_DRAGON_3 = 0x1B,
15  MONSTER_ELF_ARCHER_1 = 0x31,
16  MONSTER_ELF_ARCHER_3 = 0x33,
19  MONSTER_GHOST_1 = 0x46,
20  MONSTER_GHOST_3 = 0x48,
21  MONSTER_HARPY_1 = 0x55,
22  MONSTER_HARPY_2 = 0x56,
23  MONSTER_HARPY_3 = 0x57,
24  MONSTER_LICH_1 = 0x5B,
25  MONSTER_LICH_3 = 0x5D,
26  MONSTER_OOZE_1 = 0x70,
27  MONSTER_OOZE_2 = 0x71,
28  MONSTER_OOZE_3 = 0x72,
31  MONSTER_SKELETON_1 = 0xC7,
32  MONSTER_SKELETON_3 = 0xC9,
33  MONSTER_TITAN_1 = 0xD3,
34  MONSTER_TITAN_3 = 0xD5,
35  MONSTER_VAMPIRE_1 = 0xD9,
36  MONSTER_VAMPIRE_3 = 0xDB,
37  MONSTER_WIGHT_1 = 0xDF,
38  MONSTER_WIGHT_3 = 0xE1,
39  MONSTER_ZOMBIE_1 = 0xE5,
40  MONSTER_ZOMBIE_3 = 0xE7,
42  MONSTER_TROLL_1 = 0xFA,
43  MONSTER_TROLL_2 = 0xFB,
44  MONSTER_TROLL_3 = 0xFC,
45  MONSTER_TREANT_1 = 0xFD,
46  MONSTER_TREANT_3 = 0xFF,
47  MONSTER_GHOUL_1 = 0x100,
48  MONSTER_GHOUL_3 = 0x102,
49 };

◆ MONSTER_SPECIAL_ABILITY_TYPE

Элементы перечислений
MONSTER_SPECIAL_ABILITY_NONE 
MONSTER_SPECIAL_ABILITY_SHOT 
MONSTER_SPECIAL_ABILITY_SUMMON 
MONSTER_SPECIAL_ABILITY_EXPLODE 

См. определение в файле Monsters.h строка 52

◆ MONSTER_MOVEMENT_TYPE

Элементы перечислений
MONSTER_MOVEMENT_TYPE_SHORT 
MONSTER_MOVEMENT_TYPE_MEDIUM 
MONSTER_MOVEMENT_TYPE_LONG 
MONSTER_MOVEMENT_TYPE_GLOBAL 
MONSTER_MOVEMENT_TYPE_FREE 
MONSTER_MOVEMENT_TYPE_STAIONARY 

См. определение в файле Monsters.h строка 59

◆ MONSTER_SUPERTYPE

Элементы перечислений
MONSTER_SUPERTYPE_UNDEAD 
MONSTER_SUPERTYPE_KREEGAN 
MONSTER_SUPERTYPE_DRAGON 
MONSTER_SUPERTYPE_ELF 
MONSTER_SUPERTYPE_WATER_ELEMENTAL 
MONSTER_SUPERTYPE_TREANT 
MONSTER_SUPERTYPE_TITAN 
MONSTER_SUPERTYPE_8 

См. определение в файле Monsters.h строка 69

◆ SPECIAL_ATTACK_TYPE

Элементы перечислений
SPECIAL_ATTACK_NONE 
SPECIAL_ATTACK_CURSE 
SPECIAL_ATTACK_WEAK 
SPECIAL_ATTACK_SLEEP 
SPECIAL_ATTACK_DRUNK 
SPECIAL_ATTACK_INSANE 
SPECIAL_ATTACK_POISON_WEAK 
SPECIAL_ATTACK_POISON_MEDIUM 
SPECIAL_ATTACK_POISON_SEVERE 
SPECIAL_ATTACK_DISEASE_WEAK 
SPECIAL_ATTACK_DISEASE_MEDIUM 
SPECIAL_ATTACK_DISEASE_SEVERE 
SPECIAL_ATTACK_PARALYZED 
SPECIAL_ATTACK_UNCONSCIOUS 
SPECIAL_ATTACK_DEAD 
SPECIAL_ATTACK_PETRIFIED 
SPECIAL_ATTACK_ERADICATED 
SPECIAL_ATTACK_BREAK_ANY 
SPECIAL_ATTACK_BREAK_ARMOR 
SPECIAL_ATTACK_BREAK_WEAPON 
SPECIAL_ATTACK_STEAL 
SPECIAL_ATTACK_AGING 
SPECIAL_ATTACK_MANA_DRAIN 
SPECIAL_ATTACK_FEAR 

См. определение в файле Monsters.h строка 80

Переменные

◆ pMonsterStats

◆ pMonsterList

MONSTER_SUPERTYPE_UNDEAD
@ MONSTER_SUPERTYPE_UNDEAD
Definition: Monsters.h:70
MONSTER_OOZE_1
@ MONSTER_OOZE_1
Definition: Monsters.h:26
MONSTER_DEVIL_3
@ MONSTER_DEVIL_3
Definition: Monsters.h:9
SPECIAL_ATTACK_DISEASE_WEAK
@ SPECIAL_ATTACK_DISEASE_WEAK
Definition: Monsters.h:90
MONSTER_HARPY_3
@ MONSTER_HARPY_3
Definition: Monsters.h:23
MONSTER_PEASANT_ELF_MALE_3_3
@ MONSTER_PEASANT_ELF_MALE_3_3
Definition: Monsters.h:30
SPECIAL_ATTACK_DRUNK
@ SPECIAL_ATTACK_DRUNK
Definition: Monsters.h:85
MONSTER_VAMPIRE_3
@ MONSTER_VAMPIRE_3
Definition: Monsters.h:36
MONSTER_GHOST_3
@ MONSTER_GHOST_3
Definition: Monsters.h:20
MONSTER_DEVIL_1
@ MONSTER_DEVIL_1
Definition: Monsters.h:7
MONSTER_TROLL_3
@ MONSTER_TROLL_3
Definition: Monsters.h:44
MONSTER_ELF_SPEARMAN_3
@ MONSTER_ELF_SPEARMAN_3
Definition: Monsters.h:18
SPECIAL_ATTACK_NONE
@ SPECIAL_ATTACK_NONE
Definition: Monsters.h:81
MONSTER_VAMPIRE_1
@ MONSTER_VAMPIRE_1
Definition: Monsters.h:35
MONSTER_LICH_1
@ MONSTER_LICH_1
Definition: Monsters.h:24
SPECIAL_ATTACK_POISON_SEVERE
@ SPECIAL_ATTACK_POISON_SEVERE
Definition: Monsters.h:89
SPECIAL_ATTACK_STEAL
@ SPECIAL_ATTACK_STEAL
Definition: Monsters.h:101
MONSTER_WIGHT_3
@ MONSTER_WIGHT_3
Definition: Monsters.h:38
MONSTER_SUPERTYPE_KREEGAN
@ MONSTER_SUPERTYPE_KREEGAN
Definition: Monsters.h:71
SPECIAL_ATTACK_DISEASE_MEDIUM
@ SPECIAL_ATTACK_DISEASE_MEDIUM
Definition: Monsters.h:91
SPECIAL_ATTACK_PETRIFIED
@ SPECIAL_ATTACK_PETRIFIED
Definition: Monsters.h:96
SPECIAL_ATTACK_MANA_DRAIN
@ SPECIAL_ATTACK_MANA_DRAIN
Definition: Monsters.h:103
MONSTER_MOVEMENT_TYPE_FREE
@ MONSTER_MOVEMENT_TYPE_FREE
Definition: Monsters.h:64
MONSTER_TROLL_2
@ MONSTER_TROLL_2
Definition: Monsters.h:43
MONSTER_ELF_SPEARMAN_1
@ MONSTER_ELF_SPEARMAN_1
Definition: Monsters.h:17
SPECIAL_ATTACK_INSANE
@ SPECIAL_ATTACK_INSANE
Definition: Monsters.h:86
MONSTER_PEASANT_GOBLIN_MALE_3_3
@ MONSTER_PEASANT_GOBLIN_MALE_3_3
Definition: Monsters.h:41
MONSTER_SUPERTYPE_ELF
@ MONSTER_SUPERTYPE_ELF
Definition: Monsters.h:73
SPECIAL_ATTACK_WEAK
@ SPECIAL_ATTACK_WEAK
Definition: Monsters.h:83
MONSTER_MOVEMENT_TYPE_GLOBAL
@ MONSTER_MOVEMENT_TYPE_GLOBAL
Definition: Monsters.h:63
MONSTER_HARPY_2
@ MONSTER_HARPY_2
Definition: Monsters.h:22
MONSTER_GHOUL_3
@ MONSTER_GHOUL_3
Definition: Monsters.h:48
MONSTER_MOVEMENT_TYPE_MEDIUM
@ MONSTER_MOVEMENT_TYPE_MEDIUM
Definition: Monsters.h:61
MONSTER_SUPERTYPE_TITAN
@ MONSTER_SUPERTYPE_TITAN
Definition: Monsters.h:76
MONSTER_SPECIAL_ABILITY_EXPLODE
@ MONSTER_SPECIAL_ABILITY_EXPLODE
Definition: Monsters.h:56
MONSTER_TREANT_1
@ MONSTER_TREANT_1
Definition: Monsters.h:45
MONSTER_MOVEMENT_TYPE_LONG
@ MONSTER_MOVEMENT_TYPE_LONG
Definition: Monsters.h:62
MONSTER_TITAN_3
@ MONSTER_TITAN_3
Definition: Monsters.h:34
MONSTER_SPECIAL_ABILITY_SUMMON
@ MONSTER_SPECIAL_ABILITY_SUMMON
Definition: Monsters.h:55
MONSTER_ELF_ARCHER_3
@ MONSTER_ELF_ARCHER_3
Definition: Monsters.h:16
MONSTER_ZOMBIE_3
@ MONSTER_ZOMBIE_3
Definition: Monsters.h:40
MONSTER_MOVEMENT_TYPE_SHORT
@ MONSTER_MOVEMENT_TYPE_SHORT
Definition: Monsters.h:60
SPECIAL_ATTACK_ERADICATED
@ SPECIAL_ATTACK_ERADICATED
Definition: Monsters.h:97
SPECIAL_ATTACK_SLEEP
@ SPECIAL_ATTACK_SLEEP
Definition: Monsters.h:84
MONSTER_ELF_ARCHER_1
@ MONSTER_ELF_ARCHER_1
Definition: Monsters.h:15
MONSTER_OOZE_3
@ MONSTER_OOZE_3
Definition: Monsters.h:28
MONSTER_SUPERTYPE_DRAGON
@ MONSTER_SUPERTYPE_DRAGON
Definition: Monsters.h:72
MONSTER_ZOMBIE_1
@ MONSTER_ZOMBIE_1
Definition: Monsters.h:39
SPECIAL_ATTACK_BREAK_ARMOR
@ SPECIAL_ATTACK_BREAK_ARMOR
Definition: Monsters.h:99
SPECIAL_ATTACK_DEAD
@ SPECIAL_ATTACK_DEAD
Definition: Monsters.h:95
SPECIAL_ATTACK_BREAK_WEAPON
@ SPECIAL_ATTACK_BREAK_WEAPON
Definition: Monsters.h:100
SPECIAL_ATTACK_BREAK_ANY
@ SPECIAL_ATTACK_BREAK_ANY
Definition: Monsters.h:98
MONSTER_TREANT_3
@ MONSTER_TREANT_3
Definition: Monsters.h:46
MONSTER_ELEMENTAL_WATER_3
@ MONSTER_ELEMENTAL_WATER_3
Definition: Monsters.h:14
MONSTER_SPECIAL_ABILITY_SHOT
@ MONSTER_SPECIAL_ABILITY_SHOT
Definition: Monsters.h:54
SPECIAL_ATTACK_AGING
@ SPECIAL_ATTACK_AGING
Definition: Monsters.h:102
MONSTER_SPECIAL_ABILITY_NONE
@ MONSTER_SPECIAL_ABILITY_NONE
Definition: Monsters.h:53
MONSTER_SKELETON_1
@ MONSTER_SKELETON_1
Definition: Monsters.h:31
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
MONSTER_TROLL_1
@ MONSTER_TROLL_1
Definition: Monsters.h:42
MONSTER_SUPERTYPE_TREANT
@ MONSTER_SUPERTYPE_TREANT
Definition: Monsters.h:75
MONSTER_OOZE_2
@ MONSTER_OOZE_2
Definition: Monsters.h:27
SPECIAL_ATTACK_DISEASE_SEVERE
@ SPECIAL_ATTACK_DISEASE_SEVERE
Definition: Monsters.h:92
MONSTER_SKELETON_3
@ MONSTER_SKELETON_3
Definition: Monsters.h:32
SPECIAL_ATTACK_PARALYZED
@ SPECIAL_ATTACK_PARALYZED
Definition: Monsters.h:93
MONSTER_MOVEMENT_TYPE_STAIONARY
@ MONSTER_MOVEMENT_TYPE_STAIONARY
Definition: Monsters.h:65
SPECIAL_ATTACK_POISON_MEDIUM
@ SPECIAL_ATTACK_POISON_MEDIUM
Definition: Monsters.h:88
MONSTER_GHOST_1
@ MONSTER_GHOST_1
Definition: Monsters.h:19
MONSTER_DRAGON_2
@ MONSTER_DRAGON_2
Definition: Monsters.h:11
MONSTER_DEVIL_2
@ MONSTER_DEVIL_2
Definition: Monsters.h:8
MONSTER_SUPERTYPE_8
@ MONSTER_SUPERTYPE_8
Definition: Monsters.h:77
MONSTER_HARPY_1
@ MONSTER_HARPY_1
Definition: Monsters.h:21
SPECIAL_ATTACK_CURSE
@ SPECIAL_ATTACK_CURSE
Definition: Monsters.h:82
MONSTER_DRAGON_1
@ MONSTER_DRAGON_1
Definition: Monsters.h:10
MONSTER_SUPERTYPE_WATER_ELEMENTAL
@ MONSTER_SUPERTYPE_WATER_ELEMENTAL
Definition: Monsters.h:74
SPECIAL_ATTACK_UNCONSCIOUS
@ SPECIAL_ATTACK_UNCONSCIOUS
Definition: Monsters.h:94
MONSTER_TITAN_1
@ MONSTER_TITAN_1
Definition: Monsters.h:33
MONSTER_WIGHT_1
@ MONSTER_WIGHT_1
Definition: Monsters.h:37
MONSTER_GHOUL_1
@ MONSTER_GHOUL_1
Definition: Monsters.h:47
MONSTER_DRAGON_3
@ MONSTER_DRAGON_3
Definition: Monsters.h:12
MONSTER_ELEMENTAL_WATER_1
@ MONSTER_ELEMENTAL_WATER_1
Definition: Monsters.h:13
SPECIAL_ATTACK_POISON_WEAK
@ SPECIAL_ATTACK_POISON_WEAK
Definition: Monsters.h:87
MONSTER_PEASANT_ELF_FEMALE_1_1
@ MONSTER_PEASANT_ELF_FEMALE_1_1
Definition: Monsters.h:29
MONSTER_LICH_3
@ MONSTER_LICH_3
Definition: Monsters.h:25
SPECIAL_ATTACK_FEAR
@ SPECIAL_ATTACK_FEAR
Definition: Monsters.h:104