Mercurial > mm7
diff Monsters.h @ 751:6005142abce0
monster init refactored
author | Gloval |
---|---|
date | Sat, 23 Mar 2013 00:20:16 +0400 |
parents | 6daaa2f18d0d |
children | 4a00901e063c |
line wrap: on
line diff
--- a/Monsters.h Fri Mar 22 23:46:32 2013 +0600 +++ b/Monsters.h Sat Mar 23 00:20:16 2013 +0400 @@ -158,7 +158,7 @@ { void Initialize(); void InitializePlacements(); - signed int FindMonsterByName(const char *Str2); + signed int FindMonsterByTextureName(const char *Str2); static bool BelongsToSupertype(unsigned int uMonsterInfoID, enum MONSTER_SUPERTYPE eSupertype); @@ -193,12 +193,12 @@ inline MonsterList(): //----- (00458429) uNumMonsters(0), pMonsters(nullptr) {} - unsigned __int16 GetMonsterByName(const char *pMonsterName); + signed __int16 GetMonsterIDByName(const char *pMonsterName); void ToFile(); void FromFile(void *pSerialized); bool FromFileTxt(const char *Args); - unsigned int uNumMonsters; + signed int uNumMonsters; struct MonsterDesc *pMonsters; }; #pragma pack(pop)