comparison Items.h @ 193:821fd955c379

fixed potion data parsing. Somehow 3d render was affected
author Gloval
date Sat, 16 Feb 2013 18:46:59 +0400
parents 9c0607679772
children 30aa44013f7a 8113753ed2ae
comparison
equal deleted inserted replaced
192:1c8add70bcf9 193:821fd955c379
176 int field_18; 176 int field_18;
177 }; 177 };
178 #pragma pack(pop) 178 #pragma pack(pop)
179 179
180 180
181
181 /* 176 */ 182 /* 176 */
182 #pragma pack(push, 1) 183 #pragma pack(push, 1)
183 struct ItemsTable 184 struct ItemsTable
184 { 185 {
185 void Initialize(); 186 void Initialize();
190 bool _456D43_is_material_equals_3(ItemGen *pItem); 191 bool _456D43_is_material_equals_3(ItemGen *pItem);
191 bool _456D5E_is_some_material(ItemGen *pItem); 192 bool _456D5E_is_some_material(ItemGen *pItem);
192 char *Release(); 193 char *Release();
193 194
194 195
195 ItemDesc pItems[800]; 196 ItemDesc pItems[638];
197 char align1[18];
198 unsigned __int8 potion_data[50][50]; //int8!!!! not int16 as in decomp code. hexrays wrong!!
199 unsigned __int8 potion_note[50][50];
200 char align2[2758];
196 ItemEnchantment pEnchantments[24]; 201 ItemEnchantment pEnchantments[24];
197 ItemSpecialEnchantment pSpecialEnchantments[72]; 202 ItemSpecialEnchantment pSpecialEnchantments[72];
198 char field_9FC0[5000]; 203 char field_9FC0[5000];
199 char field_B348[5000]; 204 char field_B348[5000];
200 char field_C6D0[5000]; 205 char field_C6D0[5000];