summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
AgeCommit message (Collapse)AuthorFilesLines
2009-10-29Cleaned up the viewport code, when dealing with mouse movement.Bertram1-2/+7
Now, both eAthena and ManaServ clients follow the mouse correctly when it is dragged.
2009-10-24REplace instances of TMW with ManaJared Adams1-1/+1
2009-05-05Fix the context menu for the storage windowJared Adams1-1/+1
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-0/+6
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-4/+4
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-9/+20
Conflicts: A lot of files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+27
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-6/+18
Conflicts: src/being.cpp src/being.h src/floor_item.cpp src/floor_item.h src/flooritemmanager.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/popupmenu.cpp src/net/beinghandler.cpp src/npc.cpp
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-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
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-09Merged the movement branch into trunkBjørn Lindeijer1-3/+8
I consider this the only way forward. In my tests this code isn't actually doing worse than what was there before. Of course some cases are a bit broken, and I'm open to any kind of feedback so that we can fix those issues.
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-06-04Added switch option drawing nicknames only if mouse hover. Useful in crowded ↵Mateusz Kaduk1-0/+8
places.
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-04-17Moved walking calls flooding control when dragging mouse to viewport.Yohann Ferreira1-0/+4
2008-03-23Merged revisions 3828-3829,3831-3838,3841,3843-3844,3847-3872,3874,3876-3900 ↵Bjørn Lindeijer1-6/+12
via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3828 | crush_tmw | 2007-12-31 17:14:27 +0100 (Mon, 31 Dec 2007) | 1 line Added config options to set the scroll center. Retained scroll offset during map change for smoother map transitions. ........ r3859 | b_lindeijer | 2008-01-26 20:38:43 +0100 (Sat, 26 Jan 2008) | 3 lines Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, since that's the way in which we are using them. ........ r3876 | crush_tmw | 2008-02-11 20:00:43 +0100 (Mon, 11 Feb 2008) | 1 line Added music and overlay to snake dungeon. ........ r3883 | crush_tmw | 2008-02-12 15:00:22 +0100 (Tue, 12 Feb 2008) | 1 line Particle emitters are now activated after the parent particle has moved instead of before (small change which allows a little trick to create polar emitters) ........ r3887 | umperio | 2008-02-12 20:49:37 +0100 (Tue, 12 Feb 2008) | 1 line Made pathfinding not halt on collision destination tile, made moving around with mouse smoother. Added possibility to pass through players with key controls. ........ r3888 | crush_tmw | 2008-02-13 21:49:55 +0100 (Wed, 13 Feb 2008) | 1 line Added new headgears by Black Don (thanks to QOAL for testing and implementation) ........ r3891 | umperio | 2008-02-18 09:52:06 +0100 (Mon, 18 Feb 2008) | 1 line Fixed image name. ........ r3892 | umperio | 2008-02-18 11:00:45 +0100 (Mon, 18 Feb 2008) | 1 line Forgot a %s ........ r3899 | crush_tmw | 2008-02-19 14:23:34 +0100 (Tue, 19 Feb 2008) | 1 line Map fixes at snake dungeon by QOAL ........ r3900 | crush_tmw | 2008-02-19 14:32:24 +0100 (Tue, 19 Feb 2008) | 1 line More map fixes at snake dungeon by QOAL ........
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-10-15Added Dutch translation (incomplete) and put drawing of debug path into aBjørn Lindeijer1-7/+10
private method.
2007-09-19Merged 0.0 changes from revision 3362 to 3580 to trunk.Bjørn Lindeijer1-13/+0
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-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-5/+15
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-24Merged 0.0 changes from revision 3177 to 3234 to trunk.Bjørn Lindeijer1-0/+24
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-23Merged 0.0 changes from revision 3035 to 3065 to trunk.Bjørn Lindeijer1-1/+1
2007-01-15Fixed issue where the player stops walking.v0.0.22.1Bjørn Lindeijer1-1/+1
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-7/+21
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-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-0/+145
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.