summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05Made some optimizations based on some profiling done by Octalot, as wellIra Rice1-6/+18
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-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice1-2/+5
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-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
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-09More code style cleanupsIra Rice1-24/+12
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-10-27Merged the Tametomo branch back into trunk. Targeting has been removed Ira Rice1-24/+0
from the viewport, and is now located on the beings themselves. Eventually, this will be changed further so that the targets draw below the being, instead of maintaining the same logic, but baby steps first.
2008-10-03Made a new Windows binary, as well as fix some files to make the Windows Ira Rice1-0/+1
build work (although there might be a bit too many guichanfwd.h references. But that's ok. I'm too lazy to track down which ones are necessary and which ones aren't at the moment).
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-17/+8
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-05-19Removed the PopupBox class and used gcn::DropDown instead. It has clippingBjørn Lindeijer1-1/+1
issues, but it would be better to fix those instead of using this complicated workaround.
2008-03-23Removed unnecessary forwarding method.Bjørn Lindeijer1-0/+3
2007-12-31Added config options to set the scroll center. Retained scroll offset during ↵Philipp Sehmisch1-6/+11
map change for smoother map transitions.
2007-08-23Removed two useless popup related methods, used generic close buttonBjørn Lindeijer1-12/+0
functionality for the debug window and renamed Particle::mVector to Particle::mVelocity for clarity.
2007-08-14Fixed popup menu requiring one more click after being used.Eugenio Favalli1-1/+0
2007-05-23Added a missing include and fixed a bug with cleaning up target cursorBjørn Lindeijer1-4/+11
animations.
2007-05-20Added different target cursor sizes for monsters. Graphics for small and ↵Philipp Sehmisch1-9/+12
large cursor are provisional until better versions based on the original SVG of the medium sized one are available.
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-6/+10
2007-03-20Tweaked the target cursor and name drawing.David Athay1-0/+13
2007-03-19Added target cursor. Shows blue when target in range, and red when out of range.David Athay1-0/+7
2007-01-15Fixed issue where the player stops walking.v0.0.22.1Bjørn Lindeijer1-1/+1
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-5/+7
2007-01-13Ok, so we use native newline style.Bjørn Lindeijer1-157/+157
2007-01-13Fixed mouse coordinates display in debug windowEugenio Favalli1-145/+157
2006-12-04Introduced a new class Viewport which combines the drawing code from EngineBjørn Lindeijer1-0/+145
with the (rather misplaced) input handling from the Gui class. Also, it's a Container itself which should allow for extending it to show Guichan widgets on map coordinates.