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,
|
758
|
24 HOUSE_DIALOGUE_TRAININGHALL_TRAIN = 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,
|
777
|
40 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_1 = 105,
|
|
41 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_2 = 106,
|
|
42 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_3 = 107,
|
|
43 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_4 = 108,
|
747
|
44 HOUSE_DIALOGUE_OTHER = -1
|
|
45 };
|
629
|
46
|
|
47 /* 349 */
|
|
48 enum HOUSE_ID
|
727
|
49 {
|
|
50 HOUSE_SMITH_EMERALD_ISLE = 1,
|
|
51 HOUSE_ARMOURER_EMERALD_ISLE = 15,
|
|
52 HOUSE_MAGE_EMERALD_ISLE = 29,
|
|
53 HOUSE_MAGE_HARMONDALE = 30,
|
|
54 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
|
|
55 HOUSE_ALCHEMIST_HARMONDALE = 43,
|
|
56 HOUSE_STABLES_HARMONDALE = 54,
|
777
|
57 HOUSE_STABLES_STEADWICK = 55,
|
|
58 HOUSE_STABLES_56 = 56,
|
|
59 HOUSE_STABLES_57 = 57,
|
|
60 HOUSE_STABLES_58 = 58,
|
|
61 HOUSE_STABLES_59 = 59,
|
|
62 HOUSE_STABLES_60 = 60,
|
|
63 HOUSE_STABLES_61 = 61,
|
|
64 HOUSE_STABLES_62 = 62,
|
|
65 HOUSE_BOATS_63 = 63,
|
|
66 HOUSE_BOATS_64 = 64,
|
|
67 HOUSE_BOATS_65 = 65,
|
|
68 HOUSE_BOATS_66 = 66,
|
|
69 HOUSE_BOATS_67 = 67,
|
|
70 HOUSE_BOATS_68 = 68,
|
|
71 HOUSE_BOATS_69 = 69,
|
|
72 HOUSE_BOATS_70 = 70,
|
|
73 HOUSE_BOATS_71 = 71,
|
|
74 HOUSE_BOATS_72 = 72,
|
|
75 HOUSE_BOATS_73 = 73,
|
727
|
76 HOUSE_TEMPLE_EMERALD_ISLE = 74,
|
|
77 HOUSE_TEMPLE_HARMONDALE = 75,
|
758
|
78 HOUSE_TRAINING_HALL_EMERALD_ISLE = 89,
|
727
|
79 HOUSE_TRAINING_HALL_HARMONDALE = 90,
|
758
|
80 HOUSE_TRAINING_HALL_91 = 91,
|
|
81 HOUSE_TRAINING_HALL_92 = 92,
|
|
82 HOUSE_TRAINING_HALL_93 = 93,
|
|
83 HOUSE_TRAINING_HALL_94 = 94,
|
|
84 HOUSE_TRAINING_HALL_95 = 95,
|
|
85
|
727
|
86 HOUSE_TOWNHALL_HARMONDALE = 102,
|
|
87 HOUSE_TAVERN_EMERALD_ISLE = 107,
|
|
88 HOUSE_BANK_HARMONDALE = 128,
|
|
89 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
|
|
90 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
|
|
91 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
|
|
92 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
|
|
93 HOUSE_BODY_GUILD_ERATHIA = 165,
|
|
94 HOUSE_DARK_GUILD_PIT = 170,
|
|
95 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
|
|
96 HOUSE_JAIL = 187,
|
|
97 HOUSE_JUDGE_HARMONDALE = 190,
|
|
98 HOUSE_224_EMERALD_ISLE = 224,
|
|
99 HOUSE_225_EMERALD_ISLE = 225,
|
778
|
100 HOUSE_238_EMERALD_ISLE = 238,
|
727
|
101 HOUSE_466_HARMONDALE = 466,
|
|
102 HOUSE_467_HARMONDALE = 467,
|
|
103 HOUSE_468_HARMONDALE = 468,
|
|
104 HOUSE_472_HARMONDALE = 472,
|
|
105 HOUSE_488_HARMONDALE = 488,
|
|
106 HOUSE_489_HARMONDALE = 489,
|
|
107 HOUSE_600 = 600,//???
|
|
108 HOUSE_601 = 601//???
|
|
109 };
|
629
|
110
|
735
|
111 enum HouseSoundID: unsigned __int32
|
|
112 {
|
758
|
113 HouseSound_Greeting = 1, // General greeting
|
|
114 HouseSound_NotEnoughMoney_TrainingSuccessful = 2,
|
|
115 HouseSound_Greeting_2 = 3, // Polite Greeting when you're guild member
|
735
|
116 HouseSound_Goodbye = 4 // farewells when bought something
|
|
117 };
|
|
118
|
758
|
119 void TrainingDialog();
|
762
|
120 void JailDialog();
|
629
|
121 void MagicShopDialog();
|
|
122 void GuildDialog();
|
711
|
123 void sub_4B6478();
|
727
|
124 bool __fastcall IsTravelAvailable(int a1);
|
629
|
125 void __cdecl TravelByTransport();
|
|
126 void TempleDialog();
|
|
127 void __cdecl TownHallDialog();
|
|
128 void __cdecl BankDialog();
|
|
129 void __cdecl TavernDialog();
|
735
|
130 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
|
629
|
131 void __cdecl WeaponShopDialog();
|
|
132 void __cdecl AlchemistDialog();
|
|
133 void __cdecl ArmorShopDialog();
|
|
134
|
|
135 extern int uHouse_ExitPic; // weak
|
|
136 extern int dword_591080; // weak
|
747
|
137 extern const stru159 pAnimatedRooms[196];
|
|
138 extern int in_current_building_type; // 00F8B198
|
|
139 extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C |