comparison Monsters.h @ 694:52329962fcdb

monster table init rework started
author Gloval
date Sun, 17 Mar 2013 12:47:19 +0400
parents 5a66be213cff
children a5e587c8e30e
comparison
equal deleted inserted replaced
693:e0a1fccc89b1 694:52329962fcdb
85 Hostility_Medium = 3, 85 Hostility_Medium = 3,
86 Hostility_Long = 4 86 Hostility_Long = 4
87 }; 87 };
88 88
89 char *pName; 89 char *pName;
90 char *pTexture; 90 char *pPictureName;
91 unsigned __int8 uLevel; 91 unsigned __int8 uLevel;
92 unsigned __int8 uTreasureDropChance; 92 unsigned __int8 uTreasureDropChance;
93 unsigned __int8 uTreasureDiceRolls; 93 unsigned __int8 uTreasureDiceRolls;
94 unsigned __int8 uTreasureDiceSides; 94 unsigned __int8 uTreasureDiceSides;
95 unsigned __int8 uTreasureLevel; 95 unsigned __int8 uTreasureLevel;
153 #pragma pack(push, 1) 153 #pragma pack(push, 1)
154 struct MonsterStats 154 struct MonsterStats
155 { 155 {
156 void Initialize(); 156 void Initialize();
157 void InitializePlacements(); 157 void InitializePlacements();
158 signed int _4563FF(const char *Str2); 158 signed int FindMonsterByName(const char *Str2);
159 159
160 static bool BelongsToSupertype(unsigned int uMonsterInfoID, enum MONSTER_SUPERTYPE eSupertype); 160 static bool BelongsToSupertype(unsigned int uMonsterInfoID, enum MONSTER_SUPERTYPE eSupertype);
161 161
162 MonsterInfo pInfos[265]; //0 - 5b18h 162 MonsterInfo pInfos[265]; //0 - 5b18h
163 char *pPlaceStrings[31];; //5B18h placement counts from 1 163 char *pPlaceStrings[31]; //5B18h placement counts from 1
164 unsigned int uNumMonsters; //5B94h 164 unsigned int uNumMonsters; //5B94h
165 unsigned int uNumPlacements; //5B98h 165 unsigned int uNumPlacements; //5B98h
166 int field_5B9C; 166 int field_5B9C;
167 }; 167 };
168 #pragma pack(pop) 168 #pragma pack(pop)