summaryrefslogtreecommitdiff
path: root/src/gui/table.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-03-10Fix some mem leaksJared Adams1-1/+0
2009-03-10Fix some mem leaksJared Adams1-0/+1
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-1/+1
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-02-25Fixed up NPC list dialogs to be navigatable by keyboard (scrollingIra Rice1-5/+1
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-11Adjusted a few files for release.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-11Shut up some compiler warnings.Philipp Sehmisch1-3/+3
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-7/+7
2009-02-10Removed many pointless comparisons with NULLBjørn Lindeijer1-2/+2
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 Rice1-3/+4
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Fixed a few table events. One prevented wrapping for tables when you areIra Rice1-10/+10
scrolling through the table upward, while the other didn't check upper bounds for rows and columns to see if the event is in the table, but rather just the lower bounds. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Added key and mouse events to the table class.Ira Rice1-2/+119
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Few more unneeded headers that weren't noticed originally in the lastIra Rice1-1/+1
commit. Also, while the overall performance improved a little, it doesn't appear to be as drastic as the last commit was suggesting. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-2/+0
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-03Fixed up table class to allow for different background colors, as wellIra Rice1-46/+93
as defining whether the given table is opaque or not. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-57/+27
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-3/+3
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-02Ported a patch from TMW by fate which de-hardcodes skills, as well as ↵Ira Rice1-3/+9
removes the server sending out view id's for gloves and boots (which weren't needed.) Here's the full log: * Updated GUI table and model to better handle NULL widgets during initialisation * On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
2008-06-09Fix for segfault in drop down list of player ignore and sanity check for ↵Dennis Friis1-1/+4
/whisper ignore. Patch by fate.
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-0/+419
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.