log Player.cpp @ 1657:51a74615d956

age author description
Wed, 18 Sep 2013 10:22:16 +0200 Grumpy7 DamagePlayerFromMonster continuing cleanup, part 3
Wed, 18 Sep 2013 09:06:28 +0200 Grumpy7 DamagePlayerFromMonster continuing cleanup, part 2
Wed, 18 Sep 2013 06:30:53 +0200 Grumpy7 DamagePlayerFromMonster continuing cleanup
Tue, 17 Sep 2013 07:30:41 +0200 Grumpy7 DamagePlayerFromMonster starting cleanup
Sun, 15 Sep 2013 03:08:12 +0200 Grumpy7 _43ED6F_check_party_races to IsDwarfPresentInParty
Sun, 15 Sep 2013 02:20:06 +0200 Grumpy7 sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped to Player::HasUnderwaterSuitEquipped, sub_43EDB9_get_some_race_sex_relation_2 to ShouldLoadTexturesForRaceAndGender, Player_has_item to Player::HasItem
Sat, 14 Sep 2013 19:09:44 +0200 Grumpy7 Player::EquipBody cleaned up
Sat, 14 Sep 2013 07:21:56 +0200 Grumpy7 Player::UseItem_DrinkPotion_etc some minor edits(brace indentation, a few warnings), commented out 2 sections which never get used
Sat, 14 Sep 2013 06:56:05 +0200 Grumpy7 Player::GetRace cleaned up + removed a few unused vars
Sat, 14 Sep 2013 06:46:12 +0200 Grumpy7 Player::GetMagicalBonus cleaned up, identified a few player only effect spells used in mm6
Sat, 14 Sep 2013 06:04:18 +0200 Grumpy7 Moved enchantment attribute bonus list to items.cpp/h, created static function that create the enchantments + helper functions to get the enchantment strength, moved the whole logic of Player::GetItemsBonus to a case
Thu, 12 Sep 2013 09:53:41 +0200 Grumpy7 started extracting enchantment effects to a helper class
Tue, 10 Sep 2013 08:31:04 +0200 Grumpy7 Player::GetItemsBonus removed majority of labels
Tue, 10 Sep 2013 04:16:54 +0200 Grumpy7 _48EA46_calc_special_bonus_by_items renamed to GetSpecialItemBonus, forgot to commit actor.cpp
Tue, 10 Sep 2013 04:08:15 +0200 Grumpy7 Player::GetActualResistance cleaned up, some minor changes in Player::Recover, _48EA46_calc_special_bonus_by_items renamed to GetSpecialItemBonus
Tue, 10 Sep 2013 03:25:15 +0200 Grumpy7 Player::GetBaseResistance cleanup, setting default parameter to Player::GetItemsBonus
Sun, 08 Sep 2013 08:10:09 +0200 Grumpy7 Player::GetMaxHealth, GetBaseAC, GetActualAC minor cleanups
Sun, 08 Sep 2013 08:01:05 +0200 Grumpy7 Player::GetAttackRecoveryTime removing label, fixing shield skill being ignored, fixing haste being ignored
Sun, 08 Sep 2013 07:28:20 +0200 Grumpy7 Fixing compiler warnings
Sun, 08 Sep 2013 05:22:33 +0200 Grumpy7 Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
Sun, 08 Sep 2013 04:10:22 +0200 Grumpy7 fixing Player::GetMeleeDamageString and Player::CanTrainToNextLevel
Sun, 08 Sep 2013 03:27:10 +0200 Grumpy7 fixing compilation error
Sun, 08 Sep 2013 02:41:10 +0200 Grumpy7 splitting Player::WearsItem into two functions
Sun, 08 Sep 2013 01:17:33 +0200 Grumpy7 Player::IsUnarmed fixing condition
Sun, 08 Sep 2013 01:03:04 +0200 Grumpy7 Player::CalculateIncommingDamage, liches shouldn't be immune to damage if above 200 resistance to it
Sun, 08 Sep 2013 00:35:03 +0200 Grumpy7 Player::CanTrainToNextLevel simplified, Player::GetExperienceDisplayColor shortened a bit Player::CalculateIncommingDamage + fixed resistances not working if no resistance bonus (ignored luck bonus)
Sat, 07 Sep 2013 23:06:13 +0200 Grumpy7 Changed the new Assert macro definition slightly, Party::AddItem (for some reason in players.cpp) renamed to Party::AddItemToParty, cleaned up; some unused variables in previous functions removed
Sat, 07 Sep 2013 21:17:47 +0200 Grumpy7 Minor assert fixes in players.cpp
Sat, 07 Sep 2013 21:14:48 +0200 Grumpy7 Merge
Sat, 07 Sep 2013 21:00:02 +0200 Grumpy7 Get(skillname) functions cleaned up, using GetMultiplierForSkillLevel instead of nested conditions
Sat, 07 Sep 2013 10:49:42 +0200 Grumpy7 Player::CanFitItem, AddItem, AddItem2 changed changed the retarded 2 dimensional array traversal, changed GetActualAttribute input parameters to get rid of the attrid case
Sat, 07 Sep 2013 10:04:37 +0200 Grumpy7 Player::CalculateRangedDamageTo, finishing cleanup accidentally commited in previous commit
Sat, 07 Sep 2013 09:45:09 +0200 Grumpy7 Player::CalculateMeleeDamageTo extracted 2 almost identical sections to a separate function, variable cleanup, changed parameter types
Sat, 07 Sep 2013 09:16:55 +0200 Grumpy7 Player::CalculateMeleeDamageTo removed labels, ifdowhile patterns changed to for cycles, magic numbers to enum values, fixing gibbet being only undead slaying
Sat, 07 Sep 2013 06:51:56 +0200 Grumpy7 Player::GetRangedDamageString fix + some small chnages
Sat, 07 Sep 2013 20:05:20 +0200 Nomad assert, Abortf, AbortWithError -> Assert, Error
Sat, 07 Sep 2013 05:18:32 +0200 Grumpy7 Player:GetSkillBonus cleanup, added back some brackets, because of var declarations, moved here CHARACTER_ATTRIBUTE_RANGED_DMG_BONUS from GetRangedDamageMin and GetRangedDamageMax
Sat, 07 Sep 2013 05:06:15 +0200 Grumpy7 Player:GetSkillBonus cleanup, minor edits
Sat, 07 Sep 2013 05:01:12 +0200 Grumpy7 Player:GetSkillBonus cleanup, multiplier evaluation moved to a separate function, variable clanup, renaming, scope reduction
Sat, 07 Sep 2013 04:15:06 +0200 Grumpy7 Player:GetSkillBonus cleanup, undoing part of previous changeset to better track file modifications
Sat, 07 Sep 2013 04:13:22 +0200 Grumpy7 Player::GetSkillBonus continuing cleanup
Sat, 07 Sep 2013 02:42:54 +0200 Grumpy7 Player::GetSkillBonus put input value in case, removed labels (introduced a bit of code duplicity)
Fri, 06 Sep 2013 03:36:08 +0200 Grumpy7 Player::GetSkillBonus fixing indentation
Mon, 02 Sep 2013 17:30:50 +0600 Ritor1 UIGame.cpp cleaning(continue) GameUI_DrawMinimap
Wed, 21 Aug 2013 20:59:16 +0400 Gloval Merge
Wed, 21 Aug 2013 20:58:36 +0400 Gloval renaming _guilds_member_bits to _achieved_awards_bits
Wed, 21 Aug 2013 16:06:50 +0200 Nomad Function names
Wed, 21 Aug 2013 14:26:36 +0200 Nomad ModalWindow
Fri, 09 Aug 2013 17:30:33 +0600 Ritor1 DrawPaperdoll cleaning
Thu, 08 Aug 2013 16:34:19 +0600 Ritor1 GetDayPart and Journal_Draw
Tue, 06 Aug 2013 00:56:33 +0400 Gloval Merge
Tue, 06 Aug 2013 00:52:46 +0400 Gloval some turn engine renaming
Fri, 02 Aug 2013 19:28:59 +0200 Nomad Merge
Fri, 02 Aug 2013 19:28:36 +0200 Nomad .
Fri, 02 Aug 2013 13:48:57 +0600 Ritor1 LloydBeacons
Tue, 30 Jul 2013 15:14:46 +0600 Ritor1 fall to the water
Fri, 26 Jul 2013 23:35:34 +0200 Nomad +InitializaDialogueOptions
Fri, 26 Jul 2013 21:16:51 +0200 Nomad Highlighted locations with "using uninitialized variable" warning.
Tue, 23 Jul 2013 16:34:00 +0600 Ritor1 PlayerSpeechID and uSpeakingCharacter
Tue, 23 Jul 2013 15:41:45 +0600 Ritor1 Explosion Traps fix
Mon, 22 Jul 2013 15:23:43 +0600 Ritor1 RemoveTexturesPackFromTextureList and RemoveTexturesFromTextureList
Mon, 22 Jul 2013 14:49:12 +0600 Ritor1 ClearTextureList
Thu, 18 Jul 2013 16:11:57 +0200 Nomad More hardcoded UI colors moved to varibables.
Wed, 17 Jul 2013 00:39:37 +0200 Grumpy7 sACModifier zeroed in player constructor so AC is not always 0(or -some value) ingame
Wed, 17 Jul 2013 00:29:58 +0200 Grumpy7 Player::SelectPhrasesTransaction finished, some constants changed to enum values, removed unused vars
Wed, 17 Jul 2013 00:19:33 +0200 Grumpy7 Player::SelectPhrasesTransaction redone
Tue, 16 Jul 2013 23:35:40 +0200 Grumpy7 Player::AddItem and Player::AddItem2 fixed my bug
Tue, 16 Jul 2013 20:51:29 +0200 Grumpy7 changed a few member variables in Player to slightly less confusing names
Tue, 16 Jul 2013 00:40:01 +0200 Grumpy7 Player::PutItemArInventoryIndex, Player::RemoveItemAtInventoryIndex cleanup, slightly simplified
Tue, 16 Jul 2013 00:20:17 +0200 Grumpy7 Player::AddItem2, Player::CreateItemInInventory2 cleanup
Mon, 15 Jul 2013 23:59:04 +0200 Grumpy7 Player::AddItem, Player::WearItem cleanup
Mon, 15 Jul 2013 02:37:03 +0200 Grumpy7 Player::CreateItemInInventory small bugfix from previous change
Mon, 15 Jul 2013 02:34:52 +0200 Grumpy7 Player::FindFreeInventorySlot and Player::CreateItemInInventory refactoring
Mon, 15 Jul 2013 00:57:06 +0200 Grumpy7 Player::CanFitItem refactored
Mon, 15 Jul 2013 00:42:50 +0200 Grumpy7 Condition checking functions slightly renamed, some final changes in Player::SetCondition
Sun, 14 Jul 2013 23:22:43 +0200 Grumpy7 Moved condition checking to a separate class, extracted it from player::SetCondition
Sat, 13 Jul 2013 21:36:35 +0200 Grumpy7 Player::SetCondition added spaces for readability, fixed stoning and poisioning bug wit prot. from magic, using IsMale() function instead of case
Sat, 13 Jul 2013 17:13:45 +0200 Grumpy7 _449B57_test_bit(pParty->_quest_bits, 99) and _449B57_test_bit(pParty->_quest_bits, 100) changed to Party::IsPartyGood, Party::IsPartyEvil, respectively
Sat, 13 Jul 2013 16:52:00 +0200 Grumpy7 a few itemID changed to their enum values + added a few new ones
Sat, 13 Jul 2013 16:15:35 +0200 Grumpy7 Player::CanEquip_RaceAndAlignmentCheck fixed 3 missing return values, started using new race and gender functions, moved everything to a switch
Sat, 13 Jul 2013 16:05:24 +0200 Grumpy7 Player::CanEquip_RaceAndAlignmentCheck condition reorganizing, label removal, using GetSexByVoice()
Sat, 13 Jul 2013 13:14:05 +0200 Grumpy7 Player::CanAct, Player::CanSteal shortened a bit
Sat, 13 Jul 2013 13:12:21 +0200 Grumpy7 Player::_49327B to Player::ProfessionOrGuildFlagsCorrect, removed a huge section of the function that's never used (only 4 inputs used)
Sat, 13 Jul 2013 12:35:02 +0200 Grumpy7 Player::PlayEmotion removed unused variables, deleted a useless secion of code (unused calculations)
Sat, 13 Jul 2013 11:56:57 +0200 Grumpy7 Player::PlayEmotion simplified main condition, renamed a few expression enum vals
Sat, 13 Jul 2013 04:16:30 +0200 Grumpy7 Player::PlaySound cleanup
Sat, 13 Jul 2013 01:44:53 +0200 Grumpy7 Player::GetTempleHealCostModifier simplified
Sat, 13 Jul 2013 01:30:40 +0200 Grumpy7 Player::ItemsEnchant slight simplification
Sat, 13 Jul 2013 00:25:19 +0200 Grumpy7 Player::IsPlayerHealableByTemple final version
Fri, 12 Jul 2013 23:08:35 +0200 Grumpy7 Merge
Fri, 12 Jul 2013 23:07:14 +0200 Grumpy7 Player::_43EEF3 renamed to NothingOrJustBlastersEquipped
Sat, 06 Jul 2013 00:29:29 +0400 Gloval turnengine refactoring continue
Fri, 05 Jul 2013 01:46:44 +0400 Gloval turn engine file added
Tue, 02 Jul 2013 01:15:03 +0200 Grumpy7 GetActual(stat) common code extracted
Tue, 02 Jul 2013 00:39:26 +0200 Grumpy7 GetActual(stat) functions changed to similar code
Mon, 24 Jun 2013 23:55:02 +0400 Gloval autonotes and quest tables overflow fixed
Wed, 19 Jun 2013 17:06:58 +0600 Ritor1 moving files mm7_x ending
Mon, 17 Jun 2013 17:34:01 +0600 Ritor1 moving files
Sat, 15 Jun 2013 07:52:05 +0200 Grumpy7 changed Player::_4B6FF9 to Player::IsPlayerHealableByTemple
Sat, 15 Jun 2013 07:30:26 +0200 Grumpy7 changed sub_467E7F_EquipBody to Player::EquipBody, some more header file stuff
Sat, 15 Jun 2013 06:51:04 +0200 Grumpy7 renamed a few unnamed functions
Sat, 15 Jun 2013 05:08:48 +0200 Grumpy7 Player::_4B807C changed to Player::GetTempleHealCostModifier, cleaned up
Sat, 15 Jun 2013 03:00:36 +0200 Grumpy7 PlayerCreation_ComputeAttributeBonus cleanup
Sat, 15 Jun 2013 02:31:27 +0200 Grumpy7 Player::DecreaseAttribute cleanup
Sat, 15 Jun 2013 02:23:04 +0200 Grumpy7 Player::GetSkillIdxByOrder cleanup - extracting common branch bodies
Sat, 15 Jun 2013 02:15:03 +0200 Grumpy7 Player::GetSkillIdxByOrder cleanup - changing cycles to fors
Wed, 12 Jun 2013 21:07:34 +0200 Grumpy7 included header cleanup
Wed, 12 Jun 2013 15:12:38 +0200 Grumpy7 Player::SetVariable cleanup - preparing to remove LABEL_111 and LABEL_112
Wed, 12 Jun 2013 04:14:33 +0200 Grumpy7 Player::SetVariable cleanup - removing unused variables and function calls with them, some case shuffling
Wed, 12 Jun 2013 03:59:08 +0200 Grumpy7 Player::SetVariable cleanup - removed some labels at the cost of 2 extra small functions
Tue, 11 Jun 2013 15:24:05 +0200 Grumpy7 Player::SetVariable cleanup - moved around some cases to group similar types together, some cases reordered according to enum values
Sun, 09 Jun 2013 16:04:02 +0200 Grumpy7 SoundSetAction to std::array
Sun, 09 Jun 2013 01:30:36 +0200 Grumpy7 arrays to std::arrays phase 3 - finishing global arrays
Sun, 09 Jun 2013 00:30:48 +0200 Grumpy7 arrays to std::arrays phase 2 - mm7_data.h converted
Tue, 04 Jun 2013 18:29:35 +0200 Grumpy7 pPartyBuffs - change plain numbers to enums
Tue, 04 Jun 2013 03:21:21 +0200 Grumpy7 temporary _CRT_SECURE_NO_WARNINGS to remove some warnings
Wed, 29 May 2013 03:21:19 +0200 Grumpy7 minor GetMaxMana cleanup
Tue, 28 May 2013 00:19:45 +0200 Grumpy7 something to bool cast (performance warning) mostly fixed
Sun, 26 May 2013 23:19:49 +0400 Gloval bugfix
Sun, 26 May 2013 18:55:31 +0400 Gloval npc some clean