629
|
1 #pragma once
|
|
2 #include "stru159.h"
|
|
3
|
747
|
4 enum HOUSE_DIALOGUE_MENU: unsigned __int32
|
|
5 {
|
|
6 HOUSE_DIALOGUE_NULL = 0,
|
|
7 HOUSE_DIALOGUE_MAIN = 1,
|
|
8 HOUSE_DIALOGUE_SHOP_BUY_STANDARD = 2,
|
|
9 HOUSE_DIALOGUE_SHOP_SELL = 3,
|
|
10 HOUSE_DIALOGUE_SHOP_IDENTIFY = 4,
|
|
11 HOUSE_DIALOGUE_SHOP_REPAIR = 5,
|
749
|
12 HOUSE_DIALOGUE_SHOP_6 = 6,
|
|
13 HOUSE_DIALOGUE_BANK_7 = 7,
|
|
14 HOUSE_DIALOGUE_BANK_8 = 8,
|
747
|
15 HOUSE_DIALOGUE_9 = 9,
|
|
16 HOUSE_DIALOGUE_TEMPLE_HEAL = 10,
|
|
17 HOUSE_DIALOGUE_TEMPLE_DONATE = 11,
|
|
18 HOUSE_DIALOGUE_12 = 12,
|
|
19 HOUSE_DIALOGUE_13 = 13,
|
|
20 HOUSE_DIALOGUE_14 = 14,
|
|
21 HOUSE_DIALOGUE_TAVERN_REST = 15,
|
|
22 HOUSE_DIALOGUE_TAVERN_BUY_FOOD = 16,
|
758
|
23 HOUSE_DIALOGUE_TRAININGHALL_TRAIN = 17,
|
747
|
24 HOUSE_DIALOGUE_GULD_BUY_BOOKS = 18,
|
|
25 //...
|
|
26 HOUSE_DIALOGUE_GUILD_LEARN_SKILL = 72,
|
|
27 //...
|
|
28 HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT = 94,
|
|
29 HOUSE_DIALOGUE_SHOP_BUY_SPECIAL = 95,
|
|
30 HOUSE_DIALOGUE_LEARN_SKILLS = 96,
|
749
|
31 HOUSE_DIALOGUE_97 = 97,
|
|
32 HOUSE_DIALOGUE_98 = 98,
|
|
33 HOUSE_DIALOGUE_TOWNHALL_99 = 99,
|
|
34 HOUSE_DIALOGUE_TOWNHALL_100 = 100,
|
747
|
35 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN = 101,
|
|
36 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_102 = 102,
|
|
37 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_103 = 103,
|
|
38 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT = 104,
|
777
|
39 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_1 = 105,
|
|
40 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_2 = 106,
|
|
41 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_3 = 107,
|
|
42 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_4 = 108,
|
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,
|
777
|
56 HOUSE_STABLES_STEADWICK = 55,
|
|
57 HOUSE_STABLES_56 = 56,
|
|
58 HOUSE_STABLES_57 = 57,
|
|
59 HOUSE_STABLES_58 = 58,
|
|
60 HOUSE_STABLES_59 = 59,
|
|
61 HOUSE_STABLES_60 = 60,
|
|
62 HOUSE_STABLES_61 = 61,
|
|
63 HOUSE_STABLES_62 = 62,
|
|
64 HOUSE_BOATS_63 = 63,
|
|
65 HOUSE_BOATS_64 = 64,
|
|
66 HOUSE_BOATS_65 = 65,
|
|
67 HOUSE_BOATS_66 = 66,
|
|
68 HOUSE_BOATS_67 = 67,
|
|
69 HOUSE_BOATS_68 = 68,
|
|
70 HOUSE_BOATS_69 = 69,
|
|
71 HOUSE_BOATS_70 = 70,
|
|
72 HOUSE_BOATS_71 = 71,
|
|
73 HOUSE_BOATS_72 = 72,
|
|
74 HOUSE_BOATS_73 = 73,
|
727
|
75 HOUSE_TEMPLE_EMERALD_ISLE = 74,
|
|
76 HOUSE_TEMPLE_HARMONDALE = 75,
|
758
|
77 HOUSE_TRAINING_HALL_EMERALD_ISLE = 89,
|
727
|
78 HOUSE_TRAINING_HALL_HARMONDALE = 90,
|
758
|
79 HOUSE_TRAINING_HALL_91 = 91,
|
|
80 HOUSE_TRAINING_HALL_92 = 92,
|
|
81 HOUSE_TRAINING_HALL_93 = 93,
|
|
82 HOUSE_TRAINING_HALL_94 = 94,
|
|
83 HOUSE_TRAINING_HALL_95 = 95,
|
|
84
|
727
|
85 HOUSE_TOWNHALL_HARMONDALE = 102,
|
|
86 HOUSE_TAVERN_EMERALD_ISLE = 107,
|
|
87 HOUSE_BANK_HARMONDALE = 128,
|
|
88 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
|
|
89 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
|
|
90 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
|
|
91 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
|
|
92 HOUSE_BODY_GUILD_ERATHIA = 165,
|
|
93 HOUSE_DARK_GUILD_PIT = 170,
|
|
94 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
|
|
95 HOUSE_JAIL = 187,
|
|
96 HOUSE_JUDGE_HARMONDALE = 190,
|
|
97 HOUSE_224_EMERALD_ISLE = 224,
|
|
98 HOUSE_225_EMERALD_ISLE = 225,
|
778
|
99 HOUSE_238_EMERALD_ISLE = 238,
|
727
|
100 HOUSE_466_HARMONDALE = 466,
|
|
101 HOUSE_467_HARMONDALE = 467,
|
|
102 HOUSE_468_HARMONDALE = 468,
|
|
103 HOUSE_472_HARMONDALE = 472,
|
|
104 HOUSE_488_HARMONDALE = 488,
|
|
105 HOUSE_489_HARMONDALE = 489,
|
|
106 HOUSE_600 = 600,//???
|
|
107 HOUSE_601 = 601//???
|
|
108 };
|
629
|
109
|
735
|
110 enum HouseSoundID: unsigned __int32
|
|
111 {
|
758
|
112 HouseSound_Greeting = 1, // General greeting
|
|
113 HouseSound_NotEnoughMoney_TrainingSuccessful = 2,
|
|
114 HouseSound_Greeting_2 = 3, // Polite Greeting when you're guild member
|
735
|
115 HouseSound_Goodbye = 4 // farewells when bought something
|
|
116 };
|
|
117
|
758
|
118 void TrainingDialog();
|
762
|
119 void JailDialog();
|
629
|
120 void MagicShopDialog();
|
|
121 void GuildDialog();
|
711
|
122 void sub_4B6478();
|
727
|
123 bool __fastcall IsTravelAvailable(int a1);
|
629
|
124 void __cdecl TravelByTransport();
|
|
125 void TempleDialog();
|
|
126 void __cdecl TownHallDialog();
|
|
127 void __cdecl BankDialog();
|
|
128 void __cdecl TavernDialog();
|
735
|
129 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
|
629
|
130 void __cdecl WeaponShopDialog();
|
|
131 void __cdecl AlchemistDialog();
|
|
132 void __cdecl ArmorShopDialog();
|
|
133
|
|
134 extern int uHouse_ExitPic; // weak
|
|
135 extern int dword_591080; // weak
|
747
|
136 extern const stru159 pAnimatedRooms[196];
|
|
137 extern int in_current_building_type; // 00F8B198
|
|
138 extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C |