summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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-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 Rice4-42/+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 Lindeijer46-89/+148
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 Lindeijer2-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-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 Rice3-1/+12
Legends of Mazzeroth. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-12Some more files which got fixed up for release (basically versionIra Rice3-5/+7
bumps). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-12Fix some spelling and whitespaceKess Vargavind2-25/+41
Also a few whitespace and spelling fixes.
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-11OSX version fixDavid Athay1-0/+2
2009-02-11Changed default color for "Is" to be more readableMadCamel1-1/+1
2009-02-11Separated out the setup and help windows from the chat shortcut so thatIra Rice1-3/+5
they are now under the OK shortcut. Figured that if anyone doesn't like the NPC dialogs trumping their chat dialogs, then we should also allow for it under the setup and help buttons as well. The only window behavior that this keeps under the chat shortcut now is the confirmation for exiting shortcut. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Adjusted a few files for release.Ira Rice6-9/+9
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Implemented /meMadCamel1-0/+16
2009-02-11Fixed crash when sending a blank item linkMadCamel1-1/+1
2009-02-11Removed a few unneeded includes in the being handler.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Fixed the default table width for the player tab.Ira Rice1-20/+33
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Shut up some compiler warnings.Philipp Sehmisch7-10/+10
2009-02-11Don't make log statements translatableBjørn Lindeijer12-68/+73
The log is mainly used to aid the developers, hence shouldn't be translated to the user's local language. Also introduces unnecessary work for all translators.
2009-02-11Changed spelling from colour to color.Philipp Sehmisch16-138/+138
2009-02-11Fixed a regression on the particle engine caused by modifying theIra Rice2-11/+0
SimpleAnimation class to use correct delays for target drawing. Basically, because the SimpleAnimation was a bit more restrictive on ensuring that frame rates were being respected, some particles would not get drawn. This commit allows for target animations to look correct, while not breaking particles. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Whitespace fixesBjørn Lindeijer11-24/+24
Mainly removed trailing whitespace. Also small fix in header of recorder.cpp.
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer15-34/+37
2009-02-10Removed many pointless comparisons with NULLBjørn Lindeijer15-47/+33
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)