World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл Items.h

См. исходные тексты.

Классы

struct  CEnchantment
 
struct  ItemGen
 
struct  ItemDesc
 
struct  ItemEnchantment
 
struct  ItemSpecialEnchantment
 
struct  BonusRange
 
struct  ItemsTable
 
struct  SummonedItem
 

Определения типов

typedef struct CEnchantment CEnchantment
 

Перечисления

enum  DAMAGE_TYPE : unsigned int {
  DMGT_FIRE = 0, DMGT_ELECTR = 1, DMGT_COLD = 2, DMGT_EARTH = 3,
  DMGT_PHISYCAL = 4, DMGT_MAGICAL = 5, DMGT_SPIRIT = 6, DMGT_MIND = 7,
  DMGT_BODY = 8, DMGT_LIGHT = 9, DMGT_DARK = 10
}
 
enum  ITEM_FLAGS : unsigned int {
  ITEM_IDENTIFIED = 0x1, ITEM_BROKEN = 0x2, ITEM_TEMP_BONUS = 0x8, ITEM_AURA_EFFECT_RED = 0x10,
  ITEM_AURA_EFFECT_BLUE = 0x20, ITEM_AURA_EFFECT_GREEN = 0x40, ITEM_AURA_EFFECT_PURPLE = 0x80, ITEM_ENCHANT_ANIMATION = 0xF0,
  ITEM_STOLEN = 0x100, ITEM_HARDENED = 0x200
}
 
enum  ITEM_ENCHANTMENT : unsigned int {
  ITEM_ENCHANTMENT_NULL = 0, ITEM_ENCHANTMENT_OF_COLD = 4, ITEM_ENCHANTMENT_OF_FROST = 5, ITEM_ENCHANTMENT_OF_ICE = 6,
  ITEM_ENCHANTMENT_OF_SPARKS = 7, ITEM_ENCHANTMENT_OF_LIGHTNING = 8, ITEM_ENCHANTMENT_OF_THUNDERBOLTS = 9, ITEM_ENCHANTMENT_OF_FIRE = 10,
  ITEM_ENCHANTMENT_OF_FLAME = 11, ITEM_ENCHANTMENT_OF_INFERNOS = 12, ITEM_ENCHANTMENT_OF_POISON = 13, ITEM_ENCHANTMENT_OF_VENOM = 14,
  ITEM_ENCHANTMENT_OF_ACID = 15, ITEM_ENCHANTMENT_VAMPIRIC = 16, ITEM_ENCHANTMENT_OF_RECOVERY = 17, ITEM_ENCHANTMENT_OF_FORCE = 24,
  ITEM_ENCHANTMENT_40 = 40, ITEM_ENCHANTMENT_OF_DARKNESS = 41, ITEM_ENCHANTMENT_OF_DRAGON
}
 
enum  ITEM_MATERIAL { MATERIAL_COMMON = 0, MATERIAL_ARTEFACT = 1, MATERIAL_RELIC = 2, MATERIAL_SPECIAL = 3 }
 
enum  ITEM_TYPE {
  ITEM_NULL = 0, ITEM_LONGSWORD_1 = 0x1, ITEM_DAGGER_1 = 15, ITEM_AXE_1 = 23,
  ITEM_SPEAR_1 = 31, ITEM_CROSSBOW_1 = 47, ITEM_MACE_1 = 50, ITEM_STAFF_1 = 61,
  ITEM_BLASTER = 64, ITEM_LASER_RIFLE = 65, ITEM_LEATHER_1 = 66, ITEM_CHAINMAIL_1 = 71,
  ITEM_PLATE_1 = 76, ITEM_BUCKLER_1 = 84, ITEM_92 = 92, ITEM_GAUNTLETS_1 = 110,
  ITEM_BOOTS_1 = 115, ITEM_WAND_FIRE = 135, ITEM_WAND_STUN = 138, ITEM_WAND_INCENERATION = 159,
  ITEM_160 = 160, ITEM_161 = 161, ITEM_162 = 162, ITEM_GOLD_SMALL = 197,
  ITEM_GOLD_MEDIUM = 198, ITEM_GOLD_LARGE = 199, ITEM_REAGENT_WIDOWSWEEP_BERRIES = 200, ITEM_REAGENT_CRUSHED_ROSE_PETALS = 201,
  ITEM_TROLL_BLOOD = 202, ITEM_TROLL_RUBY = 203, ITEM_DRAGON_EYE = 204, ITEM_PHIMA_ROOT = 205,
  ITEM_METEORITE_FRAGMENT = 206, ITEM_HARPY_FEATHER = 207, ITEM_MOONSTONE = 208, ITEM_ELVISH_TOADSTOOL = 209,
  ITEM_POPPYSNAPS = 210, ITEM_FAE_DUST = 211, ITEM_SULFUR = 212, ITEM_GARNET = 213,
  ITEM_DEVIL_ICHOR = 214, ITEM_MUSHROOM = 215, ITEM_OBSIDIAN = 216, ITEM_OOZE_ENDOPLASM_VIAL = 217,
  ITEM_MERCURY = 218, ITEM_REAGENT_PHILOSOPHERS_STONE = 219, ITEM_POTION_BOTTLE = 220, ITEM_POTION_CATALYST = 221,
  ITEM_POTION_CURE_WOUNDS = 222, ITEM_POTION_MAGIC_POTION = 223, ITEM_POTION_CURE_WEAKNESS = 224, ITEM_POTION_CURE_DISEASE = 225,
  ITEM_POTION_AWAKEN = 227, ITEM_POTION_HASTE = 228, ITEM_POTION_RECHARGE_ITEM = 233, ITEM_POTION_HARDEN_ITEM = 236,
  ITEM_POTION_CURE_INSANITY = 239, ITEM_POTION_MIGHT_BOOST = 240, ITEM_POTION_ACCURACY_BOOST = 245, ITEM_POTION_FLAMING_POTION = 246,
  ITEM_POTION_SWIFT_POTION = 250, ITEM_POTION_BODY_RESISTANE = 261, ITEM_POTION_STONE_TO_FLESH = 262, ITEM_POTION_SLAYING_POTION = 263,
  ITEM_POTION_REJUVENATION = 271, ITEM_SPELLBOOK_TORCHLIGHT = 400, ITEM_SPELLBOOK_FIRE_STRIKE = 401, ITEM_SPELLBOOK_AIR_FEATHER_FALL = 412,
  ITEM_SPELLBOOK_WATER_POISON_SPRAY = 423, ITEM_SPELLBOOK_EARTH_SLOW = 434, ITEM_SPELLBOOK_SPIRIT_BLESS = 445, ITEM_SPELLBOOK_MIND_REMOVE_FEAR = 455,
  ITEM_SPELLBOOK_MIND_MIND_BLAST = 456, ITEM_SPELLBOOK_BODY_FIRST_AID = 467, ITEM_SPELLBOOK_BODY_HEAL = 470, ITEM_SPELLBOOK_BODY_BREAK_POISON = 471,
  ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT = 477, ITEM_SPELLBOOK_LIGHT_SUN_BURST = 486, ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION = 487, ITEM_ARTIFACT_PUCK = 500,
  ITEM_ARTIFACT_IRON_FEATHER = 501, ITEM_ARTIFACT_WALLACE = 502, ITEM_ARTIFACT_CORSAIR = 503, ITEM_ARTIFACT_GOVERNORS_ARMOR = 504,
  ITEM_ARTIFACT_YORUBA = 505, ITEM_ARTIFACT_SPLITTER = 506, ITEM_ARTIFACT_GHOULSBANE = 507, ITEM_ARTIFACT_GIBBET = 508,
  ITEM_ARTIFACT_CHARELE = 509, ITEM_ARTEFACT_ULLYSES = 510, ITEM_ARTEFACT_HANDS_OF_THE_MASTER = 511, ITEM_ARTIFACT_LEAGUE_BOOTS = 512,
  ITEM_ARTIFACT_RULERS_RING = 513, ITEM_RELIC_MASH = 514, ITEM_RELIC_ETHRICS_STAFF = 515, ITEM_RELIC_HARECS_LEATHER = 516,
  ITEM_RELIC_OLD_NICK = 517, ITEM_RELIC_AMUCK = 518, ITEM_RELIC_GLORY_SHIELD = 519, ITEM_RELIC_KELEBRIM = 520,
  ITEM_RELIC_TALEDONS_HELM = 521, ITEM_RELIC_SCHOLARS_CAP = 522, ITEM_RELIC_PHYNAXIAN_CROWN = 523, ITEM_RILIC_TITANS_BELT = 524,
  ITEM_RELIC_TWILIGHT = 525, ITEM_RELIC_ANIA_SELVING = 526, ITEM_RELIC_JUSTICE = 527, ITEM_RELIC_MEKORIGS_HAMMER = 528,
  ITEM_ARTIFACT_HERMES_SANDALS = 529, ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP = 530, ITEM_ARTIFACT_ELFBANE = 531, ITEM_ARTIFACT_MINDS_EYE = 532,
  ITEM_ELVEN_CHAINMAIL = 533, ITEM_FORGE_GAUNTLETS = 534, ITEM_ARTIFACT_HEROS_BELT = 535, ITEM_ARTIFACT_LADYS_ESCORT = 536,
  ITEM_RARE_CLANKERS_AMULET = 537, ITEM_RARE_LIETENANTS_CUTLASS = 538, ITEM_RARE_MEDUSAS_MIRROR = 539, ITEM_RARE_LADY_CARMINES_DAGGER = 540,
  ITEM_RARE_VILLAINS_BLADE = 541, ITEM_RARE_PERFECT_BOW = 542, ITEM_RARE_PERFECT_BOW_FIXED = 543, ITEM_RARE_SHADOWS_MASK = 544,
  ITEM_RARE_GHOST_RING = 545, ITEM_RARE_FAERIE_RING = 546, ITEM_RARE_SUN_CLOAK = 547, ITEM_RARE_MOON_CLOAK = 548,
  ITEM_RARE_ZOKKARS_AXE = 549, ITEM_RARE_VAMPIRES_CAPE = 550, ITEM_RARE_MINOTAURS_AXE = 551, ITEM_RARE_GROGNARDS_CUTLASS = 552,
  ITEM_LICH_JAR_FULL = 601, ITEM_WETSUIT = 604, ITEM_LICH_JAR_EMPTY = 615, ITEM_GENIE_LAMP = 616,
  ITEM_RED_APPLE = 630, ITEM_LUTE = 632, ITEM_FAERIE_PIPES = 633, ITEM_GRYPHONHEARTS_TRUMPET = 634,
  ITEM_HORSESHOE = 646, ITEM_TEMPLE_IN_A_BOTTLE = 650, ITEM_RECIPE_REJUVENATION = 740, ITEM_RECIPE_BODY_RESISTANCE = 771
}
 
