view Events2D.h @ 814:35122475edd7

struct correction
author Gloval
date Tue, 26 Mar 2013 08:19:58 +0400
parents 2bf48d11d742
children 0dbf6c4dd029
line wrap: on
line source

#pragma once

/*  296 */
enum BildingType: unsigned short
{
  BildingType_WeaponShop = 1,
  BildingType_ArmorShop = 2,
  BildingType_MagicShop = 3,
  BildingType_AlchemistShop = 4,
  BildingType_FireGuild = 5,
  BildingType_AirGuild = 6,
  BildingType_WaterGuild = 7,
  BildingType_EarthGuild = 8,
  BildingType_SpiritGuild = 9,
  BildingType_MindGuild = 10,
  BildingType_BodyGuild = 11,
  BildingType_LightGuild = 12,
  BildingType_DarkGuild = 13,
  BildingType_14 = 14,
  BildingType_15 = 15,
  BildingType_16 = 16,
  BildingType_TownHall = 17,
  BildingType_18 = 18,
  BildingType_19 = 19,
  BildingType_Throne_Room = 20,
  BildingType_Tavern = 21,
  BildingType_Bank = 22,
  BildingType_Temple = 23,
  BuildingType_24 = 24,
  BildingType_Unic = 25,
  BildingType_1A = 26,
  BildingType_Stables = 27,
  BildingType_Boats = 28,
  BildingType_House = 29,
  BildingType_Training = 30,
  BildingType_Jail = 31
};

/*  168 */
#pragma pack(push, 1)
struct _2devent
{
  BildingType uType;
  unsigned __int16 uAnimationID;
  char *pName;
  const char *pProprieterName;
  const char *pEnterText;
  const char *pProprieterTitle;
  __int16 field_14;
  __int16 _state;
  __int16 _rep;
  __int16 _per;
  __int16 field_1C;
  __int16 field_1E;
  float fPriceMultiplier;
  float flt_24;
  unsigned __int16 uOpenTime;
  unsigned __int16 uCloseTime;
  __int16 uExitPicID;
  __int16 uExitMapID;
  __int16 _quest_related;
  __int16 field_32;
};
#pragma pack(pop)


extern _2devent p2DEvents[525]; // weak