summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05Got rid of Sint{8,16,32} and Uint32 for being IDBjørn Lindeijer4-29/+42
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-02-26Fixed an error in shoplistboxes as identified by Octalot.Ira Rice8-22/+11
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fix NPC handling to not need a handle on the NPCIra Rice10-34/+102
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Make sure that all dialogs are cleared on player death, not just the NPCIra Rice4-0/+12
text dialog. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-25Fixed up NPC list dialogs to be navigatable by keyboard (scrollingIra Rice7-13/+134
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 Rice7-30/+46
(which would happen from using the keyboard instead of the mouse). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-23Allow to sell non-stackable items like stackablesMajin Sniper3-25/+118
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 Rice2-31/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-20Added a pickup notification as particle effect. Also make a ui option to ↵Majin Sniper6-8/+53
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer26-44/+31
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-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-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 Adams5-14/+18
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-15Fixed header copyright notices.Ira Rice2-4/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-12Some more files which got fixed up for release (basically versionIra Rice2-4/+6
bumps). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-11Changed default color for "Is" to be more readableMadCamel1-1/+1
2009-02-11Adjusted a few files for release.Ira Rice3-4/+4
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-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 Lindeijer4-8/+8
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 Sehmisch11-118/+118
2009-02-10Whitespace fixesBjørn Lindeijer8-18/+18
Mainly removed trailing whitespace. Also small fix in header of recorder.cpp.
2009-02-10Use string::empty() instead of comparing to ""Bjørn Lindeijer6-18/+18
2009-02-10Removed many pointless comparisons with NULLBjørn Lindeijer9-34/+20
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice156-338/+480
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Made sure to clean up after all of the dangling pointers in theIra Rice2-6/+46
Setup_Video tab. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Added two more options for displaying speech overhead (don't show it atIra Rice10-42/+88
all and show speech bubbles without names). Since a checkbox won't work any more for all of these modes, it's now a slider. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Fixed font glyph caching.Ira Rice2-4/+6
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Disable increase button for fixed skillsJared Adams1-6/+15
2009-02-10Removed decimals from color slidersPhilipp Sehmisch1-3/+4
2009-02-10Fixed a compile error by using less awkward codePhilipp Sehmisch1-11/+5
2009-02-09Fixed width of the weight label, as noticed by Grimmjow.Ira Rice1-4/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Made progress bars in the status window a bit bigger based on aIra Rice1-5/+5
suggestion by Grimmjow. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Fixed up the copyright headersBjørn Lindeijer12-154/+155
Decision is to go with exact authors when some file is basically done by one person, and in most other cases assign TMW or Aethyra team copyright when multiple people from those teams have been involved. Also, the first summary line should now contain the subset of functionality that the file is part of, not the name of the whole project.
2009-02-09Mostly whitespace fixesBjørn Lindeijer26-246/+246
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-08Mostly fixed a few field values to behave better in Windows, as well asIra Rice5-34/+33
removed the need for sending graphics to the setSpeech function (since it isn't needed) and started actually using the time variable which it's passed (could be set to show the speech longer if the dialog is longer, for example). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice9-9/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07While this commit isn't really needed, this cleans up the reportedIra Rice1-3/+3
instances number so that it accurately reflects the number of instances, instead of always being +1. I wasn't intending on using that variable that way, but in case anyone does in the future, it'll at least be accurate. Signed-off-by: Ira Rice <irarice@gmail.com>