enum  ITEM_EQUIP_TYPE : uint8_t {
  EQUIP_SINGLE_HANDED = 0, EQUIP_TWO_HANDED = 1, EQUIP_BOW = 2, EQUIP_ARMOUR = 3,
  EQUIP_SHIELD = 4, EQUIP_HELMET = 5, EQUIP_BELT = 6, EQUIP_CLOAK = 7,
  EQUIP_GAUNTLETS = 8, EQUIP_BOOTS = 9, EQUIP_RING = 10, EQUIP_AMULET = 11,
  EQUIP_WAND = 12, EQUIP_REAGENT = 13, EQUIP_POTION = 14, EQUIP_SPELL_SCROLL = 15,
  EQUIP_BOOK = 16, EQIUP_ANY = 16, EQUIP_MESSAGE_SCROLL = 17, EQUIP_GOLD = 18,
  EQUIP_GEM = 19, EQUIP_NONE = 20
}
 

Функции

int GetItemTextureFilename (char *pOut, signed int item_id, int index, int shoulder)
 

Переменные

std::array< const char, 5 > uItemsAmountPerShopType
 
ItemGenptr_50C9A4_ItemToEnchant
 
struct ItemsTablepItemsTable
 

Типы

◆ CEnchantment

typedef struct CEnchantment CEnchantment

Перечисления

◆ DAMAGE_TYPE

enum DAMAGE_TYPE : unsigned int
Элементы перечислений
DMGT_FIRE 
DMGT_ELECTR 
DMGT_COLD 
DMGT_EARTH 
DMGT_PHISYCAL 
DMGT_MAGICAL 
DMGT_SPIRIT 
DMGT_MIND 
DMGT_BODY 
DMGT_LIGHT 
DMGT_DARK 

См. определение в файле Items.h строка 10

10  : unsigned int {
11  DMGT_FIRE = 0,
12  DMGT_ELECTR = 1,
13  DMGT_COLD = 2,
14  DMGT_EARTH = 3,
15  DMGT_PHISYCAL = 4,
16  DMGT_MAGICAL = 5,
17  DMGT_SPIRIT = 6,
18  DMGT_MIND = 7,
19  DMGT_BODY = 8,
20  DMGT_LIGHT = 9,
21  DMGT_DARK = 10
22 };

◆ ITEM_FLAGS

enum ITEM_FLAGS : unsigned int
Элементы перечислений
ITEM_IDENTIFIED 
ITEM_BROKEN 
ITEM_TEMP_BONUS 
ITEM_AURA_EFFECT_RED 
ITEM_AURA_EFFECT_BLUE 
ITEM_AURA_EFFECT_GREEN 
ITEM_AURA_EFFECT_PURPLE 
ITEM_ENCHANT_ANIMATION 
ITEM_STOLEN 
ITEM_HARDENED 

См. определение в файле Items.h строка 25

25  : unsigned int {
26  ITEM_IDENTIFIED = 0x1,
27  ITEM_BROKEN = 0x2,
28  ITEM_TEMP_BONUS = 0x8,
29  ITEM_AURA_EFFECT_RED = 0x10,
30  ITEM_AURA_EFFECT_BLUE = 0x20,
34  ITEM_STOLEN = 0x100,
35  ITEM_HARDENED = 0x200,
36 };

◆ ITEM_ENCHANTMENT

enum ITEM_ENCHANTMENT : unsigned int
Элементы перечислений
ITEM_ENCHANTMENT_NULL 
ITEM_ENCHANTMENT_OF_COLD 
ITEM_ENCHANTMENT_OF_FROST 
ITEM_ENCHANTMENT_OF_ICE 
ITEM_ENCHANTMENT_OF_SPARKS 
ITEM_ENCHANTMENT_OF_LIGHTNING 
ITEM_ENCHANTMENT_OF_THUNDERBOLTS 
ITEM_ENCHANTMENT_OF_FIRE 
ITEM_ENCHANTMENT_OF_FLAME 
ITEM_ENCHANTMENT_OF_INFERNOS 
ITEM_ENCHANTMENT_OF_POISON 
ITEM_ENCHANTMENT_OF_VENOM 
ITEM_ENCHANTMENT_OF_ACID 
ITEM_ENCHANTMENT_VAMPIRIC 
ITEM_ENCHANTMENT_OF_RECOVERY 
ITEM_ENCHANTMENT_OF_FORCE 
ITEM_ENCHANTMENT_40 
ITEM_ENCHANTMENT_OF_DARKNESS 
ITEM_ENCHANTMENT_OF_DRAGON 

См. определение в файле Items.h строка 38

