annotate UIHouses.h @ 743:353ff9ea11e6

m
author Ritor1
date Fri, 22 Mar 2013 23:42:09 +0600
parents 9f596a163257
children 6daaa2f18d0d
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
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
3 #include "stru159.h"
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
4
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
5 enum DIALOG_MENU
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
6 {
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
7 DIALOG_SHOP_MAIN = 1,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
8 DIALOG_SHOP_BUY_STANDART = 2,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
9 DIALOG_SHOP_SELL = 3,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
10 DIALOG_SHOP_IDENTIFY = 4,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
11 DIALOG_SHOP_REPAIR = 5,
644
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
12 DIALOG_SHOP_REST = 15,
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
13 DIALOG_SHOP_BYE_FOOD = 16,
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
14 DIALOG_SHOP_DISPLAY_EQUIPMENT = 94,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
15 DIALOG_SHOP_BUY_SPECIAL = 95,
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
16 DIALOG_SHOP_SKILLS = 96,
644
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
17 DIALOG_SHOP_ARCOMAGE_MAIN = 101,
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
18 DIALOG_SHOP_ARCOMAGE_102 = 102,
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
19 DIALOG_SHOP_ARCOMAGE_103 = 103,
527a052c2a98 TavernDialog little clean
Ritor1
parents: 629
diff changeset
20 DIALOG_SHOP_ARCOMAGE_RESULT = 104,
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
21 };
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
22
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
23 /* 349 */
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
24 enum HOUSE_ID
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
25 {
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
26 HOUSE_SMITH_EMERALD_ISLE = 1,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
27 HOUSE_ARMOURER_EMERALD_ISLE = 15,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
28 HOUSE_MAGE_EMERALD_ISLE = 29,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
29 HOUSE_MAGE_HARMONDALE = 30,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
30 HOUSE_ALCHEMIST_EMERALD_ISLE = 42,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
31 HOUSE_ALCHEMIST_HARMONDALE = 43,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
32 HOUSE_STABLES_HARMONDALE = 54,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
33 HOUSE_TEMPLE_EMERALD_ISLE = 74,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
34 HOUSE_TEMPLE_HARMONDALE = 75,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
35 HOUSE_TRAINING_HALL_HARMONDALE = 90,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
36 HOUSE_TOWNHALL_HARMONDALE = 102,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
37 HOUSE_TAVERN_EMERALD_ISLE = 107,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
38 HOUSE_BANK_HARMONDALE = 128,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
39 HOUSE_FIRE_GUILD_INITIATE_EMERALD_ISLE = 139,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
40 HOUSE_AIR_GUILD_INITIATE_EMERALD_ISLE = 143,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
41 HOUSE_SPIRIT_GUILD_INITIATE_EMERALD_ISLE = 155,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
42 HOUSE_BODY_GUILD_INITIATE_EMERALD_ISLE = 163,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
43 HOUSE_BODY_GUILD_ERATHIA = 165,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
44 HOUSE_DARK_GUILD_PIT = 170,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
45 HOUSE_LORD_AND_JUDGE_EMERALD_ISLE = 186,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
46 HOUSE_JAIL = 187,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
47 HOUSE_JUDGE_HARMONDALE = 190,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
48 HOUSE_224_EMERALD_ISLE = 224,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
49 HOUSE_225_EMERALD_ISLE = 225,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
50 HOUSE_466_HARMONDALE = 466,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
51 HOUSE_467_HARMONDALE = 467,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
52 HOUSE_468_HARMONDALE = 468,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
53 HOUSE_472_HARMONDALE = 472,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
54 HOUSE_488_HARMONDALE = 488,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
55 HOUSE_489_HARMONDALE = 489,
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
56 HOUSE_600 = 600,//???
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
57 HOUSE_601 = 601//???
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
58 };
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
59
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
60 int __cdecl TrainingDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
61 char *__cdecl JailDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
62 void MagicShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
63 void GuildDialog();
711
a5e587c8e30e some cleaning
Gloval
parents: 644
diff changeset
64 void sub_4B6478();
727
da130dd3092a Big time Travel ouverhaul
Nomad
parents: 644
diff changeset
65 bool __fastcall IsTravelAvailable(int a1);
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
66 void __cdecl TravelByTransport();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
67 void TempleDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
68 void __cdecl TownHallDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
69 void __cdecl BankDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
70 void __cdecl TavernDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
71 void __fastcall HousePlaySomeSound(unsigned int uHouseID, int a2); // idb
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
72 void __cdecl WeaponShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
73 void __cdecl AlchemistDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
74 void __cdecl ArmorShopDialog();
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
75
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
76 extern int uHouse_ExitPic; // weak
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
77 extern int dword_591080; // weak
59713bb36033 houses func moved to uihouses
Gloval
parents: 620
diff changeset
78 extern const stru159 pAnimatedRooms[196];