629
|
1 #pragma once
|
|
2
|
|
3 #include "stru159.h"
|
|
4
|
747
|
5 enum HOUSE_DIALOGUE_MENU: unsigned __int32
|
|
6 {
|
|
7 HOUSE_DIALOGUE_NULL = 0,
|
|
8 HOUSE_DIALOGUE_MAIN = 1,
|
|
9 HOUSE_DIALOGUE_SHOP_BUY_STANDARD = 2,
|
|
10 HOUSE_DIALOGUE_SHOP_SELL = 3,
|
|
11 HOUSE_DIALOGUE_SHOP_IDENTIFY = 4,
|
|
12 HOUSE_DIALOGUE_SHOP_REPAIR = 5,
|
749
|
13 HOUSE_DIALOGUE_SHOP_6 = 6,
|
|
14 HOUSE_DIALOGUE_BANK_7 = 7,
|
|
15 HOUSE_DIALOGUE_BANK_8 = 8,
|
747
|
16 HOUSE_DIALOGUE_9 = 9,
|
|
17 HOUSE_DIALOGUE_TEMPLE_HEAL = 10,
|
|
18 HOUSE_DIALOGUE_TEMPLE_DONATE = 11,
|
|
19 HOUSE_DIALOGUE_12 = 12,
|
|
20 HOUSE_DIALOGUE_13 = 13,
|
|
21 HOUSE_DIALOGUE_14 = 14,
|
|
22 HOUSE_DIALOGUE_TAVERN_REST = 15,
|
|
23 HOUSE_DIALOGUE_TAVERN_BUY_FOOD = 16,
|
749
|
24 HOUSE_DIALOGUE_TRAININGHALL_17 = 17,
|
747
|
25 HOUSE_DIALOGUE_GULD_BUY_BOOKS = 18,
|
|
26 //...
|
|
27 HOUSE_DIALOGUE_GUILD_LEARN_SKILL = 72,
|
|
28 //...
|
|
29 HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT = 94,
|
|
30 HOUSE_DIALOGUE_SHOP_BUY_SPECIAL = 95,
|
|
31 HOUSE_DIALOGUE_LEARN_SKILLS = 96,
|
749
|
32 HOUSE_DIALOGUE_97 = 97,
|
|
33 HOUSE_DIALOGUE_98 = 98,
|
|
34 HOUSE_DIALOGUE_TOWNHALL_99 = 99,
|
|
35 HOUSE_DIALOGUE_TOWNHALL_100 = 100,
|
747
|
36 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN = 101,
|
|
37 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_102 = 102,
|
|
38 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_103 = 103,
|
|
39 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT = 104,
|
|
40
|
749
|
41 HOUSE_DIALOGUE_108 = 108,
|
|
42
|
747
|
43 HOUSE_DIALOGUE_OTHER = -1
|
|
44 };
|
629
|
45
|
|
46 /* 349 */
|
|
47 enum HOUSE_ID
|
727
|
48 {
|
|
49 HOUSE_SMITH_EMERALD_ISLE = 1,
|
|
50 HOUSE_ARMOURER_EMERALD_ISLE = 15,
|
|
51 HOUSE_MAGE_EMERALD_ISLE = 29,
|
|
52 HOUSE_MAGE_HARMONDALE = 30,
|
|
53 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
|
|
54 HOUSE_ALCHEMIST_HARMONDALE = 43,
|
|
55 HOUSE_STABLES_HARMONDALE = 54,
|
|
56 HOUSE_TEMPLE_EMERALD_ISLE = 74,
|
|
57 HOUSE_TEMPLE_HARMONDALE = 75,
|
|
58 HOUSE_TRAINING_HALL_HARMONDALE = 90,
|
|
59 HOUSE_TOWNHALL_HARMONDALE = 102,
|
|
60 HOUSE_TAVERN_EMERALD_ISLE = 107,
|
|
61 HOUSE_BANK_HARMONDALE = 128,
|
|
62 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
|
|
63 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
|
|
64 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
|
|
65 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
|
|
66 HOUSE_BODY_GUILD_ERATHIA = 165,
|
|
67 HOUSE_DARK_GUILD_PIT = 170,
|
|
68 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
|
|
69 HOUSE_JAIL = 187,
|
|
70 HOUSE_JUDGE_HARMONDALE = 190,
|
|
71 HOUSE_224_EMERALD_ISLE = 224,
|
|
72 HOUSE_225_EMERALD_ISLE = 225,
|
|
73 HOUSE_466_HARMONDALE = 466,
|
|
74 HOUSE_467_HARMONDALE = 467,
|
|
75 HOUSE_468_HARMONDALE = 468,
|
|
76 HOUSE_472_HARMONDALE = 472,
|
|
77 HOUSE_488_HARMONDALE = 488,
|
|
78 HOUSE_489_HARMONDALE = 489,
|
|
79 HOUSE_600 = 600,//???
|
|
80 HOUSE_601 = 601//???
|
|
81 };
|
629
|
82
|
735
|
83 enum HouseSoundID: unsigned __int32
|
|
84 {
|
|
85 HouseSound_Greeting = 1,
|
|
86 HouseSound_NotEnoughMoney = 2,
|
|
87 HouseSound_Greeting_2 = 3, // good greeting when you're guild member
|
|
88 HouseSound_Goodbye = 4 // farewells when bought something
|
|
89 };
|
|
90
|
629
|
91 int __cdecl TrainingDialog();
|
|
92 char *__cdecl JailDialog();
|
|
93 void MagicShopDialog();
|
|
94 void GuildDialog();
|
711
|
95 void sub_4B6478();
|
727
|
96 bool __fastcall IsTravelAvailable(int a1);
|
629
|
97 void __cdecl TravelByTransport();
|
|
98 void TempleDialog();
|
|
99 void __cdecl TownHallDialog();
|
|
100 void __cdecl BankDialog();
|
|
101 void __cdecl TavernDialog();
|
735
|
102 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
|
629
|
103 void __cdecl WeaponShopDialog();
|
|
104 void __cdecl AlchemistDialog();
|
|
105 void __cdecl ArmorShopDialog();
|
|
106
|
|
107 extern int uHouse_ExitPic; // weak
|
|
108 extern int dword_591080; // weak
|
747
|
109 extern const stru159 pAnimatedRooms[196];
|
|
110 extern int in_current_building_type; // 00F8B198
|
|
111 extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C |