38  : unsigned int {
40 
41  ITEM_ENCHANTMENT_OF_COLD = 4, // Adds 3-4 points of cold damage
42  ITEM_ENCHANTMENT_OF_FROST = 5, // Adds 6-8 points of cold damage
43  ITEM_ENCHANTMENT_OF_ICE = 6, // Adds 9-12 points of cold damage
44  ITEM_ENCHANTMENT_OF_SPARKS = 7, // Adds 2-5 points of electrical damage
45  ITEM_ENCHANTMENT_OF_LIGHTNING = 8, // Adds 4-10 points of electrical damage
46  ITEM_ENCHANTMENT_OF_THUNDERBOLTS = 9, // Adds 6-15 points of electrical damage
47  ITEM_ENCHANTMENT_OF_FIRE = 10, // Adds 1-6 points of fire damage
48  ITEM_ENCHANTMENT_OF_FLAME = 11, // Adds 2-12 points of fire damage
49  ITEM_ENCHANTMENT_OF_INFERNOS = 12, // Adds 3-18 points of fire damage
50  ITEM_ENCHANTMENT_OF_POISON = 13, // Adds 5 points of body damage
51  ITEM_ENCHANTMENT_OF_VENOM = 14, // Adds 8 points of body damage
52  ITEM_ENCHANTMENT_OF_ACID = 15, // Adds 12 points of body damage
53  ITEM_ENCHANTMENT_VAMPIRIC = 16, // 20% of damage dealt given to wielder
54  ITEM_ENCHANTMENT_OF_RECOVERY = 17, // Increases rate of Recovery
55 
56  ITEM_ENCHANTMENT_OF_FORCE = 24, // Increases Knockback
57 
59  ITEM_ENCHANTMENT_OF_DARKNESS = 41, // Vampiric and Swift
60 
62  46, // Adds 10-20 points of fire damage and +25 Might
63 };

◆ ITEM_MATERIAL

Элементы перечислений
MATERIAL_COMMON 
MATERIAL_ARTEFACT 
MATERIAL_RELIC 
MATERIAL_SPECIAL 

См. определение в файле Items.h строка 65

65  {
66  MATERIAL_COMMON = 0,
68  MATERIAL_RELIC = 2,
70 };

◆ ITEM_TYPE

enum ITEM_TYPE
Элементы перечислений
ITEM_NULL 
ITEM_LONGSWORD_1 
ITEM_DAGGER_1 
ITEM_AXE_1 
ITEM_SPEAR_1 
ITEM_CROSSBOW_1 
ITEM_MACE_1 
ITEM_STAFF_1 
ITEM_BLASTER 
ITEM_LASER_RIFLE 
ITEM_LEATHER_1 
ITEM_CHAINMAIL_1 
ITEM_PLATE_1 
ITEM_BUCKLER_1 
ITEM_92 
ITEM_GAUNTLETS_1 
ITEM_BOOTS_1 
ITEM_WAND_FIRE 
ITEM_WAND_STUN 
ITEM_WAND_INCENERATION 
ITEM_160 
ITEM_161 
ITEM_162 
ITEM_GOLD_SMALL 
ITEM_GOLD_MEDIUM 
ITEM_GOLD_LARGE 
ITEM_REAGENT_WIDOWSWEEP_BERRIES 
ITEM_REAGENT_CRUSHED_ROSE_PETALS 
ITEM_TROLL_BLOOD 
ITEM_TROLL_RUBY 
ITEM_DRAGON_EYE 
ITEM_PHIMA_ROOT 
ITEM_METEORITE_FRAGMENT 
ITEM_HARPY_FEATHER 
ITEM_MOONSTONE 
ITEM_ELVISH_TOADSTOOL 
ITEM_POPPYSNAPS 
ITEM_FAE_DUST 
ITEM_SULFUR 
ITEM_GARNET 
ITEM_DEVIL_ICHOR 
ITEM_MUSHROOM 
ITEM_OBSIDIAN 
ITEM_OOZE_ENDOPLASM_VIAL 
ITEM_MERCURY 
ITEM_REAGENT_PHILOSOPHERS_STONE 
ITEM_POTION_BOTTLE 
ITEM_POTION_CATALYST 
ITEM_POTION_CURE_WOUNDS 
ITEM_POTION_MAGIC_POTION 
ITEM_POTION_CURE_WEAKNESS 
ITEM_POTION_CURE_DISEASE 
ITEM_POTION_AWAKEN 
ITEM_POTION_HASTE 
ITEM_POTION_RECHARGE_ITEM 
ITEM_POTION_HARDEN_ITEM 
ITEM_POTION_CURE_INSANITY 
ITEM_POTION_MIGHT_BOOST 
ITEM_POTION_ACCURACY_BOOST 
ITEM_POTION_FLAMING_POTION 
ITEM_POTION_SWIFT_POTION 
ITEM_POTION_BODY_RESISTANE 
ITEM_POTION_STONE_TO_FLESH 
ITEM_POTION_SLAYING_POTION 
ITEM_POTION_REJUVENATION 
ITEM_SPELLBOOK_TORCHLIGHT 
ITEM_SPELLBOOK_FIRE_STRIKE 
ITEM_SPELLBOOK_AIR_FEATHER_FALL 
ITEM_SPELLBOOK_WATER_POISON_SPRAY 
ITEM_SPELLBOOK_EARTH_SLOW 
ITEM_SPELLBOOK_SPIRIT_BLESS 
ITEM_SPELLBOOK_MIND_REMOVE_FEAR 
ITEM_SPELLBOOK_MIND_MIND_BLAST 
ITEM_SPELLBOOK_BODY_FIRST_AID 
ITEM_SPELLBOOK_BODY_HEAL 
ITEM_SPELLBOOK_BODY_BREAK_POISON 
ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT 
ITEM_SPELLBOOK_LIGHT_SUN_BURST 
ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION 
ITEM_ARTIFACT_PUCK 
ITEM_ARTIFACT_IRON_FEATHER 
ITEM_ARTIFACT_WALLACE 
ITEM_ARTIFACT_CORSAIR 
ITEM_ARTIFACT_GOVERNORS_ARMOR 
ITEM_ARTIFACT_YORUBA 
ITEM_ARTIFACT_SPLITTER 
ITEM_ARTIFACT_GHOULSBANE 
ITEM_ARTIFACT_GIBBET 
ITEM_ARTIFACT_CHARELE 
ITEM_ARTEFACT_ULLYSES 
ITEM_ARTEFACT_HANDS_OF_THE_MASTER 
ITEM_ARTIFACT_LEAGUE_BOOTS 
ITEM_ARTIFACT_RULERS_RING 
ITEM_RELIC_MASH 
ITEM_RELIC_ETHRICS_STAFF 
ITEM_RELIC_HARECS_LEATHER 
ITEM_RELIC_OLD_NICK 
ITEM_RELIC_AMUCK 
ITEM_RELIC_GLORY_SHIELD 
ITEM_RELIC_KELEBRIM 
ITEM_RELIC_TALEDONS_HELM 
ITEM_RELIC_SCHOLARS_CAP 
ITEM_RELIC_PHYNAXIAN_CROWN 
ITEM_RILIC_TITANS_BELT 
ITEM_RELIC_TWILIGHT 
ITEM_RELIC_ANIA_SELVING 
ITEM_RELIC_JUSTICE 
ITEM_RELIC_MEKORIGS_HAMMER 
ITEM_ARTIFACT_HERMES_SANDALS 
ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP 
ITEM_ARTIFACT_ELFBANE 
ITEM_ARTIFACT_MINDS_EYE 
ITEM_ELVEN_CHAINMAIL 
ITEM_FORGE_GAUNTLETS 
ITEM_ARTIFACT_HEROS_BELT 
ITEM_ARTIFACT_LADYS_ESCORT 
ITEM_RARE_CLANKERS_AMULET 
ITEM_RARE_LIETENANTS_CUTLASS 
ITEM_RARE_MEDUSAS_MIRROR 
ITEM_RARE_LADY_CARMINES_DAGGER 
ITEM_RARE_VILLAINS_BLADE 
ITEM_RARE_PERFECT_BOW 
ITEM_RARE_PERFECT_BOW_FIXED 
ITEM_RARE_SHADOWS_MASK 
ITEM_RARE_GHOST_RING 
ITEM_RARE_FAERIE_RING 
ITEM_RARE_SUN_CLOAK 
ITEM_RARE_MOON_CLOAK 
ITEM_RARE_ZOKKARS_AXE 
ITEM_RARE_VAMPIRES_CAPE 
ITEM_RARE_MINOTAURS_AXE 
ITEM_RARE_GROGNARDS_CUTLASS 
ITEM_LICH_JAR_FULL 
ITEM_WETSUIT 
ITEM_LICH_JAR_EMPTY 
ITEM_GENIE_LAMP 
ITEM_RED_APPLE 
ITEM_LUTE 
ITEM_FAERIE_PIPES 
ITEM_GRYPHONHEARTS_TRUMPET 
ITEM_HORSESHOE 
ITEM_TEMPLE_IN_A_BOTTLE 
ITEM_RECIPE_REJUVENATION 
ITEM_RECIPE_BODY_RESISTANCE 

