view UIHouses.h @ 769:2f40f4b35ce0

travel_schedule
author Ritor1
date Sat, 23 Mar 2013 09:25:31 +0600
parents 6daaa2f18d0d
children 585490c29945
line wrap: on
line source

#pragma once

#include "stru159.h"

enum DIALOG_MENU
    {
    DIALOG_SHOP_MAIN = 1,
    DIALOG_SHOP_BUY_STANDART = 2,
    DIALOG_SHOP_SELL = 3,
    DIALOG_SHOP_IDENTIFY = 4,
    DIALOG_SHOP_REPAIR = 5,
    DIALOG_SHOP_REST = 15,
    DIALOG_SHOP_BYE_FOOD = 16,
    DIALOG_SHOP_DISPLAY_EQUIPMENT = 94,
    DIALOG_SHOP_BUY_SPECIAL = 95,
    DIALOG_SHOP_SKILLS = 96,
    DIALOG_SHOP_ARCOMAGE_MAIN = 101,
    DIALOG_SHOP_ARCOMAGE_102 = 102,
    DIALOG_SHOP_ARCOMAGE_103 = 103,
    DIALOG_SHOP_ARCOMAGE_RESULT = 104,
    };

/*  349 */
enum HOUSE_ID
{
  HOUSE_SMITH_EMERALD_ISLE = 1,
  HOUSE_ARMOURER_EMERALD_ISLE = 15,
  HOUSE_MAGE_EMERALD_ISLE = 29,
  HOUSE_MAGE_HARMONDALE = 30,
  HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
  HOUSE_ALCHEMIST_HARMONDALE = 43,
  HOUSE_STABLES_HARMONDALE = 54,
  HOUSE_TEMPLE_EMERALD_ISLE = 74,
  HOUSE_TEMPLE_HARMONDALE = 75,
  HOUSE_TRAINING_HALL_HARMONDALE = 90,
  HOUSE_TOWNHALL_HARMONDALE = 102,
  HOUSE_TAVERN_EMERALD_ISLE = 107,
  HOUSE_BANK_HARMONDALE = 128,
  HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
  HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
  HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
  HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
  HOUSE_BODY_GUILD_ERATHIA = 165,
  HOUSE_DARK_GUILD_PIT = 170,
  HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
  HOUSE_JAIL = 187,
  HOUSE_JUDGE_HARMONDALE = 190,
  HOUSE_224_EMERALD_ISLE = 224,
  HOUSE_225_EMERALD_ISLE = 225,
  HOUSE_466_HARMONDALE = 466,
  HOUSE_467_HARMONDALE = 467,
  HOUSE_468_HARMONDALE = 468,
  HOUSE_472_HARMONDALE = 472,
  HOUSE_488_HARMONDALE = 488,
  HOUSE_489_HARMONDALE = 489,
  HOUSE_600 = 600,//???
  HOUSE_601 = 601//???
};

enum HouseSoundID: unsigned __int32
{
  HouseSound_Greeting = 1,
  HouseSound_NotEnoughMoney = 2,
  HouseSound_Greeting_2 = 3,      // good greeting when you're guild member
  HouseSound_Goodbye = 4          // farewells when bought something
};

int __cdecl TrainingDialog();
char *__cdecl JailDialog();
void  MagicShopDialog();
void  GuildDialog();
void  sub_4B6478();
bool __fastcall IsTravelAvailable(int a1);
void __cdecl TravelByTransport();
void TempleDialog();
void __cdecl TownHallDialog();
void __cdecl BankDialog();
void __cdecl TavernDialog();
void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
void __cdecl WeaponShopDialog();
void __cdecl AlchemistDialog();
void __cdecl ArmorShopDialog();

extern int uHouse_ExitPic; // weak
extern int dword_591080; // weak
 extern  const stru159 pAnimatedRooms[196];