annotate UIHouses.h @ 1071:a7e63532b9a8

pointer cleaning
author zipi
date Fri, 24 May 2013 20:57:11 +0100
parents c45d51b3f4f4
children 502b8b2e36b4
rev   line source
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
1 #pragma once
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
2
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
3 enum HOUSE_DIALOGUE_MENU: unsigned __int32
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
4 {
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
5 HOUSE_DIALOGUE_NULL = 0,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
6 HOUSE_DIALOGUE_MAIN = 1,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
7 HOUSE_DIALOGUE_SHOP_BUY_STANDARD = 2,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
8 HOUSE_DIALOGUE_SHOP_SELL = 3,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
9 HOUSE_DIALOGUE_SHOP_IDENTIFY = 4,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
10 HOUSE_DIALOGUE_SHOP_REPAIR = 5,
749
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
11 HOUSE_DIALOGUE_SHOP_6 = 6,
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
12 HOUSE_DIALOGUE_BANK_7 = 7,
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
13 HOUSE_DIALOGUE_BANK_8 = 8,
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
14 HOUSE_DIALOGUE_9 = 9,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
15 HOUSE_DIALOGUE_TEMPLE_HEAL = 10,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
16 HOUSE_DIALOGUE_TEMPLE_DONATE = 11,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
17 HOUSE_DIALOGUE_12 = 12,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
18 HOUSE_DIALOGUE_13 = 13,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
19 HOUSE_DIALOGUE_14 = 14,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
20 HOUSE_DIALOGUE_TAVERN_REST = 15,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
21 HOUSE_DIALOGUE_TAVERN_BUY_FOOD = 16,
758
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
22 HOUSE_DIALOGUE_TRAININGHALL_TRAIN = 17,
874
231523a39203 Buy books(first)
Ritor1
parents: 854
diff changeset
23 HOUSE_DIALOGUE_GUILD_BUY_BOOKS = 18,
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
24 //...
900
4dc2252e0b03 CharacterUI_StatsTab_ShowHint fixed
Ritor1
parents: 874
diff changeset
25 HOUSE_DIALOGUE_36 = 36,
4dc2252e0b03 CharacterUI_StatsTab_ShowHint fixed
Ritor1
parents: 874
diff changeset
26 //..
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
27 HOUSE_DIALOGUE_GUILD_LEARN_SKILL = 72,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
28 //...
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
29 HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT = 94,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
30 HOUSE_DIALOGUE_SHOP_BUY_SPECIAL = 95,
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
31 HOUSE_DIALOGUE_LEARN_SKILLS = 96,
749
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
32 HOUSE_DIALOGUE_97 = 97,
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
33 HOUSE_DIALOGUE_98 = 98,
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
34 HOUSE_DIALOGUE_TOWNHALL_99 = 99,
f39fbeb65b28 Fixed bought items not disappearing from Armourer.
Nomad
parents: 747
diff changeset
35 HOUSE_DIALOGUE_TOWNHALL_100 = 100,
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
36 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN = 101,
854
06fc66ceecd6 for Arcomage game
Ritor1
parents: 816
diff changeset
37 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RULES = 102,
06fc66ceecd6 for Arcomage game
Ritor1
parents: 816
diff changeset
38 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_VICTORY_CONDITIONS = 103,
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
39 HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT = 104,
777
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
40 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_1 = 105,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
41 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_2 = 106,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
42 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_3 = 107,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
43 HOUSE_DIALOGUE_TRANSPORT_SCHEDULE_4 = 108,
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
44 HOUSE_DIALOGUE_OTHER = -1
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
45 };
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
46
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
47 /* 349 */
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
48 enum HOUSE_ID
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
49 {
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
50 HOUSE_SMITH_EMERALD_ISLE = 1,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
51 HOUSE_ARMOURER_EMERALD_ISLE = 15,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
52 HOUSE_MAGE_EMERALD_ISLE = 29,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
53 HOUSE_MAGE_HARMONDALE = 30,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
54 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
55 HOUSE_ALCHEMIST_HARMONDALE = 43,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
56 HOUSE_STABLES_HARMONDALE = 54,
777
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
57 HOUSE_STABLES_STEADWICK = 55,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
58 HOUSE_STABLES_56 = 56,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
59 HOUSE_STABLES_57 = 57,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
60 HOUSE_STABLES_58 = 58,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
61 HOUSE_STABLES_59 = 59,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
62 HOUSE_STABLES_60 = 60,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
63 HOUSE_STABLES_61 = 61,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
64 HOUSE_STABLES_62 = 62,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
65 HOUSE_BOATS_63 = 63,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
66 HOUSE_BOATS_64 = 64,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
67 HOUSE_BOATS_65 = 65,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
68 HOUSE_BOATS_66 = 66,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
69 HOUSE_BOATS_67 = 67,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
70 HOUSE_BOATS_68 = 68,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
71 HOUSE_BOATS_69 = 69,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
72 HOUSE_BOATS_70 = 70,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
73 HOUSE_BOATS_71 = 71,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
74 HOUSE_BOATS_72 = 72,
b9f6dd6f1444 Travel by Transport finally works (phew).
Nomad
parents: 762
diff changeset
75 HOUSE_BOATS_73 = 73,
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
76 HOUSE_TEMPLE_EMERALD_ISLE = 74,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
77 HOUSE_TEMPLE_HARMONDALE = 75,
758
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
78 HOUSE_TRAINING_HALL_EMERALD_ISLE = 89,
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
79 HOUSE_TRAINING_HALL_HARMONDALE = 90,
758
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
80 HOUSE_TRAINING_HALL_91 = 91,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
81 HOUSE_TRAINING_HALL_92 = 92,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
82 HOUSE_TRAINING_HALL_93 = 93,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
83 HOUSE_TRAINING_HALL_94 = 94,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
84 HOUSE_TRAINING_HALL_95 = 95,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
85
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
86 HOUSE_TOWNHALL_HARMONDALE = 102,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
87 HOUSE_TAVERN_EMERALD_ISLE = 107,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
88 HOUSE_BANK_HARMONDALE = 128,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
89 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
90 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
91 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
92 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
93 HOUSE_BODY_GUILD_ERATHIA = 165,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
94 HOUSE_DARK_GUILD_PIT = 170,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
95 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
96 HOUSE_JAIL = 187,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
97 HOUSE_JUDGE_HARMONDALE = 190,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
98 HOUSE_224_EMERALD_ISLE = 224,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
99 HOUSE_225_EMERALD_ISLE = 225,
778
Nomad
parents: 777
diff changeset
100 HOUSE_238_EMERALD_ISLE = 238,
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
101 HOUSE_466_HARMONDALE = 466,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
102 HOUSE_467_HARMONDALE = 467,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
103 HOUSE_468_HARMONDALE = 468,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
104 HOUSE_472_HARMONDALE = 472,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
105 HOUSE_488_HARMONDALE = 488,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
106 HOUSE_489_HARMONDALE = 489,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
107 HOUSE_600 = 600,//???
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
108 HOUSE_601 = 601//???
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
109 };
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
110
735
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
111 enum HouseSoundID: unsigned __int32
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
112 {
758
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
113 HouseSound_Greeting = 1, // General greeting
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
114 HouseSound_NotEnoughMoney_TrainingSuccessful = 2,
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
115 HouseSound_Greeting_2 = 3, // Polite Greeting when you're guild member
735
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
116 HouseSound_Goodbye = 4 // farewells when bought something
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
117 };
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
118
758
9f7db515a8d7 Training Hall & levelling up fixed
Nomad
parents: 749
diff changeset
119 void TrainingDialog();
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 758
diff changeset
120 void JailDialog();
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
121 void MagicShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
122 void GuildDialog();
711
a5e587c8e30e some cleaning
Gloval
parents: 644
diff changeset
123 void sub_4B6478();
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
124 bool __fastcall IsTravelAvailable(int a1);
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
125 void __cdecl TravelByTransport();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
126 void TempleDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
127 void __cdecl TownHallDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
128 void __cdecl BankDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
129 void __cdecl TavernDialog();
735
6daaa2f18d0d Fixed some house sounds & shop-related stuff
Nomad
parents: 728
diff changeset
130 void PlayHouseSound(unsigned int uHouseID, HouseSoundID sound); // idb
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
131 void __cdecl WeaponShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
132 void __cdecl AlchemistDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
133 void __cdecl ArmorShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
134
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
135 extern int uHouse_ExitPic; // weak
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
136 extern int dword_591080; // weak
747
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
137 extern int in_current_building_type; // 00F8B198
585490c29945 House dialogue ids appended
Nomad
parents: 735
diff changeset
138 extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C