summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-06Fix layout of debug windowJared Adams1-3/+2
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice36-265/+248
as some other optimizations that I could see that cut down on some unneeded redraws, which in turn improved frame rates slightly. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Removed a check I added in the previous commit which isn't necessary.Ira Rice1-9/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-05Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer28-122/+122
Using unsigned rarely makes sense, especially when the server doesn't use it either. Other uses of unsigned should be reviewed. In all other cases, int is the fastest integer type on any architecture. Using 8 or 16 bits can basically only be a memory optimization.
2009-03-02Cut down on constant streaming of attacks. Attacks from players now onlyIra Rice2-2/+2
occur on each swing action. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-02Added particle attacks back on to the players. However, instead of beingIra Rice5-10/+67
constant, particle attacks are now weapon specific, so that different weapons can have different attacks. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-01Added a note about some people also needing libtool. This wasIra Rice1-0/+5
encountered when stepping someone through a 64-bit install on Ubuntu. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Forgot to extend the player or NPC specifying fields as well.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Extended job numbers based on what's actually used for Ragnarok'sIra Rice1-3/+3
server. TODO: Make this externally configurable, so that specific servers can specify what they use specific sprite IDs for, as well as specifying good defaults as well, in case that configuration file isn't found. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Fixed showing being deaths. I removed the wrong pointless deathIra Rice1-6/+3
animation (case 1 is NOT death, but actually idle in SMSG_PLAYER_UPDATE_1) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-26Fixed an error in shoplistboxes as identified by Octalot.Ira Rice10-27/+14
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fix NPC handling to not need a handle on the NPCIra Rice19-141/+165
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Added method for resetting npc integer dialogs in the last commit, butIra Rice1-0/+1
forgot to use it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Make sure that all dialogs are cleared on player death, not just the NPCIra Rice6-3/+15
text dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25If no network is set, then don't continueIra Rice1-1/+10
Based on TMW commit a996d4bff3cc5a35ee5cdb6cb5bdef920cf44120 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fixed up NPC list dialogs to be navigatable by keyboard (scrollingIra Rice9-15/+136
through the list requires the use of the mouse wheel at the moment), fixed wrapping behavior for wrapping around lists to actually wrap around lists properly, and placed a few checks for current_npc where they were assumed before which could cause the client to hang or crash in case the NPC is no longer around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-24Cleaned up some code, as well as removed redundant talk client requestingIra Rice12-61/+89
(which would happen from using the keyboard instead of the mouse). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-24Don't set current_npc when initiating interractionJared Adams1-1/+0
Let it be set by the netcode if the NPC responds. This caused a movement bug if they didn't.
2009-02-24Fix update handlingJared Adams1-11/+11
THis will prevent loading updates when -u is used, and prevent error messages in the log when -u is used.
2009-02-23Allow to sell non-stackable items like stackablesMajin Sniper5-32/+259
Make it possible to sell non-stackable items all at once by introducing "Duplicate Items" and a Shop that can handle them. Also fix a trivial bug to correctly preview you money while selling.
2009-02-23Clean up of Aethyra logo on 800x600 wallpaper by Taz2781.Ira Rice1-0/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-22Fixed another Particle/Paricle mismatch in a commentPhilipp Sehmisch1-1/+1
2009-02-20Fix debug window to show correct mouse coordinatesJared Adams1-2/+2
2009-02-20Fixed some lines from cutting off in English (which would carry over toIra Rice1-4/+4
other languages as well). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-20Removed the last of the image particle guichan fonts.Ira Rice9-48/+45
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-20Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper13-21/+118
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-18Changed shopitem to use the stringutils class instead of tostring, asIra Rice1-0/+1
the two have been merged. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-18Deleted a file which didn't manage to get deleted in the last commit.Ira Rice2-50/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer47-91/+150
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Move check to a more appropriate placeJared Adams1-2/+2
It shouldn't have been moved to where it was in the first place, as it doesn't have any effecxt on that code, but was originally on the other code (where it is now).
2009-02-17Fix small bug in character select dialogJared Adams1-1/+1
That check can probably be removed entirely, as it's inappropriate.
2009-02-17Fix segfault when canceling new character dialogJared Adams1-1/+1
2009-02-17Fixed an error reported by m0t1k4 which caused a segmentation fault onIra Rice2-25/+21
closing when displaying your own name is turned on. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-17Fixed closing for NPC dialogs.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Moved location of trim checking, since it really should be done afterIra Rice1-6/+3
the recipient nickname is parsed out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Trim whitespace from the beginning and end of whispers, as well asIra Rice1-0/+21
disallowing empty whispers and whispers to yourself, since both of those cases cause the server to report back stating that the player wasn't found (even if they are there, like yourself). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Moved target unsetting on NPCs and monsters to the being class. This isIra Rice3-9/+5
done to ensure that the client doesn't crash if the target dies and is removed from the map (since target drawing is based off of the specific target reporting its x and y coordinates). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Don't arbitrarily unset player target on NPC deletionBjørn Lindeijer3-16/+16
When an NPC got deleted it would reset the player target. I'm assuming what was meant was to reset the target when the deleted NPC was the target.
2009-02-16Fixed a nasty crash that was only visible from the @help command. If theIra Rice1-1/+3
line's string was empty after trimming, the client would crash when trying to get a substring. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Fixed up NPC dialogs to behave more like eAthena expects.Jared Adams7-18/+21
2009-02-16Fixed GUI opacity in SDL modeBjørn Lindeijer32-15/+10
By using indexed instead of alpha-layered images, the GUI opacity can also be supported in software mode.
2009-02-15Fixed compiler warningsBjørn Lindeijer1-1/+1
Comparison between signed and unsigned integer expressions.
2009-02-15Deleted some unneeded delete statements.Ira Rice9-69/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Renamed aethyraFile to configFile, which is a lot more descriptive ofIra Rice1-6/+6
what its actually used for. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Fixed header copyright notices.Ira Rice2-4/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-13Fixed a break in building for non-mac users which was caused by usingIra Rice3-3/+3
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-13Added in a few missing files for Mac building.Ira Rice3-0/+2131
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-13Moved frameworks folder out of git and into our builds folder. This isIra Rice346-116158/+0
being done for the same reason that we keep our windows dlls and other cross platform files which a builder might not need are kept separate as well. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-13Ignore "window manager + arrow" key combinationsSteve Cotton3-1/+14
Adds two configurable "ignore" keys. Stops the character moving about if the user's window manager uses "ignore+arrow key" to switch virtual desktops.
2009-02-13Added in mac build support, contributed to us by allenmoatallen> fromIra Rice363-4459/+118621
Legends of Mazzeroth. Signed-off-by: Ira Rice <irarice@gmail.com>