См. определение в файле Items.h строка 73

73  {
74  ITEM_NULL = 0,
75  ITEM_LONGSWORD_1 = 0x1,
76  ITEM_DAGGER_1 = 15,
77  ITEM_AXE_1 = 23,
78  ITEM_SPEAR_1 = 31,
79  ITEM_CROSSBOW_1 = 47,
80  ITEM_MACE_1 = 50,
81  ITEM_STAFF_1 = 61,
82  ITEM_BLASTER = 64,
83  ITEM_LASER_RIFLE = 65,
84  ITEM_LEATHER_1 = 66,
85  ITEM_CHAINMAIL_1 = 71,
86  ITEM_PLATE_1 = 76,
87  ITEM_BUCKLER_1 = 84,
88  ITEM_92 = 92,
89  ITEM_GAUNTLETS_1 = 110,
90  ITEM_BOOTS_1 = 115,
91  ITEM_WAND_FIRE = 135,
92  ITEM_WAND_STUN = 138,
94  ITEM_160 = 160,
95  ITEM_161 = 161,
96  ITEM_162 = 162,
97  ITEM_GOLD_SMALL = 197,
98  ITEM_GOLD_MEDIUM = 198,
99  ITEM_GOLD_LARGE = 199,
102  ITEM_TROLL_BLOOD = 202,
103  ITEM_TROLL_RUBY = 203,
104  ITEM_DRAGON_EYE = 204,
105  ITEM_PHIMA_ROOT = 205,
107  ITEM_HARPY_FEATHER = 207,
108  ITEM_MOONSTONE = 208,
109  ITEM_ELVISH_TOADSTOOL = 209,
110  ITEM_POPPYSNAPS = 210,
111  ITEM_FAE_DUST = 211,
112  ITEM_SULFUR = 212,
113  ITEM_GARNET = 213,
114  ITEM_DEVIL_ICHOR = 214,
115  ITEM_MUSHROOM = 215,
116  ITEM_OBSIDIAN = 216,
118  ITEM_MERCURY = 218,
120  ITEM_POTION_BOTTLE = 220,
121  ITEM_POTION_CATALYST = 221,
126  ITEM_POTION_AWAKEN = 227,
127  ITEM_POTION_HASTE = 228,
153  ITEM_ARTIFACT_PUCK = 500, // 0x1F4,
155  ITEM_ARTIFACT_WALLACE = 502,
156  ITEM_ARTIFACT_CORSAIR = 503,
157  ITEM_ARTIFACT_GOVERNORS_ARMOR = 504, // 1F8
158  ITEM_ARTIFACT_YORUBA = 505, // 1F9
159  ITEM_ARTIFACT_SPLITTER = 506, // 1FA
160  ITEM_ARTIFACT_GHOULSBANE = 507, // 1FA
161  ITEM_ARTIFACT_GIBBET = 508, // 1FA
162  ITEM_ARTIFACT_CHARELE = 509, // 1FA
163  ITEM_ARTEFACT_ULLYSES = 510,
165  ITEM_ARTIFACT_LEAGUE_BOOTS = 512, // 200
167  ITEM_RELIC_MASH = 514,
168  ITEM_RELIC_ETHRICS_STAFF = 515, // 204
169  ITEM_RELIC_HARECS_LEATHER = 516, // 204
170  ITEM_RELIC_OLD_NICK = 517,
171  ITEM_RELIC_AMUCK = 518,
173  ITEM_RELIC_KELEBRIM = 520, // 208
174  ITEM_RELIC_TALEDONS_HELM = 521, // 209
175  ITEM_RELIC_SCHOLARS_CAP = 522, // 20A
176  ITEM_RELIC_PHYNAXIAN_CROWN = 523, // 20B
177  ITEM_RILIC_TITANS_BELT = 524, // 20C
178  ITEM_RELIC_TWILIGHT = 525, // 20D
180  ITEM_RELIC_JUSTICE = 527,
184  ITEM_ARTIFACT_ELFBANE = 531, // 212
185  ITEM_ARTIFACT_MINDS_EYE = 532, // 214
186  ITEM_ELVEN_CHAINMAIL = 533, // 215
187  ITEM_FORGE_GAUNTLETS = 534,
188  ITEM_ARTIFACT_HEROS_BELT = 535, // 217
195  ITEM_RARE_PERFECT_BOW = 542,
197  ITEM_RARE_SHADOWS_MASK = 544, // 220
198  ITEM_RARE_GHOST_RING = 545, // 220
199  ITEM_RARE_FAERIE_RING = 546, // 220
200  ITEM_RARE_SUN_CLOAK = 547, // 223
201  ITEM_RARE_MOON_CLOAK = 548, // 224
202  ITEM_RARE_ZOKKARS_AXE = 549, // 224
203  ITEM_RARE_VAMPIRES_CAPE = 550, // 226
204  ITEM_RARE_MINOTAURS_AXE = 551, // 226
205  ITEM_RARE_GROGNARDS_CUTLASS = 552, // 226
206  ITEM_LICH_JAR_FULL = 601,
207  ITEM_WETSUIT = 604,
208  ITEM_LICH_JAR_EMPTY = 615,
209  ITEM_GENIE_LAMP = 616,
210 
211  ITEM_RED_APPLE = 630,
212 
213  ITEM_LUTE = 632,
214  ITEM_FAERIE_PIPES = 633,
216 
217  ITEM_HORSESHOE = 646,
218 
220 
223 };

◆ ITEM_EQUIP_TYPE

Элементы перечислений
EQUIP_SINGLE_HANDED 
EQUIP_TWO_HANDED 
EQUIP_BOW 
EQUIP_ARMOUR 
EQUIP_SHIELD 
EQUIP_HELMET 
EQUIP_BELT 
EQUIP_CLOAK 
EQUIP_GAUNTLETS 
EQUIP_BOOTS 
EQUIP_RING 
EQUIP_AMULET 
EQUIP_WAND 
EQUIP_REAGENT 
EQUIP_POTION 
EQUIP_SPELL_SCROLL 
EQUIP_BOOK 
EQIUP_ANY 
EQUIP_MESSAGE_SCROLL 
EQUIP_GOLD 
EQUIP_GEM 
EQUIP_NONE 

См. определение в файле Items.h строка 226

226  : uint8_t {
228  EQUIP_TWO_HANDED = 1,
229  EQUIP_BOW = 2,
230  EQUIP_ARMOUR = 3,
231  EQUIP_SHIELD = 4,
232  EQUIP_HELMET = 5,
233  EQUIP_BELT = 6,
234  EQUIP_CLOAK = 7,
235  EQUIP_GAUNTLETS = 8,
236  EQUIP_BOOTS = 9,
237  EQUIP_RING = 10,
238  EQUIP_AMULET = 11,
239  EQUIP_WAND = 12,
240  EQUIP_REAGENT = 13,
241  EQUIP_POTION = 14,
242  EQUIP_SPELL_SCROLL = 15,
243  EQUIP_BOOK = 16,
244  EQIUP_ANY = 16,
246  EQUIP_GOLD = 18,
247  EQUIP_GEM = 19,
248  EQUIP_NONE = 20
249 };

Функции

◆ GetItemTextureFilename()

int GetItemTextureFilename ( char *  pOut,
signed int  item_id,
int  index,
int  shoulder 
)

См. определение в файле Items.cpp строка 1538

