summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-06-25Split #include "utils/performance.h" out of localconsts.hFedja Beader1-0/+1
only about 160 out of 1500 files that include localconsts.h need to include performance.h Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF. **** mana/plus!189
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2024-09-23Show MP bar below HP barewew ukek1-4/+31
Adds a light blue bar for MP below player's HP bar. It shows only if M.Atk is above 0. I didn't add a checkbox to the settings to disable this, let me know if I should. Squashed with: * Sneak in another TODO * Sneak in a TODO **** mana/plus!68 Co-authored-by: Fedja Beader <fedja@protonmail.ch>
2024-04-27Rename color identifiers for clarityFedja Beader1-9/+10
2024-04-27ReformatFedja Beader1-13/+7
Should this function gain emplace()-like semantics?
2024-04-05Rename hp bar color identifiers for clarityewew ukek1-10/+10
Continuation of https://git.themanaworld.org/mana/plus/-/merge_requests/68#note_12819 I've renamed `*_HP2` to `*_HP_BG` and updated their descriptions. I didn't touch configuration keys intentionally. "Renamed *_HP -> *_HP_FG. Also decided to keep descriptions as is or else they become unreadable." See merge request mana/plus!71
2024-03-20Color setting for attack range of monsters from ignore listewew ukek1-2/+10
This MR displays attack range of monsters from ignore attack list in different color. I picked magenta as default, this may be changed if needed. There are actor types other than monsters but looks like it's not possible to add them to ignore list anyway. * Flip if branches for readability * Color setting for attack range of monsters from ignore list ****
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2024-02-09Log misses in battle tab, alongside hitsFedja Beader1-9/+29
2021-03-11added desync walkaroundjak11-0/+6
2020-02-23Fix some code style issuesAndrei Karas1-1/+1
2019-09-30Add missing static keywordsAndrei Karas1-1/+1
2019-06-24Fix code styleAndrei Karas1-3/+0
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-26/+26
2018-10-29Fix code style.s20181102Andrei Karas1-10/+10
2018-03-27Fix show badges in some cases.Andrei Karas1-1/+1
2018-03-27Fix possible crash in recalcSpritesOrder.Andrei Karas1-10/+12
This can happend if try to change unallocated slot in being.
2018-03-27Fix possible draw issue after speechbuble was created.Andrei Karas1-1/+0
2018-03-26Fix wrong iterator usage in replace sprites function.Andrei Karas1-1/+4
2018-03-04Add support for hightlight attribute in groups.xmlAndrei Karas1-0/+6
This attribute allow to highlight gm groups based on groups.xml
2018-02-19Fix update gm badge if group was changed on the fly.Andrei Karas1-2/+9
2018-02-13Add support for show clan badge.Andrei Karas1-0/+28
But for now clan unset for players.
2018-01-16Fix code style.Andrei Karas1-2/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-12-28Remove extra includes.Andrei Karas1-2/+0
2017-12-27Remove default paramater from particle.Andrei Karas1-1/+3
2017-12-27Remove default parameters from particleengine.Andrei Karas1-4/+4
2017-12-27Remove default parameters from speechbubble.Andrei Karas1-1/+3
2017-12-22Remove default parameters from userpalette.Andrei Karas1-29/+56
2017-12-22Remove default parameters from effectmanager.Andrei Karas1-5/+8
2017-12-22Remove default parameters from map.Andrei Karas1-1/+6
2017-12-18Remove default parameters from animatedsprites.Andrei Karas1-18/+35
2017-12-17Remove default parameter from horsedb.Andrei Karas1-1/+1
2017-12-17Remove default parameter from Being::setPixelPositionF.Andrei Karas1-1/+3
2017-12-16Remove default parameters from Being::setSpeech.Andrei Karas1-15/+5
2017-12-16Remove default parameters from text.Andrei Karas1-2/+4
2017-12-14Remove default parameters from soundmanager.Andrei Karas1-2/+3
2017-12-11Remove default parameters from ChatTab::chatLog.Andrei Karas1-2/+6
2017-11-08Add npc option for allow equipment.Andrei Karas1-1/+3
New option: allowEquipment Default value: false
2017-11-08Allow draw npc equipment sprites (only basic slots).Andrei Karas1-2/+33
2017-09-03Fixed all "buttom" into "bottom".Alige1-3/+3
2017-08-30Move some variables to better scope.Andrei Karas1-3/+3
2017-08-22Add strong typed enum DisplayType.Andrei Karas1-8/+8
2017-08-22Remove default parameters from ActorSprite::setupSpriteDisplay.Andrei Karas1-2/+10
2017-08-21Change useless if conditions.Andrei Karas1-4/+1
2017-08-21Remove useless else.Andrei Karas1-11/+5
2017-08-14Replace static members usage from pointers to direct classes.Andrei Karas1-2/+2
clang-tidy warning: readability-static-accessed-through-instance
2017-08-10Fix drawning language badge in some cases.Andrei Karas1-0/+2
2017-08-07Spawn missile particles with configurable additional parameters.Andrei Karas1-16/+16