Mercurial > mm7
comparison Items.h @ 224:9917d3b4925e
items init refactored
author | Gloval |
---|---|
date | Sun, 17 Feb 2013 14:46:05 +0400 |
parents | 1bd823f52e3a |
children | 46ae2602aceb 05a2d2b35ed0 |
comparison
equal
deleted
inserted
replaced
223:1bd823f52e3a | 224:9917d3b4925e |
---|---|
141 unsigned __int8 uDamageMod; //20 24 | 141 unsigned __int8 uDamageMod; //20 24 |
142 unsigned __int8 uMaterial; //21 25 | 142 unsigned __int8 uMaterial; //21 25 |
143 char _additional_value; //22 26 | 143 char _additional_value; //22 26 |
144 char _bonus_type; //23 27 | 144 char _bonus_type; //23 27 |
145 char _bonus_strength; //24 28 | 145 char _bonus_strength; //24 28 |
146 char field_25; // | 146 char field_25; // 25 29 |
147 char field_26; | 147 char field_26; //26 2A |
148 char field_27; | 148 char field_27; // 27 2b |
149 char field_28; | 149 union |
150 char field_29; | 150 { |
151 char field_2a; | 151 unsigned __int8 uChanceByTreasureLvl[6]; |
152 char field_2b; | 152 struct { |
153 char field_2C; | 153 unsigned __int8 uChanceByTreasureLvl1; // 28 2c |
154 unsigned char uItemID_Rep_St; //2d | 154 unsigned __int8 uChanceByTreasureLvl2; // 29 2d |
155 char field_2e; | 155 unsigned __int8 uChanceByTreasureLvl3; // 2A 2e |
156 unsigned __int8 uChanceByTreasureLvl4; // 2B 2f | |
157 unsigned __int8 uChanceByTreasureLvl5; // 2C 30 | |
158 unsigned __int8 uChanceByTreasureLvl6; // 2D 32 | |
159 }; | |
160 }; | |
161 unsigned char uItemID_Rep_St; //2e 32 | |
156 char field_2f; | 162 char field_2f; |
157 }; | 163 }; |
158 #pragma pack(pop) | 164 #pragma pack(pop) |
159 | 165 |
160 | 166 |
218 | 224 |
219 int uAllItemsCount; | 225 int uAllItemsCount; |
220 ItemDesc pItems[800]; //4-9604h | 226 ItemDesc pItems[800]; //4-9604h |
221 ItemEnchantment pEnchantments[24]; //9604h | 227 ItemEnchantment pEnchantments[24]; //9604h |
222 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h | 228 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h |
223 char field_9FC0[5000]; | 229 char field_9FC4[5000]; |
224 char field_B348[5000]; | 230 char field_B348[5000]; |
225 char field_C6D0[5000]; | 231 char field_C6D0[5000]; |
226 char field_DA58[5000]; | 232 char field_DA58[5000]; |
227 char field_EDE0[184]; | 233 char field_EDE0[180]; |
228 unsigned __int16 potion_data[50][50]; // 77B2h*2=EF64h -102ECh | 234 unsigned __int16 potion_data[50][50]; // 77B2h*2=EF64h -102ECh |
229 unsigned __int16 potion_note[50][50]; // 8176h*2=102ECh -11674h | 235 unsigned __int16 potion_note[50][50]; // 8176h*2=102ECh -11674h |
230 char *pItemsTXT_Raw; //11674h | 236 char *pItemsTXT_Raw; //11674h |
231 char *pRndItemsTXT_Raw; | 237 char *pRndItemsTXT_Raw; |
232 char *pStdItemsTXT_Raw; //1167Ch | 238 char *pStdItemsTXT_Raw; //1167Ch |
233 char *pSpcItemsTXT_Raw; //11680h | 239 char *pSpcItemsTXT_Raw; //11680h |
234 int field_11684[6]; | 240 unsigned int uChanceByTreasureLvlSumm[6]; //11684 |
235 char field_1169C[60]; | 241 unsigned int uBonusChanceStandart[6]; //1169c |
236 int field_116D8[3]; | 242 unsigned int uBonusChanceSpecial[6]; //116B4 |
243 unsigned int uBonusChanceWpSpecial[6]; //116cc -116e4 | |
237 unsigned int pEnchantmentsSumm[9]; //116E4h -11708h | 244 unsigned int pEnchantmentsSumm[9]; //116E4h -11708h |
238 BonusRange bonus_ranges[6]; //45C2h*4 =11708h | 245 BonusRange bonus_ranges[6]; //45C2h*4 =11708h |
239 int pSpecialEnchantmentsSumm[24]; //11738h | 246 unsigned int pSpecialEnchantmentsSumm[24]; //11738h |
240 int pSpecialEnchantments_count; //11798h | 247 unsigned int pSpecialEnchantments_count; //11798h |
241 char field_1179C; | 248 char field_1179C; |
242 }; | 249 }; |
243 #pragma pack(pop) | 250 #pragma pack(pop) |
244 | 251 |
245 | 252 |