view MapInfo.h @ 389:e32950ebabb9

Merge
author Nomad
date Sat, 23 Feb 2013 04:02:05 +0200
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;