629
|
1 #pragma once
|
|
2
|
|
3 #include "stru159.h"
|
|
4
|
|
5 enum DIALOG_MENU
|
|
6 {
|
|
7 DIALOG_SHOP_MAIN = 1,
|
|
8 DIALOG_SHOP_BUY_STANDART = 2,
|
|
9 DIALOG_SHOP_SELL = 3,
|
|
10 DIALOG_SHOP_IDENTIFY = 4,
|
|
11 DIALOG_SHOP_REPAIR = 5,
|
644
|
12 DIALOG_SHOP_REST = 15,
|
|
13 DIALOG_SHOP_BYE_FOOD = 16,
|
629
|
14 DIALOG_SHOP_DISPLAY_EQUIPMENT = 94,
|
|
15 DIALOG_SHOP_BUY_SPECIAL = 95,
|
|
16 DIALOG_SHOP_SKILLS = 96,
|
644
|
17 DIALOG_SHOP_ARCOMAGE_MAIN = 101,
|
|
18 DIALOG_SHOP_ARCOMAGE_102 = 102,
|
|
19 DIALOG_SHOP_ARCOMAGE_103 = 103,
|
|
20 DIALOG_SHOP_ARCOMAGE_RESULT = 104,
|
629
|
21 };
|
|
22
|
|
23 /* 349 */
|
|
24 enum HOUSE_ID
|
727
|
25 {
|
|
26 HOUSE_SMITH_EMERALD_ISLE = 1,
|
|
27 HOUSE_ARMOURER_EMERALD_ISLE = 15,
|
|
28 HOUSE_MAGE_EMERALD_ISLE = 29,
|
|
29 HOUSE_MAGE_HARMONDALE = 30,
|
|
30 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
|
|
31 HOUSE_ALCHEMIST_HARMONDALE = 43,
|
|
32 HOUSE_STABLES_HARMONDALE = 54,
|
|
33 HOUSE_TEMPLE_EMERALD_ISLE = 74,
|
|
34 HOUSE_TEMPLE_HARMONDALE = 75,
|
|
35 HOUSE_TRAINING_HALL_HARMONDALE = 90,
|
|
36 HOUSE_TOWNHALL_HARMONDALE = 102,
|
|
37 HOUSE_TAVERN_EMERALD_ISLE = 107,
|
|
38 HOUSE_BANK_HARMONDALE = 128,
|
|
39 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
|
|
40 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
|
|
41 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
|
|
42 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
|
|
43 HOUSE_BODY_GUILD_ERATHIA = 165,
|
|
44 HOUSE_DARK_GUILD_PIT = 170,
|
|
45 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
|
|
46 HOUSE_JAIL = 187,
|
|
47 HOUSE_JUDGE_HARMONDALE = 190,
|
|
48 HOUSE_224_EMERALD_ISLE = 224,
|
|
49 HOUSE_225_EMERALD_ISLE = 225,
|
|
50 HOUSE_466_HARMONDALE = 466,
|
|
51 HOUSE_467_HARMONDALE = 467,
|
|
52 HOUSE_468_HARMONDALE = 468,
|
|
53 HOUSE_472_HARMONDALE = 472,
|
|
54 HOUSE_488_HARMONDALE = 488,
|
|
55 HOUSE_489_HARMONDALE = 489,
|
|
56 HOUSE_600 = 600,//???
|
|
57 HOUSE_601 = 601//???
|
|
58 };
|
629
|
59
|
735
|
60 enum HouseSoundID: unsigned __int32
|
|
61 {
|
|
62 HouseSound_Greeting = 1,
|
|
63 HouseSound_NotEnoughMoney = 2,
|
|
64 HouseSound_Greeting_2 = 3, // good greeting when you're guild member
|
|
65 HouseSound_Goodbye = 4 // farewells when bought something
|
|
66 };
|
|
67
|
629
|
68 int __cdecl TrainingDialog();
|
|
69 char *__cdecl JailDialog();
|
|
70 void MagicShopDialog();
|
|
71 void GuildDialog();
|
711
|
72 void sub_4B6478();
|
727
|
73 bool __fastcall IsTravelAvailable(int a1);
|
629
|
74 void __cdecl TravelByTransport();
|
|
75 void TempleDialog();
|
|
76 void __cdecl TownHallDialog();
|
|
77 void __cdecl BankDialog();
|
|
78 void __cdecl TavernDialog();
|
735
|
79 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
|
629
|
80 void __cdecl WeaponShopDialog();
|
|
81 void __cdecl AlchemistDialog();
|
|
82 void __cdecl ArmorShopDialog();
|
|
83
|
|
84 extern int uHouse_ExitPic; // weak
|
|
85 extern int dword_591080; // weak
|
|
86 extern const stru159 pAnimatedRooms[196];
|