comparison Items.h @ 374:f0f66f690777

items
author Gloval
date Fri, 22 Feb 2013 08:20:59 +0400
parents 0f35f908547f
children 243418228760
comparison
equal deleted inserted replaced
365:0f35f908547f 374:f0f66f690777
69 EQUIP_ARMOUR = 3, 69 EQUIP_ARMOUR = 3,
70 EQUIP_SHIELD = 4, 70 EQUIP_SHIELD = 4,
71 EQUIP_HELMET = 5, 71 EQUIP_HELMET = 5,
72 EQUIP_BELT = 6, 72 EQUIP_BELT = 6,
73 EQUIP_CLOAK = 7, 73 EQUIP_CLOAK = 7,
74 EQUIP_GAUNTLETS = 0x8, 74 EQUIP_GAUNTLETS = 8,
75 EQUIP_BOOTS = 0x9, 75 EQUIP_BOOTS = 9,
76 EQUIP_RING = 10, 76 EQUIP_RING = 10,
77 EQUIP_AMULET = 11, 77 EQUIP_AMULET = 11,
78 EQUIP_WAND = 12, 78 EQUIP_WAND = 12,
79 EQUIP_REAGENT = 13, 79 EQUIP_REAGENT = 13,
80 EQUIP_POTION = 14, 80 EQUIP_POTION = 14,
81 EQUIP_F = 0xF, 81 EQUIP_SPELL_SCROLL = 15,
82 EQUIP_BOOK = 16, 82 EQUIP_BOOK = 16,
83 EQUIP_11 = 17, 83 EQUIP_MESSAGE_SCROLL = 17,
84 EQUIP_GOLD = 18, 84 EQUIP_GOLD = 18,
85 EQUIP_GEM = 19, 85 EQUIP_GEM = 19,
86 EQUIP_NONE = 20 86 EQUIP_NONE = 20
87 }; 87 };
88 88
89 89
90 90
91 /* 64 */ 91 /* 64 */
227 void LoadPotionNotes(); 227 void LoadPotionNotes();
228 void GenerateItem(int treasure_level, int a3, ItemGen *pItem); 228 void GenerateItem(int treasure_level, int a3, ItemGen *pItem);
229 void SetSpecialBonus(ItemGen *pItem); 229 void SetSpecialBonus(ItemGen *pItem);
230 bool _456D43_is_material_equals_3(ItemGen *pItem); 230 bool _456D43_is_material_equals_3(ItemGen *pItem);
231 bool _456D5E_is_some_material(ItemGen *pItem); 231 bool _456D5E_is_some_material(ItemGen *pItem);
232 char *Release(); 232 void Release();
233 233
234 int uAllItemsCount; 234 int uAllItemsCount;
235 ItemDesc pItems[800]; //4-9604h 235 ItemDesc pItems[800]; //4-9604h
236 ItemEnchantment pEnchantments[24]; //9604h 236 ItemEnchantment pEnchantments[24]; //9604h
237 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h -9FC4h 237 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h -9FC4h