Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Squashed with:
* Rename - it's member shift, not printf shift
* So it seems that CILK PLUS either ignores the this argument of member
functions or already considers it on its own.
Besides.. is CILK PLUS even relevant today? Whatever..
Plus, deduplicate some more functions
..should this attribute be moved to its own file?
* Correct indents
* logger.h: de-duplicate __attribute__(__format__(..))
****
mana/plus!163
|
|
blocks in pickup search functions
This block repeats many times.. but cannot be de-duplicated without that
pesky search for empty string. perhaps I should make an (inline) function
that takes allowAll and the item or a scoped functor that does the lookup in
constructor.
****
mana/plus!166
|
|
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
|
|
Addendum to 437258c4 / "Remove -enablecommandlinepassword necessity"
****
mana/plus!156
|
|
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
|
|
Prolific use of immediate constants strikes again.
Side note: why are these limits not in clientdata?
****
mana/plus!168
|
|
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
|
|
.. this will prevent the shopping list from going above your free
carry weight, and thus the buy action failing.
Note: I don't particularly like this implemention due to code repetition. But perfection is enemy of progress.
TODO:
1) add the same for total price (other MR?)
2) maybe do a small refactor + add comments where necessary (other MR?)
3) ~~free weight display~~ done
Squashed with:
* buydialog: Add free weight display to money label
+ fix free weight going below 0
****
mana/plus!152
|
|
Squashed with:
* More docs for validateBeing
* addendum documentation for validateBeing
****
mana/plus!154
|
|
bb= bounding box
**** mana/plus!145
|
|
seems to skip beings with info if stopattack is active or if they are
marked as unselectable (like hammocks in ML)... huh?
**** mana/plus!145
|
|
as without filtering, priority and closestPriority are always the same
**** mana/plus!145
|
|
making special handling before first suitable being is found unnecessary.
**** mana/plus!145
|
|
from 3x)
Note: the filter used priorityMobs (instead of priorityMobsMap).
The former seems to be the std::set variant of the latter, but I can't
find where either are filled. It does work in practice, however...
**** mana/plus!145
|
|
**** mana/plus!145
|
|
distance criteria.
This should also resolve a theoretical bug if there is a non-ignored
being within range, but something out of range has priority
Cleanup addednum: rename d to distSq
**** mana/plus!145
|
|
This resolves at least three instances where squared distance was
compared with non-squared one, two cases of maxDist and no squaring of
getDistance result (which was then compared with squared distance).
**** mana/plus!145
|
|
2024-08/01/#Debug.log:[14:25:43] Wrong actual or planned inbound packet
size!. Packet id: 205(0xcd), Planned size: 3, Actual size: 6
2 bytes packet id + 1 byte flag = 3
2 bytes packet id + 4 byte flag (wrong) = 6
Squashed with:
* Separate processKickAck handler for eathena
* Move ea's adminrecv and its sole handler processKickAck into TMWA
namespace
* Revert "Fix wrong read of clif_GM_kickack packet"
This would break TMWA packet processing, as @thorbjorn pointed out.
This reverts commit efe43bac4de90b3e427d985b77cb3dd3206bcf9d.
****
mana/plus!148
|
|
****
mana/plus!153
|
|
****
mana/plus!150
|
|
Squashed with:
* statuswindow: I like this way better
****
mana/plus!151
|
|
****
mana/plus!147
|
|
Not sure how to trigger this one, couldn't do it with a few simple
tests.
****
mana/plus!149
|
|
2025-03/22/#Debug.log-[19:38:37] Wrong actual or planned inbound packet size!. Packet id: 433(0x1b1), Planned size: 7, Actual size: 4
2025-03/22/#Debug.log:[19:38:52] You picked up 1 [@@760|Overlord's Helmet@@].
****
mana/plus!146
|
|
Cheaper checks reordered to be checked first, removed squared root.
****
mana/plus!144
|
|
(no quantity display reserved for unlimited stock shops)
Depends on !140 due to merge conflicts.
****
mana/plus!141
|
|
distance before (potentially) asking pathfinder.
Pathfinder may get called in the validateBeing() call, can't tell yet.
Squashed with:
* Fix linter
This test and the below static_cast looks like dynamic_cast should've
been used.
****
mana/plus!143
|
|
Squashed with:
* Fix lint.. just revert previous state, I'll deal with it when I make
things pass Positions
****
mana/plus!142
|
|
****
mana/plus!140
|
|
@jesusalva asked what to rename it to, here:
https://forums.themanaworld.org/viewtopic.php?t=21691
Squashed with:
* Rename --without-manaversegame to --without-gameclient
This makes the most sense, I think. Jes agrees, too.
* Rename --without-manaplusgame to --without-manaversegame
Split off from !45: Rename the program from ManaPlus to ManaVerse.
****
mana/plus!138
Co-authored-by: jak1 <jak1@themanaworld.org>
|
|
Reported by Thorbjorn
****
mana/plus!129
Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
|
|
Split off from mana/plus!45: "Rename the program from ManaPlus to ManaVerse."
+POTFILES.in CI fix
****
mana/plus!132
Co-authored-by: Fedja Beader <fedja@protonmail.ch>
|
|
****
mana/plus!139
|
|
This makes sure that ml/clientdata!180 never happens again via message
in Debug tab.
The legacy numeric ID method could be deprecated. Maybe after release.
The client uses full attribute names since 2016.
****
mana/plus!137
|
|
(Fedja) I'm suspecting that some CI will break on this.
Split off from !45: Rename the program from ManaPlus to ManaVerse.
****
mana/plus!135
Co-authored-by: Fedja Beader <fedja@protonmail.ch>
|
|
****
mana/plus!136
|
|
Tested as part of !136, pushed to master
|
|
****
mana/plus!134
|
|
Split from mana/plus!28 and rebased on master by specing.
****
mana/plus!131
|
|
In theory split out from mana/plus!28, in practice I (specing)
just ran sed myself instead of bothering with splitting out changes.
****
mana/plus!130
|
|
Autoconf manual states that CXXFLAGS is a user variable and should not
be overriden, so I did not use AX_APPEND_COMPILE_FLAGS for this. Thus,
there are no checks if the compiler supports it, but also the builder can
override this flag by passing another flag that overrides it on the
command line. Okay, this is now way too theoretical.
Indeed, the override happens with ./configure 'CXXFLAGS=-std=c++17'
(both flags in final command line)
Do note:
- The standard was not explicitly set for some builds (thus compiler
default was used)
- The default on my own box is C++17
- I'm setting C++11 as that's required by my previous change. Upgrade to
C++17 is deferred to until it becomes required.
- The use of CPPFLAGS could be reviewed... they may be used incorrectly
(instead of CXXFLAGS). I would really like to get all the builders going
before requirements are raised.
- CI cleanup would be nice
- wish 4144 would return.
****
mana/plus!128
|
|
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
|
|
line-length limits.
Introduced in mana/plus!88
and exposed in mana/plus!126
Pushing directly to master from top of !126 before merging 126.
|
|
Addendum to !89 (and !117)
Amusing: putting this line before the .clear() grows the exe by 40 bytes.
****
mana/plus!118
|
|
****
mana/plus!119
|
|
****
mana/plus!120
|
|
Pointless change, I know.
****
mana/plus!115
|
|
****
mana/plus!113
|