World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
262 #pragma pack(push, 1)
265 std::map<
int, std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment *> *> &maptoadd,
269 static std::map<int, std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment *> *>
regularBonusMap;
270 static std::map<int, std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment *> *>
specialBonusMap;
271 static std::map<int, std::map<CHARACTER_ATTRIBUTE_TYPE, CEnchantment *> *>
artifactBonusMap;
299 int *halfSkillBonus);
359 #pragma pack(push, 1)
402 #pragma pack(push, 1)
425 #pragma pack(push, 1)
439 #pragma pack(push, 1)
447 #pragma pack(push, 1)
452 void GenerateItem(
int treasure_level,
unsigned int uTreasureType,
570 #pragma pack(push, 1)
@ ITEM_SPELLBOOK_BODY_FIRST_AID
int GetItemTextureFilename(char *pOut, signed int item_id, int index, int shoulder)
unsigned __int16 uint16_t
@ ITEM_POTION_HARDEN_ITEM
bool IsMaterialNonCommon(ItemGen *pItem)
BonusRange bonus_ranges[6]
@ ITEM_ARTIFACT_LEAGUE_BOOTS
@ ITEM_RARE_LADY_CARMINES_DAGGER
std::array< const char, 5 > uItemsAmountPerShopType
unsigned __int8 GetDamageMod()
@ ITEM_ENCHANTMENT_OF_ICE
@ ITEM_RELIC_HARECS_LEATHER
unsigned int uBonusChanceStandart[6]
@ ITEM_TEMPLE_IN_A_BOTTLE
@ ITEM_RARE_VAMPIRES_CAPE
void SetSpecialBonus(ItemGen *pItem)
ITEM_EQUIP_TYPE uEquipType
ITEM_EQUIP_TYPE GetItemEquipType()
ItemGen * ptr_50C9A4_ItemToEnchant
@ ITEM_ENCHANTMENT_OF_FLAME
unsigned __int8 uDamageRoll
@ ITEM_RARE_CLANKERS_AMULET
int field_4_expire_minute
int GetDaysOfMonth() const
@ ITEM_RELIC_PHYNAXIAN_CROWN
@ ITEM_ENCHANTMENT_OF_THUNDERBOLTS
@ ITEM_ENCHANTMENT_OF_POISON
int _439DF3_get_additional_damage(DAMAGE_TYPE *a2, bool *vampiyr)
@ ITEM_POTION_BODY_RESISTANE
@ ITEM_POTION_SWIFT_POTION
@ ITEM_RECIPE_REJUVENATION
unsigned __int16 potion_note[50][50]
static void AddToMap(std::map< int, std::map< CHARACTER_ATTRIBUTE_TYPE, CEnchantment * > * > &maptoadd, int enchId, CHARACTER_ATTRIBUTE_TYPE attrId, int bonusValue=0, uint16_t Player::*skillPtr=nullptr)
@ ITEM_RARE_PERFECT_BOW_FIXED
static void PopulateSpecialBonusMap()
@ ITEM_RARE_GROGNARDS_CUTLASS
static std::map< int, std::map< CHARACTER_ATTRIBUTE_TYPE, CEnchantment * > * > regularBonusMap
@ ITEM_ARTIFACT_MINDS_EYE
@ ITEM_POTION_CURE_DISEASE
int field_0_expire_second
@ ITEM_SPELLBOOK_FIRE_STRIKE
bool ItemEnchanted() const
unsigned char uItemID_Rep_St
@ ITEM_POTION_MAGIC_POTION
@ ITEM_ARTIFACT_GHOULSBANE
@ ITEM_SPELLBOOK_TORCHLIGHT
@ ITEM_SPELLBOOK_AIR_FEATHER_FALL
int GetMinutesFraction() const
@ ITEM_METEORITE_FRAGMENT
@ ITEM_POTION_RECHARGE_ITEM
@ ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT
int GetSecondsFraction() const
void Initialize(GameTime duration)
unsigned __int8 uDamageDice
ITEM_ENCHANTMENT special_enchantment
@ ITEM_ENCHANTMENT_OF_VENOM
unsigned __int8 uChanceByTreasureLvl3
@ ITEM_ENCHANTMENT_OF_ACID
@ ITEM_POTION_SLAYING_POTION
bool AuraEffectRed() const
@ ITEM_POTION_CURE_WEAKNESS
@ ITEM_POTION_STONE_TO_FLESH
@ ITEM_ENCHANTMENT_OF_RECOVERY
@ ITEM_ARTIFACT_LADYS_ESCORT
@ ITEM_ARTIFACT_HERMES_SANDALS
unsigned __int8 uChanceByTreasureLvl2
@ ITEM_SPELLBOOK_LIGHT_SUN_BURST
void GenerateItem(int treasure_level, unsigned int uTreasureType, ItemGen *pItem)
@ ITEM_ARTIFACT_IRON_FEATHER
struct CEnchantment CEnchantment
@ ITEM_ARTIFACT_HEROS_BELT
unsigned __int8 uChanceByTreasureLvl[6]
unsigned char GetPlayerSkillType()
@ ITEM_RELIC_ANIA_SELVING
@ ITEM_SPELLBOOK_WATER_POISON_SPRAY
bool AuraEffectPurple() const
static void PopulateRegularBonusMap()
unsigned __int8 uBodyAnchor
unsigned __int8 GetDamageDice()
@ ITEM_SPELLBOOK_EARTH_SLOW
unsigned __int8 GetDamageRoll()
@ ITEM_POTION_ACCURACY_BOOST
int field_14_exprie_month
@ ITEM_OOZE_ENDOPLASM_VIAL
@ ITEM_POTION_CURE_WOUNDS
unsigned __int8 uDamageMod
int GetHoursOfDay() const
unsigned __int8 uChanceByTreasureLvl5
@ ITEM_AURA_EFFECT_PURPLE
void GetItemBonusSpecialEnchantment(Player *owner, CHARACTER_ATTRIBUTE_TYPE attrToGet, int *additiveBonus, int *halfSkillBonus)
@ ITEM_ENCHANTMENT_OF_FIRE
@ ITEM_POTION_FLAMING_POTION
unsigned __int8 uMaterial
@ ITEM_ENCHANTMENT_OF_INFERNOS
bool IsMaterialSpecial(ItemGen *pItem)
@ ITEM_RARE_MINOTAURS_AXE
@ ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP
@ ITEM_ENCHANTMENT_OF_DRAGON
static void ClearItemBonusMaps()
unsigned int pSpecialEnchantments_count
unsigned __int8 uChanceByTreasureLvl4
@ ITEM_ENCHANTMENT_VAMPIRIC
int GetWeeksOfMonth() const
@ ITEM_ENCHANTMENT_OF_LIGHTNING
String GetIdentifiedName()
unsigned int uChanceByTreasureLvlSumm[6]
void ResetEnchantAnimation()
ItemSpecialEnchantment pSpecialEnchantments[72]
@ ITEM_SPELLBOOK_BODY_BREAK_POISON
@ ITEM_SPELLBOOK_MIND_MIND_BLAST
unsigned __int8 uChanceByTreasureLvl1
bool IsRegularEnchanmentForAttribute(CHARACTER_ATTRIBUTE_TYPE attrToGet)
struct ItemsTable * pItemsTable
static std::map< int, std::map< CHARACTER_ATTRIBUTE_TYPE, CEnchantment * > * > specialBonusMap
@ ITEM_RELIC_MEKORIGS_HAMMER
bool AuraEffectBlue() const
unsigned int pSpecialEnchantmentsSumm[24]
@ ITEM_RELIC_SCHOLARS_CAP
@ ITEM_ENCHANTMENT_OF_DARKNESS
unsigned __int16 uSpriteID
@ ITEM_ENCHANTMENT_OF_FROST
void GetItemBonusArtifact(Player *owner, CHARACTER_ATTRIBUTE_TYPE attrToGet, int *bonusSum)
@ ITEM_SPELLBOOK_BODY_HEAL
bool AuraEffectGreen() const
ItemEnchantment pEnchantments[24]
unsigned char to_item[12]
@ ITEM_ENCHANTMENT_OF_SPARKS
static void PopulateArtifactBonusMap()
uint16_t Player::* statPtr
@ ITEM_POTION_CURE_INSANITY
@ ITEM_RARE_VILLAINS_BLADE
unsigned __int8 uChanceByTreasureLvl6
void UpdateTempBonus(GameTime time)
@ ITEM_POTION_REJUVENATION
@ ITEM_ENCHANTMENT_OF_FORCE
@ ITEM_RECIPE_BODY_RESISTANCE
@ ITEM_RELIC_GLORY_SHIELD
@ ITEM_ARTEFACT_HANDS_OF_THE_MASTER
@ ITEM_RELIC_ETHRICS_STAFF
@ ITEM_POTION_MIGHT_BOOST
unsigned __int8 uSkillType
@ ITEM_ARTIFACT_RULERS_RING
int m_enchantmentStrength
@ ITEM_REAGENT_CRUSHED_ROSE_PETALS
@ ITEM_RARE_MEDUSAS_MIRROR
@ ITEM_SPELLBOOK_SPIRIT_BLESS
unsigned __int16 potion_data[50][50]
@ ITEM_RELIC_TALEDONS_HELM
@ ITEM_RARE_LIETENANTS_CUTLASS
@ ITEM_SPELLBOOK_MIND_REMOVE_FEAR
unsigned int pEnchantmentsSumm[9]
unsigned int uBonusChanceWpSpecial[6]
@ ITEM_ENCHANTMENT_OF_COLD
@ ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION
unsigned int uBonusChanceSpecial[6]
@ ITEM_ARTIFACT_GOVERNORS_ARMOR
CEnchantment(int bonus, unsigned __int16 Player::*skillPtr=nullptr)
static std::map< int, std::map< CHARACTER_ATTRIBUTE_TYPE, CEnchantment * > * > artifactBonusMap
@ ITEM_REAGENT_WIDOWSWEEP_BERRIES
@ ITEM_REAGENT_PHILOSOPHERS_STONE
NZIArray< ItemDesc, 800 > pItems
@ ITEM_GRYPHONHEARTS_TRUMPET
bool MerchandiseTest(int _2da_idx)