view Events2D.h @ 593:8ef867ae88b9

.
author Nomad
date Wed, 06 Mar 2013 16:12:38 +0200
parents 90fdb47bfcba
children 2bf48d11d742
line wrap: on
line source

#pragma once

/*  296 */
enum BildingType : unsigned short
	{
	BildingType_WeaponShop = 0x1,
	BildingType_ArmorShop = 0x2,
	BildingType_MagicShop = 0x3,
	BildingType_AlchemistShop = 0x4,
	BildingType_FireGuild = 0x5,
	BildingType_AirGuild = 0x6,
	BildingType_WaterGuild = 0x7,
	BildingType_EarthGuild = 0x8,
	BildingType_SpiritGuild = 0x9,
	BildingType_MindGuild = 0xA,
	BildingType_BodyGuild = 0xB,
	BildingType_LightGuild = 0xC,
	BildingType_DarkGuild = 0xD,
	BildingType_14 = 0xE,
	BildingType_15 = 0xF,
	BildingType_16 = 0x10,
	BildingType_TownHall = 0x11,
	BildingType_18 = 0x12,
	BildingType_19 = 0x13,
	BildingType_Throne_Room = 0x14,
	BildingType_Tavern = 0x15,
	BildingType_Bank = 0x16,
	BildingType_Temple = 0x17,
	BildingType_Unic = 0x19,
	BildingType_1A = 0x1A,
	BildingType_Stables = 0x1B,
	BildingType_Boats = 0x1C,
	BildingType_House = 0x1D,
	BildingType_Training = 0x1E,
	BildingType_Jail = 0x1F,
	};

/*  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