summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-08-05Add a checkbox to the debugging window to show being ids.Stefan Beller1-0/+21
Reviewed-by: Ablu Conflicts: src/gui/viewport.cpp
2012-07-25Reduced the height of the Setup windowThorbjørn Lindeijer1-2/+2
Also removed all the hardcoded sizes of the various setup tabs. Instead, support for dynamically adjusting layout was added to the Container class. Various other places were also adapted to use the new layout support in Container.
2012-02-07Fixed debug window not saving its position and sizeErik Schilling1-2/+2
Spotted-by: cody. Reviewed-by: bjorn.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-09-16Renamed Map::DebugFlags enumeratorsThorbjørn Lindeijer1-9/+9
Their name is a bit more clear with DEBUG prefix rather than MAP prefix. They're already scoped in the Map class anyway. MAP_NORMAL was changed to DEBUG_NONE to represent no debug flags. Acked-by: Bertram
2011-05-25Refining switches in the debug viewStefan Dombrowski1-47/+81
Reviewed-by: Bjorn
2011-05-20Removing KEY_PATHFIND and moving its function into the debug windowStefan Dombrowski1-67/+149
* The f-key is no longer used. That means new players are less likely to get into trouble by accidentally activating the debug mode. * The debug mode can now be activated in a new tab in the debug window. * The main advantage of using a gui is its extensibility. At the moment the debug mode does show too much information at once. In a follow-up patch the user should get more choices. Reviewed-by: Bjorn
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-0/+1
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram1-1/+1
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram1-11/+14
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer1-15/+6
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-01-11Cleanup GUI classesJared Adams1-6/+6
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-10-31Fix compilation without openglAndrei Karas1-1/+1
2009-10-14Add more detail to DebugWindowJared Adams1-1/+32
2009-08-31Change 'Tile' to 'Cursor' in debug windowKess Vargavind1-2/+2
This has confused many players, as we at times have believed them to be the player coordinates and not those of the cursor. (A possible extension might be to put the player coordinates as well in the debug window or elsewhere, for instance the minimap.)
2009-08-30Keeping two similar gettext strings identicalKess Vargavind1-1/+1
2009-08-30Fixed a style error.Philipp Sehmisch1-1/+1
2009-08-30Particle count is again displayed properly in debug window (was cut off by ↵Philipp Sehmisch1-1/+1
layout manager)
2009-08-07Gettext fixesKess Vargavind1-1/+1
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-26Gettext fixesKess Vargavind1-15/+17
And a Swedish translation of the desktop file.
2009-07-23Clear some more support ifdefsJared Adams1-0/+2
2009-04-20Fix up window visibility saving/restoringJared Adams1-0/+1
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-9/+10
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-23Merge branch 'aethyra/master'Bjørn Lindeijer1-10/+9
Conflicts: Many files.
2009-03-14Fixed default size for the debug window.Ira Rice1-1/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-8/+7
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice1-1/+1
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-1/+1
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-1/+1
2009-03-06Fix layout of debug windowJared Adams1-3/+2
2009-03-06Fix layout of debug windowJared Adams1-3/+2
2009-03-06Merge branch 'aethyra/master'Bjørn Lindeijer1-17/+10
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-17/+10
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-20Fix debug window to show correct mouse coordinatesJared Adams1-2/+2
2009-02-20Fix debug window to show correct mouse coordinatesJared Adams1-2/+2
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
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-1/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-1/+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-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-20Got rid of the useless [ and ] in debug windowBjørn Lindeijer1-18/+12
2009-01-19Fixed overlaps in the last commit by converting the debug window code toIra Rice1-13/+11
use the layout engine. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Added current map filename to debug window.Philipp Sehmisch1-13/+22
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-2/+1
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-5/+2
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