comparison Items.h @ 526:214d9d47cf1f

Chest working, but items are not laid correctly
author Gloval
date Sun, 03 Mar 2013 01:55:57 +0400
parents 3ee1e351e710
children 09108e73f2f4
comparison
equal deleted inserted replaced
525:e7b3fa10d58d 526:214d9d47cf1f
114 114
115 115
116 116
117 /* 64 */ 117 /* 64 */
118 #pragma pack(push, 1) 118 #pragma pack(push, 1)
119 struct ItemGen 119 struct ItemGen //0x24
120 { 120 {
121 //----- (0042EB25) -------------------------------------------------------- 121 //----- (0042EB25) --------------------------------------------------------
122 inline ItemGen() 122 inline ItemGen()
123 { 123 {
124 Reset(); 124 Reset();
137 void Reset(); 137 void Reset();
138 int _439DF3_get_additional_damage(int *a2, bool *vampiyr); 138 int _439DF3_get_additional_damage(int *a2, bool *vampiyr);
139 139
140 140
141 141
142 unsigned int uItemID; 142 int uItemID;
143 int uEncantmentType; 143 int uEncantmentType;
144 int _bonus_strength; 144 int _bonus_strength;
145 int uSpecEnchantmentType; // 25: +5 levels 145 int uSpecEnchantmentType; // 25: +5 levels
146 int uNumCharges; 146 int uNumCharges;
147 unsigned int uAttributes; 147 unsigned int uAttributes;
288 #pragma pack(pop) 288 #pragma pack(pop)
289 289
290 void GenerateStandartShopItems(); 290 void GenerateStandartShopItems();
291 void GenerateSpecialShopItems(); 291 void GenerateSpecialShopItems();
292 292
293 293 extern const char uItemsAmountPerShopType[]; // weak
294 extern ItemGen *ptr_50C9A4; 294 extern ItemGen *ptr_50C9A4;
295 295
296 extern struct ItemsTable *pItemsTable; 296 extern struct ItemsTable *pItemsTable;
297 297
298 /* 298 /*