comparison mm7_data.cpp @ 631:3d03a3a674bc

Merge
author Nomad
date Mon, 11 Mar 2013 03:38:59 +0200
parents 59713bb36033
children 35ce4761382c
comparison
equal deleted inserted replaced
630:1b813023fcbd 631:3d03a3a674bc
66 66
67 #include "Awards.h" 67 #include "Awards.h"
68 Award pAwards[104]; 68 Award pAwards[104];
69 69
70 #include "stru159.h" 70 #include "stru159.h"
71 stru159 pAnimatedRooms[196] = //0x4E5F70
72 {
73 {"", 0x4, 0x1F4, 0, 0, 0},
74 {"Human Armor01", 0x20, 0x2C0, 2, 58, 0},
75 {"Necromancer Armor01", 0x20, 0x2D7, 2, 70, 0 },
76 {"Dwarven Armor01", 0x20, 0x2EE, 2, 5, 0 },
77 {"Wizard Armor", 0x20, 0x3BD, 2, 19, 0 },
78 {"Warlock Armor", 0x20, 0x2D6, 2, 35, 0 },
79 {"Elf Armor", 0x20, 0x2BC, 2, 79, 0 },
80 {"Human Alchemisht01", 0xE, 0x2BE, 4, 95, 0 },
81 {"Necromancer Alchemist01", 0xE, 0x2D6, 4, 69, 0 },
82 {"Dwarven Achemist01", 0xE, 0x387, 4, 4, 0 },
83 {"Wizard Alchemist", 0xE, 0x232, 4, 25, 0 },
84 {"Warlock Alchemist", 0xE, 0x2BE, 4, 42, 0 },
85 {"Elf Alchemist", 0xE, 0x38A, 4, 84, 0 },
86 {"Human Bank01", 0x6, 0x384, 22, 52, 0 },
87 {"Necromancer Bank01", 0x6, 0x2D8, 22, 71, 0 },
88 {"Dwarven Bank", 0x6, 0x2F3, 22, 6, 0 },
89 {"Wizard Bank", 0x6, 0x3BA, 22, 20, 0 },
90 {"Warlock Bank", 0x6, 0x39F, 22, 36, 0 },
91 {"Elf Bank", 0x6, 0x2BC, 22, 71, 0 },
92 {"Boat01", 0xF, 0x4C, 28, 53, 3 },
93 {"Boat01d", 0xF, 0x4C, 28, 53, 3 },
94 {"Human Magic Shop01", 0xA, 0x2C8, 3, 54, 0 },
95 {"Necromancer Magic Shop01", 0xE, 0x2DC, 3, 66, 0 },
96 {"Dwarven Magic Shop01", 0x2A, 0x2EF, 3, 91, 0 },
97 {"Wizard Magic Shop", 0x1E, 0x2DF, 3, 15, 0 },
98 {"Warlock Magic Shop", 0x7, 0x3B9, 3, 15, 0 },
99 {"Elf Magic Shop", 0x24, 0x2CC, 3, 82, 0 },
100 {"Human Stables01", 0x21, 0x31, 27, 48, 3 },
101 {"Necromancer Stables", 0x21, 0x2DD, 27, 67, 3 },
102 {"", 0x21, 0x2F0, 27, 91, 3 },
103 {"Wizard Stables", 0x21, 0x3BA, 27, 16, 3 },
104 {"Warlock Stables", 0x21, 0x181, 27, 77, 3 },
105 {"Elf Stables", 0x21, 0x195, 27, 77, 3 },
106 {"Human Tavern01", 0xD, 0x2C2, 21, 49, 0 },
107 {"Necromancer Tavern01", 0xD, 0x3B0, 21, 57, 0 },
108 {"Dwarven Tavern01", 0xD, 0x2FE, 21, 94, 0 },
109 {"Wizard Tavern", 0xD, 0x3BB, 21, 17, 0 },
110 {"Warlock Tavern", 0xD, 0x3A8, 21, 33, 0 },
111 {"Elf Tavern", 0xD, 0x2CD, 21, 78, 0 },
112 {"Human Temple01", 0x24, 0x2DB, 23, 50, 3 },
113 {"Necromancer Temple", 0x24, 0x2DF, 23, 60, 3 },
114 {"Dwarven Temple01", 0x24, 0x2F1, 23, 86, 3 },
115 {"Wizard Temple", 0x24, 0x2E0, 23, 10, 3 },
116 {"Warlock Temple", 0x24, 0x3A4, 23, 27, 3 },
117 {"Elf Temple", 0x24, 0x2CE, 23, 72, 3 },
118 {"Human Town Hall", 0x10, 0x39C, 17, 14, 0 },
119 {"Necromancer Town Hall01", 0x10, 0x3A4, 17, 61, 0 },
120 {"Dwarven Town Hall", 0x10, 0x2DB, 17, 88, 0 },
121 {"Wizard Town Hall", 0x10, 0x3BD, 17, 11, 0 },
122 {"Warlock Town Hall", 0x10, 0x2DB, 17, 28, 0 },
123 {"Elf Town Hall", 0x10, 0x27A, 17, 73, 0 },
124 {"Human Training Ground01", 0x18, 0x2C7, 30, 44, 0 },
125 {"Necromancer Training Ground", 0x18, 0x3AD, 30, 62, 0 },
126 {"Dwarven Training Ground", 0x18, 0x2F2, 30, 89, 0 },
127 {"Wizard Training Ground", 0x18, 0x3A3, 30, 12, 0 },
128 {"Warlock Training Ground", 0x18, 0x3A6, 30, 29, 0 },
129 {"Elf Training Ground", 0x18, 0x19F, 30, 74, 0 },
130 {"Human Weapon Smith01", 0x16, 0x2C1, 1, 45, 4 },
131 {"Necromancer Weapon Smith01", 0x16, 0x2D9, 1, 63, 4 },
132 {"Dwarven Weapon Smith01", 0x16, 0x2EE, 1, 82, 4 },
133 {"Wizard Weapon Smith", 0x16, 0x2D5, 1, 13, 4 },
134 {"Warlock Weapon Smith", 0x16, 0x2D7, 1, 23, 4 },
135 {"Elf Weapon Smith", 0x16, 0x2CA, 1, 75, 4 },
136 {"Air Guild", 0x1D, 0xA4, 6, 1, 3 },
137 {"Body Guild", 0x19, 0x3BF, 11, 2, 0 },
138 {"DarkGuild", 0x19, 0x2D1, 13, 3, 0 },
139 {"EarthGuild", 0x19, 0x2CB, 8, 83, 0 },
140 {"Fire Guild", 0x1C, 0x2BF, 5, 56, 0 },
141 {"Light Guild", 0x1C, 0x2D5, 12, 46, 0 },
142 {"Mind Guild", 0x1C, 0xE5, 10, 40, 0 },
143 {"Spirit Guild", 0x1C, 0x2D2, 9, 41, 0 },
144 {"Water Guild", 0x1B, 0x2D3, 7, 24, 0 },
145 {"Lord And Judge Out01", 1, 0, 29, 39, 0 },
146 {"Human Poor House 1", 8, 0, 29, 0, 0 },
147 {"Human Poor House 2", 8, 0, 29, 0, 0 },
148 {"Human Poor House 3", 8, 0, 29, 0, 0 },
149 {"Human Medium House 1", 8, 0, 29, 0, 0 },
150 {"Human Medium House 2", 8, 0, 29, 0, 0 },
151 {"Human Medium House 3", 8, 0, 29, 0, 0 },
152 {"Human Rich House 1", 8, 0, 29, 0, 0 },
153 {"Human Rich House 2", 8, 0, 29, 0, 0 },
154 {"Human Rich House 3", 8, 0, 29, 0, 0 },
155 {"Elven Poor House 1", 8, 0, 29, 0, 0 },
156 {"Elven Poor House 2", 8, 0, 29, 0, 0 },
157 {"Elven Poor House 3", 8, 0, 29, 0, 0 },
158 {"Elven Medium House 1", 8, 0, 29, 0, 0 },
159 {"Elven Medium House 2", 8, 0, 29, 0, 0 },
160 {"Elven Medium House 3", 8, 0, 29, 0, 0 },
161 {"Elven Rich House 1", 8, 0, 29, 0, 0 },
162 {"Elven Rich House 2", 8, 0, 29, 0, 0 },
163 {"Elven Rich House 3", 8, 0, 29, 0, 0 },
164 {"Dwarven Poor House 1", 8, 0, 29, 0, 0 },
165 {"Dwarven Poor House 2", 8, 0, 29, 0, 0 },
166 {"Dwarven Poor House 3", 8, 0, 29, 0, 0 },
167 {"Dwarven Medium House 1", 8, 0, 29, 0, 0 },
168 {"Dwarven Medium house 2", 8, 0, 29, 0, 0 },
169 {"Dwarven Medium House 3", 8, 0, 29, 0, 0 },
170 {"Dwarven Rich House 1", 8, 0, 29, 0, 0 },
171 {"Dwarven Rich House 2", 8, 0, 29, 0, 0 },
172 {"Dwarven Rich House 3", 8, 0, 29, 0, 0 },
173 {"Wizard Poor House 1", 8, 0, 29, 0, 0 },
174 {"Wizard Poor House 2", 8, 0, 29, 0, 0 },
175 {"Wizard Poor House 3", 8, 0, 29, 0, 0 },
176 {"Wizard Medium House 1", 8, 0, 29, 0, 0 },
177 {"Wizard Medium House 2", 8, 0, 29, 0, 0 },
178 {"Wizard Mdeium House 3", 8, 0, 29, 0, 0 },
179 {"Wizard Rich House 1", 8, 0, 29, 0, 0 },
180 {"Wizard Rich House 2", 8, 0, 29, 0, 0 },
181 {"Wizard Rich House 3", 8, 0, 29, 0, 0 },
182 {"Necromancer Poor House 1", 8, 0, 29, 0, 0 },
183 {"Necromancer Poor House 2", 8, 0, 29, 0, 0 },
184 {"Necromancer Poor House 3", 8, 0, 29, 0, 0 },
185 {"Necromancer Medium House 1", 8, 0, 29, 0, 0 },
186 {"Necromancer Medium House 2", 8, 0, 29, 0, 0 },
187 {"Necromancer Mdeium House 3", 8, 0, 29, 0, 0 },
188 {"Necromancer Rich House 1", 8, 0, 29, 0, 0 },
189 {"Necromancer Rich House 2", 8, 0, 29, 0, 0 },
190 {"Necromancer Rich House 3", 8, 0, 29, 0, 0 },
191 {"Warlock Poor House 1", 8, 0, 29, 0, 0 },
192 {"Warlock Poor House 2", 8, 0, 29, 0, 0 },
193 {"Warlock Poor House 3", 8, 0, 29, 0, 0 },
194 {"Warlock Medium House 1", 8, 0, 29, 0, 0 },
195 {"Warlock Medium House 2", 8, 0, 29, 0, 0 },
196 {"Warlock Mdeium House 3", 8, 0, 29, 0, 0 },
197 {"Warlock Rich House 1", 8, 0, 29, 0, 0 },
198 {"Warlock Rich House 2", 8, 0, 29, 0, 0 },
199 {"Warlock Rich House 3", 8, 0, 29, 0, 0 },
200 {"Out01 Temple of the Moon", 0x24, 0, 25, 0, 0 },
201 {"Out01 Dragon Cave", 0x24, 0, 25, 0, 0 },
202 {"Out02 Castle Harmondy", 0x24, 0, 25, 0, 0 },
203 {"Out02 White Cliff Cave", 0x24, 0, 25, 0, 0 },
204 {"Out03 Erathian Sewer", 0x24, 0, 25, 0, 0 },
205 {"Out03 Fort Riverstride", 0x24, 0, 25, 0, 0 },
206 {"Out03 Castle Gryphonheart", 0x24, 0, 25, 0, 0 },
207 {"Out04 Elf Castle", 0x24, 0, 25, 0, 0 },
208 {"Out04 Tularean Caves", 0x24, 0, 25, 0, 0 },
209 {"Out04 Clanker's Laboratory", 0x24, 0, 25, 0, 0 },
210 {"Out05 Hall of the Pit", 0x24, 0, 25, 0, 0 },
211 {"Out05 Watchtower 6", 0x24, 0, 25, 0, 0 },
212 {"Out06 School of Sorcery", 0x24, 0, 25, 0, 0 },
213 {"Out06 Red Dwarf Mines", 0x24, 0, 25, 0, 0 },
214 {"Out07 Castle Lambert", 0x24, 0, 25, 0, 0 },
215 {"Out07 Walls of Mist", 0x24, 0, 25, 0, 0 },
216 {"Out07 Temple of the Light", 0x24, 0, 25, 0, 0 },
217 {"Out08 Evil Entrance", 0x24, 0, 25, 0, 0 },
218 {"Out08 Breeding Zone", 0x24, 0, 25, 0, 0 },
219 {"Out08 Temple of the Dark", 0x24, 0, 25, 0, 0 },
220 {"Out09 Grand Temple of the Moon", 0x24, 0, 25, 0, 0 },
221 {"Out09 Grand Tempple of the Sun", 0x24, 0, 25, 0, 0 },
222 {"Out10 Thunderfist Mountain", 0x24, 0, 25, 0, 0 },
223 {"Out10 The Maze", 0x24, 0, 25, 0, 0 },
224 {"Out10 Connecting Tunnel Cave #1", 0x24, 0, 25, 0, 0 },
225 {"", 0x24, 0, 25, 0, 0 },
226 {"", 0x24, 0, 25, 0, 0 },
227 {"Out11 Stone City", 0x24, 0, 25, 0, 0 },
228 {"", 0x24, 0, 25, 0, 0 },
229 {"Out12 Colony Zod", 0x24, 0, 25, 0, 0 },
230 {"Out12 Connecting Tunnel Cave #1", 0x24, 0, 25, 0, 0 },
231 {"", 0x24, 0, 25, 0, 0 },
232 {"", 0x24, 0, 25, 0, 0 },
233 {"Out13 Mercenary Guild", 0x24, 0, 25, 0, 0 },
234 {"Out13 Tidewater Caverns", 0x24, 0, 25, 0, 0 },
235 {"Out13 Wine Cellar", 0x24, 0, 25, 0, 0 },
236 {"Out14 Titan's Stronghold", 0x24, 0, 25, 0, 0 },
237 {"Out14 Temple Of Baa", 0x24, 0, 25, 0, 0 },
238 {"Out14 Hall under the Hill", 0x24, 0, 25, 0, 0 },
239 {"Out15 The Linclon", 0x24, 0, 25, 0, 0 },
240 {"Jail", 0x24, 0, 31, 0, 0 },
241 {"Harmondale Throne Room", 0x24, 0, 29, 0, 0 },
242 {"Gryphonheart Throne Room", 0x24, 0, 20, 0, 0 },
243 {"Elf Castle Throne Room", 0x24, 0, 20, 0, 0 },
244 {"Wizard Castle Throne Room", 0x24, 0, 20, 0, 0 },
245 {"Necromancer Casstle Trone Room", 0x24, 0, 20, 0, 0 },
246 {"Master Thief", 0x24, 0, 29, 0, 0 },
247 {"Dwarven King", 0x24, 0, 20, 0, 0 },
248 {"Arms Master", 0x24, 0, 29, 0, 0 },
249 {"Warlock", 0x24, 0, 29, 0, 0 },
250 {"Lord Markam", 0x24, 0, 20, 0, 0 },
251 {"Arbiter Neutral Town", 0x24, 0, 29, 0, 0 },
252 {"Arbiter Good Town", 0x24, 0, 29, 0, 0 },
253 {"Arbiter Evil Town", 0x24, 0, 29, 0, 0 },
254 {"Necromancer Throne Room Empty", 0x24, 0, 20, 0, 0 },
255 {"", 0x24, 0, 29, 0, 0 },
256 {"", 0x24, 0, 29, 0, 0 },
257 {"", 0x24, 0, 29, 0, 0 },
258 {"", 0x24, 0, 29, 0, 0 },
259 {"Boat01", 0xF, 0, 29, 53, 3 },
260 {"", 0x24, 0, 28, 0, 0 },
261 {"", 0x24, 0, 28, 0, 0 },
262 {"", 0x24, 0, 28, 0, 0 },
263 {"", 0x24, 0, 29, 0, 0 },
264 {"Arbiter Room Neutral", 0x24, 0, 29, 0, 0 },
265 {"Out02 Castle Harmondy Abandoned", 0x24, 0, 25, 0, 0 },
266 {"Human Temple02", 0x24, 0x3AB, 23, 27, 0 },
267 {"Player Castle Good", 0x24, 0, 25, 0, 0 },
268 {"Player Castle Bad", 0x24, 0, 25, 0, 0}
269 };
270 71
271 #include "stru160.h" 72 #include "stru160.h"
272 stru160 array_4EB8B8[66] = 73 stru160 array_4EB8B8[66] =
273 { 74 {
274 stru160( 0.0000000f, 0.0000000f, 1.0000000f), 75 stru160( 0.0000000f, 0.0000000f, 1.0000000f),
1999 int dword_576E28; // weak 1800 int dword_576E28; // weak
2000 int dword_576E2C; // weak 1801 int dword_576E2C; // weak
2001 __int64 _5773B8_event_timer; // weak 1802 __int64 _5773B8_event_timer; // weak
2002 int dword_5773C0; // weak 1803 int dword_5773C0; // weak
2003 1804
2004 int dword_591080; // weak 1805
2005 int dword_591084; // weak 1806 int dword_591084; // weak
2006 struct Actor *pDialogue_SpeakingActor; 1807 struct Actor *pDialogue_SpeakingActor;
2007 unsigned int uDialogueType; 1808 unsigned int uDialogueType;
2008 signed int sDialogue_SpeakingActorNPC_ID; 1809 signed int sDialogue_SpeakingActorNPC_ID;
2009 struct LevelDecoration *_591094_decoration; 1810 struct LevelDecoration *_591094_decoration;
2016 int dword_591174_teleportz; // weak 1817 int dword_591174_teleportz; // weak
2017 int dword_591178_teleporty; // weak 1818 int dword_591178_teleporty; // weak
2018 int dword_59117C_teleportx; // weak 1819 int dword_59117C_teleportx; // weak
2019 char byte_591180[600]; // idb 1820 char byte_591180[600]; // idb
2020 struct NPCData *HouseNPCData[6];//array_5913D8 1821 struct NPCData *HouseNPCData[6];//array_5913D8
2021 int pDialogueNPCCount; 1822
2022 struct Texture *pDialogueNPCPortraits[6];
2023 int uNumDialogueNPCPortraits; // weak
2024 struct Texture *pTexture_591428; 1823 struct Texture *pTexture_591428;
2025 struct Texture *pTexture_outside; // idb 1824 struct Texture *pTexture_outside; // idb
2026 struct Texture *pTexture_Dialogue_Background; 1825 struct Texture *pTexture_Dialogue_Background;
2027 _UNKNOWN unk_597F10; // weak 1826 _UNKNOWN unk_597F10; // weak
2028 int start_event_seq_number; // weak 1827 int start_event_seq_number; // weak
2050 int bForceDrawStatusBar; // weak 1849 int bForceDrawStatusBar; // weak
2051 int dword_5C35C0; // weak 1850 int dword_5C35C0; // weak
2052 int bDialogueUI_InitializeActor_NPC_ID; // weak 1851 int bDialogueUI_InitializeActor_NPC_ID; // weak
2053 int dword_5C35C8; // weak 1852 int dword_5C35C8; // weak
2054 char *p2DEventsTXT_Raw; 1853 char *p2DEventsTXT_Raw;
2055 int uHouse_ExitPic; // weak 1854
2056 int dword_5C35D4; // weak 1855 int dword_5C35D4; // weak
2057 char *aAMPMNames[2]; 1856 char *aAMPMNames[2];
2058 char byte_5C45AF[777]; // weak 1857 char byte_5C45AF[777]; // weak
2059 1858
2060 char pFinalMessage[4096]; // idb 1859 char pFinalMessage[4096]; // idb
2259 const char *pScrolls[82]; 2058 const char *pScrolls[82];
2260 int dword_723E80_award_related[777]; // weak 2059 int dword_723E80_award_related[777]; // weak
2261 int dword_723E84[777]; // weak 2060 int dword_723E84[777]; // weak
2262 int dword_7241C8; // weak 2061 int dword_7241C8; // weak
2263 struct unk_F7B60C stru_73C834; // struct @ MM7.exe::0073C834 2062 struct unk_F7B60C stru_73C834; // struct @ MM7.exe::0073C834
2264 struct NPCStats *pNPCStats = nullptr; 2063
2265 char *aNPCProfessionNames[59]; 2064 char *aNPCProfessionNames[59];
2266 char *pAwardsTXT_Raw; 2065 char *pAwardsTXT_Raw;
2267 char *pScrollsTXT_Raw; 2066 char *pScrollsTXT_Raw;
2268 char *pMerchantsTXT_Raw; 2067 char *pMerchantsTXT_Raw;
2269 const char *pMerchantsBuyPhrases[7]; 2068 const char *pMerchantsBuyPhrases[7];