summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-02-20Convert navigateTo to take a Position instead of two integers.Fedja Beader1-30/+30
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 Beader1-4/+4
**** mana/plus!119
2025-01-28Fix typo chec -> checkFedja Beader1-2/+2
**** mana/plus!113
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-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 Jesusalva1-1/+2
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.
2020-02-23Fix some code style issuesAndrei Karas1-1/+3
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 Karas1-2/+35
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-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-9/+9
2018-11-05Fix code style.Andrei Karas1-3/+8
2018-10-29Fix code style.s20181102Andrei Karas1-8/+8
2018-03-04Add support for hightlight attribute in groups.xmlAndrei Karas1-6/+1
This attribute allow to highlight gm groups based on groups.xml
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-12-22Remove default parameters from userpalette.Andrei Karas1-2/+2
2017-12-22Remove default parameters from properties.hAndrei Karas1-4/+4
2017-12-22Remove default parameters from map.Andrei Karas1-5/+15
2017-12-17Remove default parameters from actormanager.cppAndrei Karas1-5/+5
2017-12-17Remove default parameters from localplayer.Andrei Karas1-17/+27
2017-12-17Remove default parameter from PlayerInfo::setStatMod.Andrei Karas1-1/+3
2017-12-17Remove default parameter from PlayerInfo::setStatBase.Andrei Karas1-1/+2
2017-12-16Remove extra nextTile function from localplayer.Andrei Karas1-1/+1
2017-12-14Remove default parameters from soundmanager.Andrei Karas1-2/+2
2017-12-11Remove default parameters from ChatTab::chatLog.Andrei Karas1-4/+13
2017-10-18Add packet SMSG_PLAYER_GET_EXP2 0x0acc.Andrei Karas1-10/+19
2017-09-27Fix some issues with int64 to int32 implicit conversions.Andrei Karas1-2/+2
2017-09-27Change player job level, exp from stat object to attribute.Andrei Karas1-20/+17
2017-09-27Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL.Andrei Karas1-2/+2
2017-09-27Change attributes value type to int64.Andrei Karas1-3/+3
2017-08-22Remove default patameter from LocalPlayer::setAction.Andrei Karas1-7/+8
2017-08-21Remove useless else.Andrei Karas1-38/+28
2017-08-14Replace static members usage from pointers to direct classes.Andrei Karas1-6/+5
clang-tidy warning: readability-static-accessed-through-instance
2017-07-12Move group id from localplayer to being.Andrei Karas1-2/+1
2017-07-12Rename gm level into group id in localplayer.cppAndrei Karas1-4/+4
2017-07-12Add packet SMSG_PLAYER_ATTRS 0x0b25.Andrei Karas1-2/+6
It allow set local player attributes from server. For now it send real group id.
2017-06-29Move foreach macroses into separate file.Andrei Karas1-0/+1
2017-06-13Move virtual methods from Being constructor to postInit.Andrei Karas1-2/+3
2017-06-11Rename player_relations into playerRelations.Andrei Karas1-2/+2
2017-06-09Fix code style.Andrei Karas1-3/+0
2017-06-09Fix code style.Andrei Karas1-1/+2
2017-06-08Remove useless extern declarations.Andrei Karas1-3/+1
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-160/+172
2017-06-04Fix code style.Andrei Karas1-1/+1
2017-05-08Fix wrong checks after removing some server features.Andrei Karas1-2/+2
2017-05-02Fix compilation without tmwa support.Andrei Karas1-3/+3