summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-07-22Fix updating the status window when money changesJared Adams1-0/+8
2009-07-20Fixed a bunch of compile errors/warningsThorbjørn Lindeijer1-2/+2
Please turn on -Wall, and if you don't notice your warnings, also turn on -Werror.
2009-07-19Merge StatusWindowsJared Adams1-22/+75
Also some other small merges
2009-07-17Various gettext fixesKess Vargavind1-5/+14
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages
2009-07-15Merge and cleanup attribute codeJared Adams1-2/+14
2009-07-14Merge and cleanup more stuffJared Adams1-19/+11
2009-07-14Add netcode for specialsJared Adams1-1/+2
2009-07-13Rename Net::SkillHandler to Net::SpecialHandlerJared Adams1-1/+0
SkillHandler::up moved to PlayerHandler::increaseSkill
2009-07-13Some item pickup cleaningJared Adams1-13/+34
Still need to find where to attach LocalPlayer::pickedUp for TMWServ.
2009-07-13Fix level experience messagesJared Adams1-30/+23
THe experience message queue is now a general queue for serial messages (ie: not messages like battle messages that should be done immediately).
2009-07-08Have both builds use the same SkillDialogJared Adams1-7/+13
2009-07-07Use tmw-skills.xml instead of hardcodingJared Adams1-35/+31
2009-07-06Merge some player statsJared Adams1-10/+6
2009-06-08Try decreasing the look ahead distance for keyboard walking, seemed to ↵Chuck Miller1-2/+2
helped a bit
2009-05-29Some movement fixes for TMWServ build.Chuck Miller1-3/+6
Looked pretty good so I removed annoying debug information. Also should note that movement between two players is still off.
2009-05-26Fixed attacking for tmwserv. Added back attacking with keyboard for tmwserv.David Athay1-3/+17
2009-05-19Fixed attacking.David Athay1-2/+4
2009-05-19Fixed targeting and warn on attack-range not being found in itemdb.David Athay1-9/+5
Tried to make the client continue attacking (it does not need to send attack packets, but just continue playing attack animation and sounds). Now logs a warning when a weapon is found without an attack-range (I keep finding weapons with an attack-range of 0 which makes it hard to target monsters).
2009-05-18Hopefully player will now show its got a target. Needs more work still.David Athay1-4/+24
2009-05-18Added target combatDavid Athay1-7/+14
2009-05-16Fixes the lightspeed bugChuck Miller1-3/+3
2009-05-17Fix offsets (16,32) on TextEffects for damage, pickup and exp.Dennis Friis1-4/+4
2009-05-14Fixed alpha to also apply to the main text of a text particleBjørn Lindeijer1-1/+2
It was only being applied to the outline and shadow. This improves the fadeout a little, but because the text is being rendered multiple times, it still looks strange.
2009-05-13Add GM notification handlingJared Adams1-0/+8
2009-05-13Remove Aethyra's custom visible GM systemJared Adams1-1/+0
Very hackish and would require altering eAthena. It also isn't very portable; if you use the same character name on multiple servers and are a GM on one of them, the client will try to make you a GM on the other.
2009-05-12Fix up handling of GM statusJared Adams1-6/+2
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-75/+0
And make a few others like that, and remove them too.
2009-05-12Makes ItemContainer use indexes for selected and highlighted items, rather ↵Chuck Miller1-5/+0
then Item pointers. As suggested by Bjorn
2009-05-10Stop attacking when walking awayBjørn Lindeijer1-3/+6
By setting mKeepAttacking to false when setting a destination.
2009-05-09Modify keyboard handlingFreeyorp1-1/+1
The attack key now no longer changes the target if there is a target already set, and changing the target to the same being now no longer cancels the target since a dedicated Cancel Target Key now exists.
2009-05-06Remove more inventory handling support #ifdefsJared Adams1-17/+2
This also fixes some minor bugs and centralizes some logic.
2009-05-04Fixed seemingly random attacks from occuring once a target is put up.Tametomo1-1/+1
This was due to an uninitialized variable. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-1/+1
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-20Drop current target on deathBjørn Lindeijer1-0/+11
2009-04-15Also hardcode the bold font, we ship it after allBjørn Lindeijer1-1/+1
Plus some tweaks and cleanups.
2009-04-14Cleanup of Sound class, fixing restoring of volumes and musicBjørn Lindeijer1-3/+2
While a previous commit fixed the restoring of music of the current map in the setup window, this commit makes sure that the Sound class itself will resume a previously playing song when it is re-initialized. Other fixes: * Restore the correct volumes when enabling sound * Play the right audio track during login * Specify which font to use for bold text
2009-04-14Put the remaining unnamespaced handlers in a namespaceBjørn Lindeijer1-8/+12
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
2009-04-13Revert forced FPS limitBjørn Lindeijer1-1/+3
Don't force an FPS limit when people don't want it. Just default to limit on 60 fps instead, but do allow it to be disabled. This reverts part of commit 4b7755fcae0de15951c508ec034158007c8b6cf3.
2009-04-11Remove more support #ifdefsJared Adams1-9/+7
2009-04-07Implement TMWServ's PartyHandlerJared Adams1-12/+3
2009-04-06Moved many MessageOut constructions aroundBjørn Lindeijer1-12/+0
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
2009-04-06Add TMWServ's SkillHandlerJared Adams1-2/+1
Also namespace both Player- and TradeHandlers
2009-04-03Fill in TMWServ's TradeHandlerJared Adams1-82/+22
Also started temparary implementation of the Net::getXHandler() methods and started using them.
2009-04-02Start TMWServ's PlayerHandler and InventoryHandlerJared Adams1-11/+11
2009-04-02Some cleanup and renamingBjørn Lindeijer1-8/+8
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
2009-04-02Removed duplicated code in LocalPlayerBjørn Lindeijer1-60/+1
This code was present in both Player and LocalPlayer. If there's some kind of issue with executing this stuff in a different order, it should be solved differently.
2009-04-01Fix a bug for TMWServ compilationJared Adams1-2/+4
2009-04-01Make eAthena's inventory handlerJared Adams1-23/+17
Also cleanup some related #ifdefs in LocalPlayer.
2009-04-01Build eAthena's PlayerHandlerJared Adams1-53/+13
2009-03-31Implement a few more handlers for eAthenaJared Adams1-8/+13
Party, skill, and trade handlers made for eAthena.