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,
|
|
13 HOUSE_DIALOGUE_6 = 6,
|
|
14 HOUSE_DIALOGUE_7 = 7,
|
|
15 HOUSE_DIALOGUE_8 = 8,
|
|
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,
|
|
24 HOUSE_DIALOGUE_17 = 17,
|
|
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,
|
|
32 //...
|
|
33 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN = 101,
|
|
34 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_102 = 102,
|
|
35 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_103 = 103,
|
|
36 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT = 104,
|
|
37
|
|
38 HOUSE_DIALOGUE_OTHER = -1
|
|
39 };
|
629
|
40
|
|
41 /* 349 */
|
|
42 enum HOUSE_ID
|
727
|
43 {
|
|
44 HOUSE_SMITH_EMERALD_ISLE = 1,
|
|
45 HOUSE_ARMOURER_EMERALD_ISLE = 15,
|
|
46 HOUSE_MAGE_EMERALD_ISLE = 29,
|
|
47 HOUSE_MAGE_HARMONDALE = 30,
|
|
48 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
|
|
49 HOUSE_ALCHEMIST_HARMONDALE = 43,
|
|
50 HOUSE_STABLES_HARMONDALE = 54,
|
|
51 HOUSE_TEMPLE_EMERALD_ISLE = 74,
|
|
52 HOUSE_TEMPLE_HARMONDALE = 75,
|
|
53 HOUSE_TRAINING_HALL_HARMONDALE = 90,
|
|
54 HOUSE_TOWNHALL_HARMONDALE = 102,
|
|
55 HOUSE_TAVERN_EMERALD_ISLE = 107,
|
|
56 HOUSE_BANK_HARMONDALE = 128,
|
|
57 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
|
|
58 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
|
|
59 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
|
|
60 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
|
|
61 HOUSE_BODY_GUILD_ERATHIA = 165,
|
|
62 HOUSE_DARK_GUILD_PIT = 170,
|
|
63 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
|
|
64 HOUSE_JAIL = 187,
|
|
65 HOUSE_JUDGE_HARMONDALE = 190,
|
|
66 HOUSE_224_EMERALD_ISLE = 224,
|
|
67 HOUSE_225_EMERALD_ISLE = 225,
|
|
68 HOUSE_466_HARMONDALE = 466,
|
|
69 HOUSE_467_HARMONDALE = 467,
|
|
70 HOUSE_468_HARMONDALE = 468,
|
|
71 HOUSE_472_HARMONDALE = 472,
|
|
72 HOUSE_488_HARMONDALE = 488,
|
|
73 HOUSE_489_HARMONDALE = 489,
|
|
74 HOUSE_600 = 600,//???
|
|
75 HOUSE_601 = 601//???
|
|
76 };
|
629
|
77
|
735
|
78 enum HouseSoundID: unsigned __int32
|
|
79 {
|
|
80 HouseSound_Greeting = 1,
|
|
81 HouseSound_NotEnoughMoney = 2,
|
|
82 HouseSound_Greeting_2 = 3, // good greeting when you're guild member
|
|
83 HouseSound_Goodbye = 4 // farewells when bought something
|
|
84 };
|
|
85
|
629
|
86 int __cdecl TrainingDialog();
|
|
87 char *__cdecl JailDialog();
|
|
88 void MagicShopDialog();
|
|
89 void GuildDialog();
|
711
|
90 void sub_4B6478();
|
727
|
91 bool __fastcall IsTravelAvailable(int a1);
|
629
|
92 void __cdecl TravelByTransport();
|
|
93 void TempleDialog();
|
|
94 void __cdecl TownHallDialog();
|
|
95 void __cdecl BankDialog();
|
|
96 void __cdecl TavernDialog();
|
735
|
97 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
|
629
|
98 void __cdecl WeaponShopDialog();
|
|
99 void __cdecl AlchemistDialog();
|
|
100 void __cdecl ArmorShopDialog();
|
|
101
|
|
102 extern int uHouse_ExitPic; // weak
|
|
103 extern int dword_591080; // weak
|
747
|
104 extern const stru159 pAnimatedRooms[196];
|
|
105 extern int in_current_building_type; // 00F8B198
|
|
106 extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C |