Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
The "move to target in attack range" option in the Quick Settings is not handled correctly. In its current state that option ends up becoming equivalent to "move to target in distance 10".
This is a fix for that.
****
mana/plus!195
|
|
.. 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
|
|
****
mana/plus!176
|
|
Why 6? 2*2 + 1*1 is still < 6, so this allowed you to pickup items 2
tiles away. A bug.
Test in ML: can pickup in 5x5 area with Quick option selector set
to 3x3.
Test in TMW: can only pickup in 3x3 area regardless of this setting.
****
mana/plus!167
|
|
Git blame for this says that Hercules does this on its own, but this is
only true if server side attack is enabled. Using that setting results in
archers being warped into targets, so its use is discouraged.
End of unit_attack_timer_sub in Hercules:src/map/unit.c has unit
direction updates gated on ud->state.attack_continue.
****
mana/plus!160
|
|
pathJoin indent is probably going to annoy a linter, got a patch ready
if that happens. Not ideal but better than now.
****
mana/plus!162
|
|
Linters! Wake up!
****
mana/plus!161
|
|
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
|
|
****
mana/plus!119
|
|
****
mana/plus!113
|
|
****
mana/plus!114
|
|
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>
|
|
****
mana/plus!96
|
|
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
|
|
|
|
Should this function gain emplace()-like semantics?
|
|
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
|
|
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
****
|
|
****
Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
|
|
Fixes most cases of walking through doors/warps on pickup.
****
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Before was warning about this field for some years.
|
|
|
|
This can happend if try to change unallocated slot in being.
|
|
|
|
|
|
This attribute allow to highlight gm groups based on groups.xml
|
|
|
|
|
|
But for now clan unset for players.
|
|
For now can be opened only by chat command /clan.
|