summaryrefslogtreecommitdiff
path: root/src/gui/playerbox.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11Removed many pointless comparisons with NULLBjørn Lindeijer1-1/+1
Sometimes it's nice for clarity, but most of the time this is just clutter. C++ != Java. :)
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-01-30Exposed most gui elements to take alpha values. There are still a fewIra Rice1-0/+9
spots that could also be fixed up as well, but require other methods to fix them (the filled color rectangles on the progress bars, as well as the text on them as well, as an example). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-26Created a new equipment screen, which is loosely related to theIra Rice1-1/+8
equipment screen on TMW's mainline client. Also fixed up the player box so that it can be used in game as well, which could potentially be useful in the future for making future equipment dialog changes. 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-4/+2
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-10Made a few more window components use a transparency under OpenGL, asIra Rice1-0/+2
well as some code style cleanups in the skill dialog. 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/+1
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-07-18Import of client treeLloyd Bryant1-1/+1
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-4/+4
gcn::TabbedArea usage)
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-0/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-10-22Merged changesets 3631, 3645 and 3648 from trunk to 0.0 branch.Bjørn Lindeijer1-1/+5
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-2/+2
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-01-07Added brown snake by Pauan.Bjørn Lindeijer1-1/+0
2006-12-12Merged r2829 from trunk (Merged the definition of ImageRect into graphics.h)Bjørn Lindeijer1-2/+0
2006-12-09Use new animation system in character selection/creation. Shows equipment andBjørn Lindeijer1-27/+10
allowed for some cleanup. Had a bit of help from the patch by VictorSan.
2006-09-24Removed unused hairstyle frames and applied patch by Rogier Polak to solve theBjørn Lindeijer1-1/+1
problem with an OpenGL related redefinition.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-1/+1
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-06-21Added female players.Eugenio Favalli1-3/+4
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-9/+9
2006-03-09Added Spriteset::get() and Spriteset::size() to hide the member vector and ↵Björn Steinbrink1-3/+3
remove the weird mySpriteset->spriteset stuff.
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-3/+3
using STL algorithms.
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-5/+6
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-22/+17
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-1/+9
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-1/+1
nicer approach after the release.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-2/+4
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+1
2005-05-21Only load resources once for player box, scroll area and text field. AlsoBjørn Lindeijer1-13/+35
tweaked the look a little, needs to be checked for opaque problem.
2005-05-14Fixed player character rendering errors in OpenGL mode.Bjørn Lindeijer1-1/+1
2005-05-08Added new hair style by Frode Lindeijer.Bjørn Lindeijer1-1/+2
2005-04-14Reduced width of playerset image from 640 to 256.Bjørn Lindeijer1-1/+1
2005-03-25Moved datafiles in unified structure.Bjørn Lindeijer1-1/+1
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer1-0/+1
2005-02-10Fixed PlayerBox to cope with no hair as well, and fixed using Makefile.cvs aBjørn Lindeijer1-3/+7
bit, to generate the configure.
2005-01-17Converted all GUI images to PNGBjørn Lindeijer1-1/+1
2005-01-17Committing Allegro -> SDL switch, hugely breaking the game.Bjørn Lindeijer1-2/+2
2005-01-16Removed datafile and configfile and any leftover old GUI drawing code.Bjørn Lindeijer1-1/+18
2005-01-15Cleaned up includes, separated engine from graphics and single buffer nowBjørn Lindeijer1-3/+3
used throughout application, cleaned up shop functions.
2005-01-11Implemented parent relationship for Window class and converted more ok dialogsBjørn Lindeijer1-1/+3
to the OkDialog class.
2005-01-08Some improvements to character creation and selection dialogs.Bjørn Lindeijer1-0/+63