Mercurial > mm7
view MapInfo.h @ 494:af286cec8967
guild ..
author | Gloval |
---|---|
date | Thu, 28 Feb 2013 18:18:52 +0400 |
parents | 2799737f8a74 |
children | 45615cacad31 |
line wrap: on
line source
#pragma once /* 192 */ #pragma pack(push, 1) struct MapInfo { int SpawnRandomTreasure(struct SpawnPointMM7 *a2); char *pName; char *pFilename; char *pEncounterMonster1Texture; char *pEncounterMonster2Texture; char *pEncounterMonster3Texture; unsigned int uNumResets; unsigned int uFirstVisitedAt; unsigned int uRespawnIntervalDays; int _alert_days; int _steal_perm; int _per; char field_2C; char LockX5; char Trap_D20; char Treasure_prob; char Encounter_percent; char EncM1percent; char EncM2percent; char EncM3percent; char Dif_M1; unsigned __int8 uEncounterMonster1AtLeast; unsigned __int8 uEncounterMonster1AtMost; char Dif_M2; unsigned __int8 uEncounterMonster2AtLeast; unsigned __int8 uEncounterMonster2AtMost; char Dif_M3; unsigned __int8 uEncounterMonster3AtLeast; unsigned __int8 uEncounterMonster3AtMost; char field_3D; char field_3E; char field_3F; unsigned __int8 uRedbookTrackID; unsigned __int8 uEAXEnv; char field_42; char field_43; }; #pragma pack(pop) /* 193 */ #pragma pack(push, 1) struct MapStats { void Initialize(); unsigned int GetMapInfo(const char *Str2); MapInfo pInfos[77]; unsigned int uNumMaps; }; #pragma pack(pop) extern struct MapStats *pMapStats;