log Player.cpp @ 1869:bc7a6ee34316

age author description
Wed, 16 Oct 2013 03:23:03 +0200 Grumpy7 changed some memsets to fills in player.cpp, party.cpp and changing to sizeof(varName)
Mon, 14 Oct 2013 06:32:30 +0200 Grumpy7 changing most of party arrays to std::arrays, some minor cleanups in actor.cpp
Fri, 11 Oct 2013 09:19:40 +0200 Grumpy7 changing global char* vars to const char* vars
Fri, 11 Oct 2013 07:29:14 +0200 Grumpy7 sub_421B2C_PlaceInInventory_or_DropPickedItem to Party::sub_421B2C_PlaceInInventory_or_DropPickedItem
Fri, 11 Oct 2013 07:04:19 +0200 Grumpy7 party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Fri, 11 Oct 2013 05:49:39 +0200 Grumpy7 cleaned up part of party.cpp, renamed byte_AE3368 to playerAlreadyPicked + 3 vars after it, moved them to party.cpp, some player.cpp bugfixes
Wed, 09 Oct 2013 09:08:15 +0200 Grumpy7 Changing arrays in class Player to std::array
Wed, 09 Oct 2013 08:39:49 +0200 Grumpy7 cancelEventProcessing to dword_5B65C4_cancelEventProcessing
Wed, 09 Oct 2013 08:06:26 +0200 Grumpy7 Finishing Player.cpp, fixing some bugs
Tue, 08 Oct 2013 07:41:00 +0200 Grumpy7 dword_5B65C4 to cancelEventProcessing
Tue, 08 Oct 2013 07:10:00 +0200 Grumpy7 Player::SubtractVariable changing return val to void, finishing cleanup
Tue, 08 Oct 2013 05:46:44 +0200 Grumpy7 Player::SubtractVariable moving everything to one switch
Mon, 07 Oct 2013 07:56:07 +0200 Grumpy7 Player::SubtractVariable helper functions
Sun, 06 Oct 2013 09:19:12 +0200 Grumpy7 dword_5B65CC to npcIdToDismissAfterDialogue, Party::field_709 to Party::hirelingScrollPosition
Thu, 03 Oct 2013 09:35:51 +0200 Grumpy7 Player::AddVariable moving everything to a switch, cleaning up, finishing
Thu, 03 Oct 2013 08:53:25 +0200 Grumpy7 Player::AddVariable adding helper functions
Thu, 03 Oct 2013 08:32:59 +0200 Grumpy7 Player::AddVariable value capping done with calls to min, setplayerbuffanim and playsound contition variables removed
Thu, 03 Oct 2013 08:06:29 +0200 Grumpy7 Player::AddVariable majority of labels
Thu, 03 Oct 2013 07:35:20 +0200 Grumpy7 Player::AddVariable starting refactoring
Thu, 03 Oct 2013 06:38:20 +0200 Grumpy7 Player.cpp cosmetics
Thu, 03 Oct 2013 05:56:52 +0200 Grumpy7 Player::SetVariable finishing cleanup
Thu, 03 Oct 2013 05:30:03 +0200 Grumpy7 Merge
Thu, 03 Oct 2013 05:27:54 +0200 Grumpy7 Player::SetVariable moved most of the conditions into a switch
Wed, 02 Oct 2013 08:51:43 +0200 Grumpy7 Player::SetVariable helper function for award sound
Wed, 02 Oct 2013 07:42:43 +0200 Grumpy7 Player::SetVariable SetPlayerBuffAnim and pAudioPlayer->PlaySound(SOUND_20001,...) condition vars removal
Wed, 02 Oct 2013 07:03:23 +0200 Grumpy7 Player::SetVariable trivial variable substitution
Wed, 02 Oct 2013 05:47:30 +0200 Grumpy7 Player::SetVariable PlaySound and SetPlayerBuffAnim labels restored to original state
Tue, 01 Oct 2013 09:51:33 +0200 Grumpy7 Player::SetVariable removing LABEL_124
Tue, 01 Oct 2013 09:49:16 +0200 Grumpy7 Player::SetVariable removing LABEL_111
Tue, 01 Oct 2013 09:47:57 +0200 Grumpy7 Player::SetVariable removing LABEL_112
Tue, 01 Oct 2013 09:45:32 +0200 Grumpy7 Player::SetVariable restoring and fixing LABEL_51
Tue, 01 Oct 2013 07:36:27 +0200 Grumpy7 Player::SetVariable removing LABEL_168
Tue, 01 Oct 2013 07:35:15 +0200 Grumpy7 Player::SetVariable removing LABEL_169
Tue, 01 Oct 2013 07:33:52 +0200 Grumpy7 Player::SetVariable removing LABEL_170
Tue, 01 Oct 2013 07:32:15 +0200 Grumpy7 Player::SetVariable removing LABEL_172
Tue, 01 Oct 2013 07:30:46 +0200 Grumpy7 Player::SetVariable removing label_84
Tue, 01 Oct 2013 07:29:30 +0200 Grumpy7 Player::SetVariable restarting function refatcoring
Tue, 01 Oct 2013 10:44:02 +0600 Ritor1 Слияние
Tue, 01 Oct 2013 10:43:46 +0600 Ritor1 m
Tue, 01 Oct 2013 06:19:58 +0200 Grumpy7 Merge
Tue, 01 Oct 2013 06:17:32 +0200 Grumpy7 fixing some itemarray zero accesses
Mon, 30 Sep 2013 17:29:27 +0600 Ritor1 UITransition.cpp cleaning(continue)
Mon, 30 Sep 2013 05:48:32 +0200 Grumpy7 Party_stru0 renamed to PartyTimeStruct, fixed its members, renamed Party::field_3C to Party::PartyTimes, started Player::SetVariable refactoring start
Fri, 27 Sep 2013 10:08:01 +0200 Grumpy7 added small renaming note
Fri, 27 Sep 2013 10:04:45 +0200 Grumpy7 Player::CompareVariable finished, renamed stru_5E4C90 to stru_5E4C90_MapPersistVars, party::field_4A0 to party::CounterEventValues
Thu, 26 Sep 2013 08:07:50 +0200 Grumpy7 Player::CompareVariable cleanup first round
Wed, 25 Sep 2013 08:39:03 +0200 Grumpy7 fixing bugs introduced by me :)
Wed, 25 Sep 2013 07:11:16 +0200 Grumpy7 Item getter functions to reduce the number of ugly array accesses, fixing a bug with Player::setrecoverytime
Tue, 24 Sep 2013 07:32:24 +0200 Grumpy7 Merge
Tue, 24 Sep 2013 07:29:55 +0200 Grumpy7 ITEM_ENCHANTED to ITEM_HARDENED, created helper functions to get params from itemtable for ItemGens
Mon, 23 Sep 2013 07:07:06 +0200 Grumpy7 Moving NZIArray to a separate class, fixing a few inventory bugs
Mon, 23 Sep 2013 23:00:07 +0200 Nomad Merge
Mon, 23 Sep 2013 22:58:32 +0200 Nomad Fixed window shrink due to menu
Sun, 22 Sep 2013 18:09:44 +0200 Grumpy7 adding comments
Sun, 22 Sep 2013 10:44:42 +0200 Grumpy7 Player::ReceiveSpecialAttackEffect finishing cleanup, special attack type enum created
Sun, 22 Sep 2013 10:04:33 +0200 Grumpy7 Player::_48DCF6 renamed to Player::ReceiveSpecialAttackEffect second attempt
Sun, 22 Sep 2013 10:04:00 +0200 Grumpy7 Player::_48DCF6 renamed to Player::ReceiveSpecialAttackEffect, some case reordering, fixing getting only disease3 instead of disease1 and ignoring disease2 and 3, uSpecialAttack to uSpecialAttackType, uSpecialAttackType to uSpecialAttackLevel
Sun, 22 Sep 2013 09:36:38 +0200 Grumpy7 Player::_48DCF6 cycle and unused var cleanup
Sun, 22 Sep 2013 08:37:41 +0200 Grumpy7 Player::_48DCF6 substituted unnecessary vars by their values
Sun, 22 Sep 2013 07:57:16 +0200 Grumpy7 Player::_48DCF6 label removal
Sun, 22 Sep 2013 07:34:02 +0200 Grumpy7 Player::_48DCF6 fixing use of uninitialized vars
Sun, 22 Sep 2013 04:31:34 +0200 Grumpy7 Player::StealFromActor finishing cleanup
Sun, 22 Sep 2013 03:12:11 +0200 Grumpy7 Player::StealFromActor cleanup, renamed UIMSG_1B to UIMSG_STEALFROMACTOR
Sat, 21 Sep 2013 18:48:10 +0200 Grumpy7 Player::StealFromShop finishing cleanup
Sat, 21 Sep 2013 12:38:43 +0200 Grumpy7 Player::StealFromShop started cleanup, fixing a few errors caused by not commiting everything
Fri, 20 Sep 2013 10:51:42 +0200 Grumpy7 Fixing a few warnings in Players.cpp
Fri, 20 Sep 2013 10:34:07 +0200 Grumpy7 moving OnInventoryLeftClick to Player::
Fri, 20 Sep 2013 10:23:54 +0200 Grumpy7 OnInventoryLeftClick cleanup
Thu, 19 Sep 2013 08:26:28 +0200 Grumpy7 DamagePlayerFromMonster reducing variable scope
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