Mercurial > mm7
diff MapInfo.h @ 0:9c0607679772
init
author | Ritor1 |
---|---|
date | Sat, 12 Jan 2013 09:45:18 +0600 |
parents | |
children | 2799737f8a74 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MapInfo.h Sat Jan 12 09:45:18 2013 +0600 @@ -0,0 +1,66 @@ +#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 field_2D; + char field_2E; + char field_2F; + char field_30; + char field_31; + char field_32; + char field_33; + char field_34; + unsigned __int8 uEncounterMonster1AtLeast; + unsigned __int8 uEncounterMonster1AtMost; + char field_37; + unsigned __int8 uEncounterMonster2AtLeast; + unsigned __int8 uEncounterMonster2AtMost; + char field_3A; + 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; \ No newline at end of file