1539  {
1540  int result; // eax@2
1541  ITEM_EQUIP_TYPE pEquipType;
1542 
1543  result = 0; // BUG fn is void
1544  pEquipType = pItemsTable->pItems[item_id].uEquipType;
1545  if (item_id > 500) {
1546  switch (item_id) {
1548  if (byte_5111F6_OwnedArtifacts[2] != 0) item_id = 234;
1549  break;
1550  case ITEM_ARTIFACT_YORUBA:
1551  if (byte_5111F6_OwnedArtifacts[1] != 0) item_id = 236;
1552  break;
1554  if (byte_5111F6_OwnedArtifacts[0] != 0) item_id = 235;
1555  break;
1556  case ITEM_ELVEN_CHAINMAIL:
1557  if (byte_5111F6_OwnedArtifacts[16] != 0) item_id = 73;
1558  break;
1560  if (byte_5111F6_OwnedArtifacts[3] != 0) item_id = 312;
1561  break;
1563  if (byte_5111F6_OwnedArtifacts[4] != 0) item_id = 239;
1564  break;
1566  if (byte_5111F6_OwnedArtifacts[5] != 0) item_id = 240;
1567  break;
1569  if (byte_5111F6_OwnedArtifacts[6] != 0) item_id = 241;
1570  break;
1572  if (byte_5111F6_OwnedArtifacts[7] != 0) item_id = 93;
1573  break;
1575  if (byte_5111F6_OwnedArtifacts[8] != 0) item_id = 344;
1576  break;
1578  if (byte_5111F6_OwnedArtifacts[9] != 0) item_id = 324;
1579  break;
1581  if (byte_5111F6_OwnedArtifacts[10] != 0) item_id = 104;
1582  break;
1583  case ITEM_RELIC_TWILIGHT:
1584  if (byte_5111F6_OwnedArtifacts[11] != 0) item_id = 325;
1585  break;
1587  if (byte_5111F6_OwnedArtifacts[12] != 0) item_id = 330;
1588  break;
1589  case ITEM_RARE_SUN_CLOAK:
1590  if (byte_5111F6_OwnedArtifacts[13] != 0) item_id = 347;
1591  break;
1592  case ITEM_RARE_MOON_CLOAK:
1593  if (byte_5111F6_OwnedArtifacts[14] != 0) item_id = 348;
1594  break;
1596  if (byte_5111F6_OwnedArtifacts[15] != 0) item_id = 350;
1597  break;
1598  default:
1599  return 0;
1600  }
1601  }
1602 
1603  switch (pEquipType) {
1604  case EQUIP_ARMOUR:
1605  if (!shoulder)
1606  return sprintf(pOut, "item%3.3dv%d", item_id, index);
1607  else if (shoulder == 1)
1608  return sprintf(pOut, "item%3.3dv%da1", item_id, index);
1609  else if (shoulder == 2)
1610  return sprintf(pOut, "item%3.3dv%da2", item_id, index);
1611  break;
1612  case EQUIP_CLOAK:
1613  if (!shoulder)
1614  return sprintf(pOut, "item%3.3dv%d", item_id, index);
1615  else
1616  return sprintf(pOut, "item%3.3dv%da1", item_id, index);
1617  default:
1618  return sprintf(pOut, "item%3.3dv%d", item_id, index);
1619  }
1620 
1621  result = item_id - 504;
1622  return result;
1623 }

Перекрестные ссылки byte_5111F6_OwnedArtifacts, EQUIP_ARMOUR, EQUIP_CLOAK, ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, ITEM_ARTIFACT_GOVERNORS_ARMOR, ITEM_ARTIFACT_HEROS_BELT, ITEM_ARTIFACT_LEAGUE_BOOTS, ITEM_ARTIFACT_MINDS_EYE, ITEM_ARTIFACT_YORUBA, ITEM_ELVEN_CHAINMAIL, ITEM_RARE_MOON_CLOAK, ITEM_RARE_SHADOWS_MASK, ITEM_RARE_SUN_CLOAK, ITEM_RARE_VAMPIRES_CAPE, ITEM_RELIC_HARECS_LEATHER, ITEM_RELIC_PHYNAXIAN_CROWN, ITEM_RELIC_SCHOLARS_CAP, ITEM_RELIC_TALEDONS_HELM, ITEM_RELIC_TWILIGHT, ITEM_RILIC_TITANS_BELT, ItemsTable::pItems и pItemsTable.

Используется в CharacterUI_LoadPaperdollTextures().

+ Граф вызова функции:

Переменные

◆ uItemsAmountPerShopType

std::array<const char, 5> uItemsAmountPerShopType

См. определение в файле UIHouses.cpp строка 341

Используется в GenerateSpecialShopItems() и GenerateStandartShopItems().

◆ ptr_50C9A4_ItemToEnchant

ItemGen* ptr_50C9A4_ItemToEnchant

См. определение в файле Items.cpp строка 35

Используется в CharacterUI_DrawItem(), CharacterUI_DrawPaperdoll(), Application::Game::EventLoop(), Player::OnInventoryLeftClick() и OnPaperdollLeftClick().

◆ pItemsTable

struct ItemsTable* pItemsTable

См. определение в файле Items.cpp строка 37

Используется в CastSpellInfoHelpers::_427E01_cast_spell(), Player::AddItem2(), Party::AddItemToParty(), OutdoorLocation::ArrangeSpriteObjects(), Player::CalculateMeleeDamageTo(), Player::CalculateMeleeDmgToEnemyWithWeapon(), Player::CalculateRangedDamageTo(), Player::CanFitItem(), Player::CanIdentify(), Chest::CanPlaceItemAt(), Player::CanRepair(), CharacterUI_DrawPaperdoll(), Party::CreateDefaultParty(), CreateScrollWindow(), Engine::Deinitialize(), Actor::Die(), Engine::DropHeldItem(), Application::Game::EventLoop(), EventProcessor(), GameUI_DrawItemInfo(), ItemGen::GenerateArtifact(), ItemsTable::GenerateItem(), GenerateItemsInChest(), GenerateSpecialShopItems(), GenerateStandartShopItems(), ItemGen::GetDamageDice(), ItemGen::GetDamageMod(), ItemGen::GetDamageRoll(), ItemGen::GetDisplayName(), ItemGen::GetIconName(), ItemGen::GetIdentifiedName(), Player::GetItemsBonus(), GetItemTextureFilename(), ItemGen::GetPlayerSkillType(), ItemGen::GetValue(), Chest::GrabItem(), Inventory_ItemPopupAndAlchemy(), ItemInteraction(), IndoorLocation::Load(), Actor::LootActor(), Player::OnInventoryLeftClick(), WinApiWindow::OnOSMenu(), PartyCreationUI_LoopInternal(), Chest::PlaceItemAt(), PrepareToLoadBLV(), Player::PutItemArInventoryIndex(), Player::ReceiveSpecialAttackEffect(), Engine::SecondaryInitialization(), Player::SelectPhrasesTransaction(), Mouse::SetCursorBitmapFromItemID(), Actor::SetRandomGoldIfTheresNoItem(), SimpleHouseDialog(), MapInfo::SpawnRandomTreasure(), SpellBookGenerator(), Player::StealFromActor(), Party::sub_421B2C_PlaceInInventory_or_DropPickedItem(), SpriteObject::sub_42F7EB_DropItemAt(), sub_450521_ProllyDropItemAt() и Player::WearItem().

