Mercurial > might-and-magic-trilogy
view MapInfo.h @ 5:ca90d9e499b3
.
author | Серик@ПончиК |
---|---|
date | Tue, 09 Oct 2012 20:00:01 +0600 |
parents | 8b8875f5b359 |
children |
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 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;