summaryrefslogtreecommitdiff
path: root/src/being
AgeCommit message (Collapse)AuthorFilesLines
2025-02-20Convert navigateTo to take a Position instead of two integers.Fedja Beader2-33/+33
Tile coordinates dance in pairs, so let's pair them up. also grows exe size by about 3K, hope this will go away when the rest is converted to Position as well. Note: on my local debug build only. Not on gcc10 CI. Squashed with: * Should it be mNavigateDest or mNavigateTo? Hmm, the jury is still out there ... **** mana/plus!116
2025-02-03Typofix: mShowNavigePath -> mShowNavigatePathFedja Beader2-5/+5
**** mana/plus!119
2025-01-28Fix typo chec -> checkFedja Beader2-4/+4
**** mana/plus!113
2025-01-28Fix typo: opitons -> optionsFedja Beader2-4/+4
**** mana/plus!114
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-08-28Fix off-by-one causing archer attack mode to approach to within attack range - 1Fedja Beader1-2/+3
**** mana/plus!96
2024-08-27Redundant. I don't think the time savings due to not calculating distance, ↵Fedja Beader1-24/+3
if any, are worth it. In fact, this might even save some time. Calculating distance may be faster than iterating through memory twice. **** mana/plus!95
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-03-11Put variable declarations into scope where they are used.Fedja Beader1-3/+3
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Make pickup code go to nearby tile, not on top of item.Fedja Beader1-4/+18
Fixes most cases of walking through doors/warps on pickup. ****
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva32-32/+64
2024-02-09Log misses in battle tab, alongside hitsFedja Beader1-9/+29
2023-08-16Fix unable to pickup non-ignored items while standing on an ignoredFedja Beader1-3/+2
item. What happened: 1) The pickup code first tries to pickup first item under you without checking if it is ignored. 2) ::pickUp queries ratelimiter, which clears to send. 3) ::pickUp checks if item is ignored and bails out 4) The pickup code did not bail early, despite "success" of (1) and selects a non-ignored item to pick-up. 5) ::pickUp queries ratelimiter, which thinks that a packet has been sent in (2) and aborts.
2021-03-11added desync walkaroundjak12-0/+7
2020-02-23Fix some code style issuesAndrei Karas2-2/+4
2019-09-30Add missing static keywordsAndrei Karas2-5/+5
2019-06-24Fix code styleAndrei Karas1-3/+0
2019-04-09Fix code styleAndrei Karas1-8/+16
2019-04-08Add separate auto move sync distance for legacy serversAndrei Karas1-2/+37
2019-03-21Possible fix for desync in movingAndrei Karas3-3/+39
Handle player stop packet always. Check desync always if tile changed client side. Check desync always if server move response packet received. Removed unused configuration option.
2019-01-25Create main inventory always with configurable variable size fixedInventorySizeAndrei Karas1-1/+3
2019-01-01Update copyright year.Andrei Karas32-32/+32
2018-12-07Fix code style.Andrei Karas1-8/+8
2018-11-27Remove extra ; from different code.Andrei Karas5-44/+44
2018-11-05Fix code style.Andrei Karas2-4/+10
2018-10-29Fix code style.s20181102Andrei Karas4-20/+20
2018-06-30Rename "other" gender into "hidden" gender.Andrei Karas2-3/+3
2018-04-23Fix different cast issues and remove useless explicit keywords.Andrei Karas1-2/+2
2018-04-07Remove extra includes.Andrei Karas1-1/+0
2018-04-02Remove legacy status effect field "block-id".Andrei Karas2-90/+16
Before was warning about this field for some years.
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 Karas2-6/+7
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 Karas2-4/+10
2018-02-17Move vector class into resources directory.Andrei Karas1-2/+2
2018-02-13Add support for show clan badge.Andrei Karas2-0/+37
But for now clan unset for players.
2018-02-13Add clan window.Andrei Karas1-1/+1
For now can be opened only by chat command /clan.
2018-02-12Fix code style. Add missing actorManager null checks.Andrei Karas1-2/+0
2018-02-11Add clandb support.Andrei Karas1-0/+3
2018-02-11Rename clanInfo into localClan.Andrei Karas2-9/+9
2018-02-09Collect clan info information in clan object.Andrei Karas2-0/+97
2018-01-16Fix code style.Andrei Karas1-2/+1
2018-01-09Remove useless A_CONST attributes.Andrei Karas3-3/+3
2018-01-04Update copyrights year.Andrei Karas30-30/+30
2017-12-28Remove extra includes.Andrei Karas1-2/+0