ITEM_ARTIFACT_CORSAIR
@ ITEM_ARTIFACT_CORSAIR
Definition: Items.h:156
ITEM_SPELLBOOK_BODY_FIRST_AID
@ ITEM_SPELLBOOK_BODY_FIRST_AID
Definition: Items.h:147
ITEM_160
@ ITEM_160
Definition: Items.h:94
ITEM_POTION_HARDEN_ITEM
@ ITEM_POTION_HARDEN_ITEM
Definition: Items.h:129
EQUIP_HELMET
@ EQUIP_HELMET
Definition: Items.h:232
ITEM_ARTIFACT_LEAGUE_BOOTS
@ ITEM_ARTIFACT_LEAGUE_BOOTS
Definition: Items.h:165
ITEM_AURA_EFFECT_GREEN
@ ITEM_AURA_EFFECT_GREEN
Definition: Items.h:31
DMGT_PHISYCAL
@ DMGT_PHISYCAL
Definition: Items.h:15
ITEM_RARE_LADY_CARMINES_DAGGER
@ ITEM_RARE_LADY_CARMINES_DAGGER
Definition: Items.h:193
ITEM_RARE_SUN_CLOAK
@ ITEM_RARE_SUN_CLOAK
Definition: Items.h:200
ITEM_ARTEFACT_ULLYSES
@ ITEM_ARTEFACT_ULLYSES
Definition: Items.h:163
DMGT_DARK
@ DMGT_DARK
Definition: Items.h:21
ITEM_OBSIDIAN
@ ITEM_OBSIDIAN
Definition: Items.h:116
ITEM_POPPYSNAPS
@ ITEM_POPPYSNAPS
Definition: Items.h:110
ITEM_ENCHANTMENT_OF_ICE
@ ITEM_ENCHANTMENT_OF_ICE
Definition: Items.h:43
ITEM_RELIC_HARECS_LEATHER
@ ITEM_RELIC_HARECS_LEATHER
Definition: Items.h:169
ITEM_PLATE_1
@ ITEM_PLATE_1
Definition: Items.h:86
ITEM_DRAGON_EYE
@ ITEM_DRAGON_EYE
Definition: Items.h:104
EQUIP_CLOAK
@ EQUIP_CLOAK
Definition: Items.h:234
ITEM_POTION_CATALYST
@ ITEM_POTION_CATALYST
Definition: Items.h:121
EQUIP_BELT
@ EQUIP_BELT
Definition: Items.h:233
ITEM_TEMPLE_IN_A_BOTTLE
@ ITEM_TEMPLE_IN_A_BOTTLE
Definition: Items.h:219
ITEM_RARE_VAMPIRES_CAPE
@ ITEM_RARE_VAMPIRES_CAPE
Definition: Items.h:203
ITEM_ENCHANT_ANIMATION
@ ITEM_ENCHANT_ANIMATION
Definition: Items.h:33
MATERIAL_ARTEFACT
@ MATERIAL_ARTEFACT
Definition: Items.h:67
ITEM_ARTIFACT_YORUBA
@ ITEM_ARTIFACT_YORUBA
Definition: Items.h:158
DMGT_FIRE
@ DMGT_FIRE
Definition: Items.h:11
EQUIP_BOOK
@ EQUIP_BOOK
Definition: Items.h:243
EQUIP_SHIELD
@ EQUIP_SHIELD
Definition: Items.h:231
ITEM_LICH_JAR_EMPTY
@ ITEM_LICH_JAR_EMPTY
Definition: Items.h:208
ITEM_ENCHANTMENT_OF_FLAME
@ ITEM_ENCHANTMENT_OF_FLAME
Definition: Items.h:48
ITEM_RARE_PERFECT_BOW
@ ITEM_RARE_PERFECT_BOW
Definition: Items.h:195
EQUIP_REAGENT
@ EQUIP_REAGENT
Definition: Items.h:240
ITEM_RARE_CLANKERS_AMULET
@ ITEM_RARE_CLANKERS_AMULET
Definition: Items.h:190
ITEM_RARE_MOON_CLOAK
@ ITEM_RARE_MOON_CLOAK
Definition: Items.h:201
ITEM_HARDENED
@ ITEM_HARDENED
Definition: Items.h:35
DMGT_SPIRIT
@ DMGT_SPIRIT
Definition: Items.h:17
ITEM_MERCURY
@ ITEM_MERCURY
Definition: Items.h:118
ITEM_RED_APPLE
@ ITEM_RED_APPLE
Definition: Items.h:211
ITEM_FAERIE_PIPES
@ ITEM_FAERIE_PIPES
Definition: Items.h:214
EQIUP_ANY
@ EQIUP_ANY
Definition: Items.h:244
ITEM_RELIC_PHYNAXIAN_CROWN
@ ITEM_RELIC_PHYNAXIAN_CROWN
Definition: Items.h:176
ITEM_RELIC_JUSTICE
@ ITEM_RELIC_JUSTICE
Definition: Items.h:180
ITEM_POTION_HASTE
@ ITEM_POTION_HASTE
Definition: Items.h:127
ITEM_ENCHANTMENT_OF_THUNDERBOLTS
@ ITEM_ENCHANTMENT_OF_THUNDERBOLTS
Definition: Items.h:46
ITEM_ENCHANTMENT_OF_POISON
@ ITEM_ENCHANTMENT_OF_POISON
Definition: Items.h:50
EQUIP_MESSAGE_SCROLL
@ EQUIP_MESSAGE_SCROLL
Definition: Items.h:245
EQUIP_GOLD
@ EQUIP_GOLD
Definition: Items.h:246
ITEM_POTION_BODY_RESISTANE
@ ITEM_POTION_BODY_RESISTANE
Definition: Items.h:135
ITEM_EQUIP_TYPE
ITEM_EQUIP_TYPE
Definition: Items.h:226
ITEM_FORGE_GAUNTLETS
@ ITEM_FORGE_GAUNTLETS
Definition: Items.h:187
ITEM_POTION_SWIFT_POTION
@ ITEM_POTION_SWIFT_POTION
Definition: Items.h:134
ITEM_GAUNTLETS_1
@ ITEM_GAUNTLETS_1
Definition: Items.h:89
ITEM_LONGSWORD_1
@ ITEM_LONGSWORD_1
Definition: Items.h:75
ITEM_RECIPE_REJUVENATION
@ ITEM_RECIPE_REJUVENATION
Definition: Items.h:221
ITEM_RARE_PERFECT_BOW_FIXED
@ ITEM_RARE_PERFECT_BOW_FIXED
Definition: Items.h:196
ITEM_RARE_GROGNARDS_CUTLASS
@ ITEM_RARE_GROGNARDS_CUTLASS
Definition: Items.h:205
ITEM_RELIC_AMUCK
@ ITEM_RELIC_AMUCK
Definition: Items.h:171
ITEM_ARTIFACT_MINDS_EYE
@ ITEM_ARTIFACT_MINDS_EYE
Definition: Items.h:185
byte_5111F6_OwnedArtifacts
std::array< char, 17 > byte_5111F6_OwnedArtifacts
Definition: mm7_data.cpp:592
index
GLuint index
Definition: SDL_opengl_glext.h:663
ITEM_POTION_CURE_DISEASE
@ ITEM_POTION_CURE_DISEASE
Definition: Items.h:125
ITEM_RARE_FAERIE_RING
@ ITEM_RARE_FAERIE_RING
Definition: Items.h:199
ITEM_LEATHER_1
@ ITEM_LEATHER_1
Definition: Items.h:84
ITEM_SPELLBOOK_FIRE_STRIKE
@ ITEM_SPELLBOOK_FIRE_STRIKE
Definition: Items.h:140
ITEM_HORSESHOE
@ ITEM_HORSESHOE
Definition: Items.h:217
ITEM_POTION_MAGIC_POTION
@ ITEM_POTION_MAGIC_POTION
Definition: Items.h:123
ITEM_ARTIFACT_GHOULSBANE
@ ITEM_ARTIFACT_GHOULSBANE
Definition: Items.h:160
ITEM_SPELLBOOK_TORCHLIGHT
@ ITEM_SPELLBOOK_TORCHLIGHT
Definition: Items.h:139
ITEM_SPELLBOOK_AIR_FEATHER_FALL
@ ITEM_SPELLBOOK_AIR_FEATHER_FALL
Definition: Items.h:141
ITEM_RELIC_MASH
@ ITEM_RELIC_MASH
Definition: Items.h:167
result
GLuint64EXT * result
Definition: SDL_opengl_glext.h:9435
EQUIP_SPELL_SCROLL
@ EQUIP_SPELL_SCROLL
Definition: Items.h:242
ITEM_STOLEN
@ ITEM_STOLEN
Definition: Items.h:34
ITEM_ARTIFACT_GIBBET
@ ITEM_ARTIFACT_GIBBET
Definition: Items.h:161
ITEM_LUTE
@ ITEM_LUTE
Definition: Items.h:213
ITEM_METEORITE_FRAGMENT
@ ITEM_METEORITE_FRAGMENT
Definition: Items.h:106
ITEM_PHIMA_ROOT
@ ITEM_PHIMA_ROOT
Definition: Items.h:105
ITEM_POTION_RECHARGE_ITEM
@ ITEM_POTION_RECHARGE_ITEM
Definition: Items.h:128
ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT
@ ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT
Definition: Items.h:150
pItemsTable
struct ItemsTable * pItemsTable
Definition: Items.cpp:37
ITEM_ELVISH_TOADSTOOL
@ ITEM_ELVISH_TOADSTOOL
Definition: Items.h:109
ITEM_WAND_STUN
@ ITEM_WAND_STUN
Definition: Items.h:92
ITEM_ENCHANTMENT_OF_VENOM
@ ITEM_ENCHANTMENT_OF_VENOM
Definition: Items.h:51
ITEM_ENCHANTMENT_OF_ACID
@ ITEM_ENCHANTMENT_OF_ACID
Definition: Items.h:52
ITEM_BOOTS_1
@ ITEM_BOOTS_1
Definition: Items.h:90
DMGT_MAGICAL
@ DMGT_MAGICAL
Definition: Items.h:16
ITEM_POTION_SLAYING_POTION
@ ITEM_POTION_SLAYING_POTION
Definition: Items.h:137
ITEM_162
@ ITEM_162
Definition: Items.h:96
ITEM_POTION_CURE_WEAKNESS
@ ITEM_POTION_CURE_WEAKNESS
Definition: Items.h:124
EQUIP_GEM
@ EQUIP_GEM
Definition: Items.h:247
ITEM_POTION_STONE_TO_FLESH
@ ITEM_POTION_STONE_TO_FLESH
Definition: Items.h:136
EQUIP_ARMOUR
@ EQUIP_ARMOUR
Definition: Items.h:230
ITEM_ENCHANTMENT_OF_RECOVERY
@ ITEM_ENCHANTMENT_OF_RECOVERY
Definition: Items.h:54
ITEM_ARTIFACT_LADYS_ESCORT
@ ITEM_ARTIFACT_LADYS_ESCORT
Definition: Items.h:189
ITEM_MOONSTONE
@ ITEM_MOONSTONE
Definition: Items.h:108
ITEM_ARTIFACT_HERMES_SANDALS
@ ITEM_ARTIFACT_HERMES_SANDALS
Definition: Items.h:182
ITEM_TEMP_BONUS
@ ITEM_TEMP_BONUS
Definition: Items.h:28
ITEM_TROLL_BLOOD
@ ITEM_TROLL_BLOOD
Definition: Items.h:102
EQUIP_SINGLE_HANDED
@ EQUIP_SINGLE_HANDED
Definition: Items.h:227
ITEM_WETSUIT
@ ITEM_WETSUIT
Definition: Items.h:207
ITEM_CROSSBOW_1
@ ITEM_CROSSBOW_1
Definition: Items.h:79
ITEM_SPELLBOOK_LIGHT_SUN_BURST
@ ITEM_SPELLBOOK_LIGHT_SUN_BURST
Definition: Items.h:151
ITEM_RELIC_TWILIGHT
@ ITEM_RELIC_TWILIGHT
Definition: Items.h:178
ITEM_ARTIFACT_IRON_FEATHER
@ ITEM_ARTIFACT_IRON_FEATHER
Definition: Items.h:154
ITEM_ENCHANTMENT_40
@ ITEM_ENCHANTMENT_40
Definition: Items.h:58
ITEM_GOLD_LARGE
@ ITEM_GOLD_LARGE
Definition: Items.h:99
MATERIAL_SPECIAL
@ MATERIAL_SPECIAL
Definition: Items.h:69
ITEM_RARE_ZOKKARS_AXE
@ ITEM_RARE_ZOKKARS_AXE
Definition: Items.h:202
ITEM_ARTIFACT_HEROS_BELT
@ ITEM_ARTIFACT_HEROS_BELT
Definition: Items.h:188
ITEM_FAE_DUST
@ ITEM_FAE_DUST
Definition: Items.h:111
ITEM_GENIE_LAMP
@ ITEM_GENIE_LAMP
Definition: Items.h:209
DMGT_COLD
@ DMGT_COLD
Definition: Items.h:13
EQUIP_BOW
@ EQUIP_BOW
Definition: Items.h:229
ITEM_MACE_1
@ ITEM_MACE_1
Definition: Items.h:80
ITEM_RILIC_TITANS_BELT
@ ITEM_RILIC_TITANS_BELT
Definition: Items.h:177
ITEM_RELIC_ANIA_SELVING
@ ITEM_RELIC_ANIA_SELVING
Definition: Items.h:179
ITEM_SPELLBOOK_WATER_POISON_SPRAY
@ ITEM_SPELLBOOK_WATER_POISON_SPRAY
Definition: Items.h:142
ITEM_LASER_RIFLE
@ ITEM_LASER_RIFLE
Definition: Items.h:83
DMGT_LIGHT
@ DMGT_LIGHT
Definition: Items.h:20
ITEM_SPELLBOOK_EARTH_SLOW
@ ITEM_SPELLBOOK_EARTH_SLOW
Definition: Items.h:143
ITEM_BLASTER
@ ITEM_BLASTER
Definition: Items.h:82
ITEM_POTION_ACCURACY_BOOST
@ ITEM_POTION_ACCURACY_BOOST
Definition: Items.h:132
ITEM_OOZE_ENDOPLASM_VIAL
@ ITEM_OOZE_ENDOPLASM_VIAL
Definition: Items.h:117
MATERIAL_COMMON
@ MATERIAL_COMMON
Definition: Items.h:66
ITEM_POTION_CURE_WOUNDS
@ ITEM_POTION_CURE_WOUNDS
Definition: Items.h:122
ITEM_GARNET
@ ITEM_GARNET
Definition: Items.h:113
EQUIP_POTION
@ EQUIP_POTION
Definition: Items.h:241
ITEM_STAFF_1
@ ITEM_STAFF_1
Definition: Items.h:81
ITEM_AURA_EFFECT_PURPLE
@ ITEM_AURA_EFFECT_PURPLE
Definition: Items.h:32
ITEM_ENCHANTMENT_OF_FIRE
@ ITEM_ENCHANTMENT_OF_FIRE
Definition: Items.h:47
EQUIP_NONE
@ EQUIP_NONE
Definition: Items.h:248
ITEM_POTION_FLAMING_POTION
@ ITEM_POTION_FLAMING_POTION
Definition: Items.h:133
ITEM_GOLD_SMALL
@ ITEM_GOLD_SMALL
Definition: Items.h:97
ITEM_ENCHANTMENT_OF_INFERNOS
@ ITEM_ENCHANTMENT_OF_INFERNOS
Definition: Items.h:49
ITEM_RARE_MINOTAURS_AXE
@ ITEM_RARE_MINOTAURS_AXE
Definition: Items.h:204
ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP
@ ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP
Definition: Items.h:183
ITEM_MUSHROOM
@ ITEM_MUSHROOM
Definition: Items.h:115
ITEM_ENCHANTMENT_OF_DRAGON
@ ITEM_ENCHANTMENT_OF_DRAGON
Definition: Items.h:61
ITEM_RELIC_KELEBRIM
@ ITEM_RELIC_KELEBRIM
Definition: Items.h:173
EQUIP_AMULET
@ EQUIP_AMULET
Definition: Items.h:238
ITEM_AURA_EFFECT_RED
@ ITEM_AURA_EFFECT_RED
Definition: Items.h:29
ITEM_ENCHANTMENT_VAMPIRIC
@ ITEM_ENCHANTMENT_VAMPIRIC
Definition: Items.h:53
ITEM_RELIC_OLD_NICK
@ ITEM_RELIC_OLD_NICK
Definition: Items.h:170
ITEM_ENCHANTMENT_OF_LIGHTNING
@ ITEM_ENCHANTMENT_OF_LIGHTNING
Definition: Items.h:45
DMGT_ELECTR
@ DMGT_ELECTR
Definition: Items.h:12
DMGT_BODY
@ DMGT_BODY
Definition: Items.h:19
ITEM_DAGGER_1
@ ITEM_DAGGER_1
Definition: Items.h:76
ITEM_POTION_AWAKEN
@ ITEM_POTION_AWAKEN
Definition: Items.h:126
ITEM_WAND_INCENERATION
@ ITEM_WAND_INCENERATION
Definition: Items.h:93
ITEM_SULFUR
@ ITEM_SULFUR
Definition: Items.h:112
EQUIP_TWO_HANDED
@ EQUIP_TWO_HANDED
Definition: Items.h:228
ITEM_SPELLBOOK_BODY_BREAK_POISON
@ ITEM_SPELLBOOK_BODY_BREAK_POISON
Definition: Items.h:149
ITEM_SPELLBOOK_MIND_MIND_BLAST
@ ITEM_SPELLBOOK_MIND_MIND_BLAST
Definition: Items.h:146
ITEM_HARPY_FEATHER
@ ITEM_HARPY_FEATHER
Definition: Items.h:107
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
ITEM_ARTIFACT_WALLACE
@ ITEM_ARTIFACT_WALLACE
Definition: Items.h:155
ITEM_AURA_EFFECT_BLUE
@ ITEM_AURA_EFFECT_BLUE
Definition: Items.h:30
ITEM_RELIC_MEKORIGS_HAMMER
@ ITEM_RELIC_MEKORIGS_HAMMER
Definition: Items.h:181
ITEM_ELVEN_CHAINMAIL
@ ITEM_ELVEN_CHAINMAIL
Definition: Items.h:186
ITEM_NULL
@ ITEM_NULL
Definition: Items.h:74
ITEM_RELIC_SCHOLARS_CAP
@ ITEM_RELIC_SCHOLARS_CAP
Definition: Items.h:175
ITEM_IDENTIFIED
@ ITEM_IDENTIFIED
Definition: Items.h:26
ITEM_ENCHANTMENT_OF_DARKNESS
@ ITEM_ENCHANTMENT_OF_DARKNESS
Definition: Items.h:59
ITEM_161
@ ITEM_161
Definition: Items.h:95
ITEM_RARE_SHADOWS_MASK
@ ITEM_RARE_SHADOWS_MASK
Definition: Items.h:197
ITEM_ENCHANTMENT_OF_FROST
@ ITEM_ENCHANTMENT_OF_FROST
Definition: Items.h:42
ITEM_BROKEN
@ ITEM_BROKEN
Definition: Items.h:27
EQUIP_WAND
@ EQUIP_WAND
Definition: Items.h:239
ITEM_POTION_BOTTLE
@ ITEM_POTION_BOTTLE
Definition: Items.h:120
ITEM_RARE_GHOST_RING
@ ITEM_RARE_GHOST_RING
Definition: Items.h:198
ITEM_SPELLBOOK_BODY_HEAL
@ ITEM_SPELLBOOK_BODY_HEAL
Definition: Items.h:148
ITEM_SPEAR_1
@ ITEM_SPEAR_1
Definition: Items.h:78
EQUIP_GAUNTLETS
@ EQUIP_GAUNTLETS
Definition: Items.h:235
ITEM_WAND_FIRE
@ ITEM_WAND_FIRE
Definition: Items.h:91
ITEM_ENCHANTMENT_OF_SPARKS
@ ITEM_ENCHANTMENT_OF_SPARKS
Definition: Items.h:44
EQUIP_RING
@ EQUIP_RING
Definition: Items.h:237
ITEM_POTION_CURE_INSANITY
@ ITEM_POTION_CURE_INSANITY
Definition: Items.h:130
ITEM_RARE_VILLAINS_BLADE
@ ITEM_RARE_VILLAINS_BLADE
Definition: Items.h:194
ITEM_POTION_REJUVENATION
@ ITEM_POTION_REJUVENATION
Definition: Items.h:138
ITEM_ARTIFACT_ELFBANE
@ ITEM_ARTIFACT_ELFBANE
Definition: Items.h:184
ITEM_ARTIFACT_SPLITTER
@ ITEM_ARTIFACT_SPLITTER
Definition: Items.h:159
ITEM_ENCHANTMENT_OF_FORCE
@ ITEM_ENCHANTMENT_OF_FORCE
Definition: Items.h:56
ITEM_RECIPE_BODY_RESISTANCE
@ ITEM_RECIPE_BODY_RESISTANCE
Definition: Items.h:222
ITEM_RELIC_GLORY_SHIELD
@ ITEM_RELIC_GLORY_SHIELD
Definition: Items.h:172
DMGT_EARTH
@ DMGT_EARTH
Definition: Items.h:14
ITEM_ARTEFACT_HANDS_OF_THE_MASTER
@ ITEM_ARTEFACT_HANDS_OF_THE_MASTER
Definition: Items.h:164
ITEM_LICH_JAR_FULL
@ ITEM_LICH_JAR_FULL
Definition: Items.h:206
ITEM_ENCHANTMENT_NULL
@ ITEM_ENCHANTMENT_NULL
Definition: Items.h:39
ITEM_RELIC_ETHRICS_STAFF
@ ITEM_RELIC_ETHRICS_STAFF
Definition: Items.h:168
ITEM_POTION_MIGHT_BOOST
@ ITEM_POTION_MIGHT_BOOST
Definition: Items.h:131
ITEM_ARTIFACT_RULERS_RING
@ ITEM_ARTIFACT_RULERS_RING
Definition: Items.h:166
ITEM_CHAINMAIL_1
@ ITEM_CHAINMAIL_1
Definition: Items.h:85
ITEM_REAGENT_CRUSHED_ROSE_PETALS
@ ITEM_REAGENT_CRUSHED_ROSE_PETALS
Definition: Items.h:101
ITEM_RARE_MEDUSAS_MIRROR
@ ITEM_RARE_MEDUSAS_MIRROR
Definition: Items.h:192
ITEM_SPELLBOOK_SPIRIT_BLESS
@ ITEM_SPELLBOOK_SPIRIT_BLESS
Definition: Items.h:144
ITEM_RELIC_TALEDONS_HELM
@ ITEM_RELIC_TALEDONS_HELM
Definition: Items.h:174
ITEM_RARE_LIETENANTS_CUTLASS
@ ITEM_RARE_LIETENANTS_CUTLASS
Definition: Items.h:191
ITEM_SPELLBOOK_MIND_REMOVE_FEAR
@ ITEM_SPELLBOOK_MIND_REMOVE_FEAR
Definition: Items.h:145
ITEM_ENCHANTMENT_OF_COLD
@ ITEM_ENCHANTMENT_OF_COLD
Definition: Items.h:41
ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION
@ ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION
Definition: Items.h:152
EQUIP_BOOTS
@ EQUIP_BOOTS
Definition: Items.h:236
ITEM_DEVIL_ICHOR
@ ITEM_DEVIL_ICHOR
Definition: Items.h:114
ITEM_ARTIFACT_GOVERNORS_ARMOR
@ ITEM_ARTIFACT_GOVERNORS_ARMOR
Definition: Items.h:157
ITEM_92
@ ITEM_92
Definition: Items.h:88
ITEM_REAGENT_WIDOWSWEEP_BERRIES
@ ITEM_REAGENT_WIDOWSWEEP_BERRIES
Definition: Items.h:100
ITEM_GOLD_MEDIUM
@ ITEM_GOLD_MEDIUM
Definition: Items.h:98
ITEM_BUCKLER_1
@ ITEM_BUCKLER_1
Definition: Items.h:87
ITEM_REAGENT_PHILOSOPHERS_STONE
@ ITEM_REAGENT_PHILOSOPHERS_STONE
Definition: Items.h:119
ITEM_TROLL_RUBY
@ ITEM_TROLL_RUBY
Definition: Items.h:103
ItemsTable::pItems
NZIArray< ItemDesc, 800 > pItems
Definition: Items.h:460
DMGT_MIND
@ DMGT_MIND
Definition: Items.h:18
ITEM_AXE_1
@ ITEM_AXE_1
Definition: Items.h:77
ITEM_ARTIFACT_CHARELE
@ ITEM_ARTIFACT_CHARELE
Definition: Items.h:162
ITEM_GRYPHONHEARTS_TRUMPET
@ ITEM_GRYPHONHEARTS_TRUMPET
Definition: Items.h:215
MATERIAL_RELIC
@ MATERIAL_RELIC
Definition: Items.h:68
ITEM_ARTIFACT_PUCK
@ ITEM_ARTIFACT_PUCK
Definition: Items.h:153