summaryrefslogtreecommitdiff
path: root/src/configuration.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02General code cleanupsThorbjørn Lindeijer1-3/+2
* Don't needlessly store or return raw pointers in BeingInfo * Less copying, more moving * Less else after return * Make AddDEF a template instead of a macro * Removed some unused includes * Use range-based for loops
2024-02-09C++11: Use default member initializersThorbjørn Lindeijer1-2/+2
This patch is not exhaustive.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-6/+6
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-26Removed 'inline' keyword where it's not of any valueThorbjørn Lindeijer1-6/+6
Members that are implemented inline are already inline, there is no need to mark them as such. Made two inline members of OpenGLGraphics private since because they are marked as inline, they can't be used from other classes. Reviewed-by: Erik Schilling
2011-10-23Fixed a certain class of Doxygen warningsThorbjørn Lindeijer1-6/+6
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
2011-04-30Add missing initialization of variableStefan Dombrowski1-0/+2
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-2/+2
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2010-11-13Replace config listeners with the event systemChuck Miller1-18/+0
Reviewed-by: Jared Adams
2010-09-15Improve speed in configuration get methods.Andrei Karas1-0/+5
Small code style changes Reviewed-by: Bertram. Resolves: Mana-Mantis #227.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+26
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira1-3/+5
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-03-13Make removing a server effective even when quitting afterwardsThorbjørn Lindeijer1-1/+4
The custom server list was only saved when connecting to a server. Instead, removing a server from the list should be effective regardless of what is done afterwards. Reviewed-by: peavey
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
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-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw1-0/+2
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-01-10Change code styleAndrei Karas1-3/+8
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-26/+37
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-0/+1
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-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-2/+2
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-1/+2
Conflicts: A lot of files...
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-3/+3
Conflicts: Almost everywhere.
2009-02-07Some more include cleanups.Ira Rice1-1/+2
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
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-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.
2008-12-13Code style reformattingBjørn Lindeijer1-4/+5
Got rid of "void" in functions that take no arguments and removed the newline after the return type of a method in many places.
2008-11-18Added the font file to branding.xmlPhilipp Sehmisch1-0/+1
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+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-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-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-07-18Import of client treeLloyd Bryant1-1/+1
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-14/+133
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-2/+9
2005-08-25Fixed line length in ChangeLog and some other small changes.Bjørn Lindeijer1-10/+14
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-21/+1
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-0/+2
2005-07-02Added minimap to Tulimshar (map 3-1)Bjørn Lindeijer1-2/+2
2005-05-21Numerous things:Bjørn Lindeijer1-1/+11
* Fixed two non-virtual destructor warnings showing up with GCC 4. * Fixed OpenGL inventory text drawing that broke in last commit * Removed glClear cause screen is redrawn completely anyway * Fixed updating of buttons in inventory window * Made items.xml be loaded through resource manager.
2005-05-02Prettier errors when things go wrong.Bjørn Lindeijer1-1/+1
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-1/+3
2005-04-02Added ConfigListener class to allow listening for changes to config options,Bjørn Lindeijer1-9/+32
and added a GUI opacity slider to the setup window that utilizes this.
2005-03-01Simplified configuration.Bjørn Lindeijer1-22/+2
2005-02-21Updates to change log, file lists, lots of doxygen comments and small changes.Bjørn Lindeijer1-1/+1
2005-01-13Added heavily modified resource manager by zenogais that is currently usingBjørn Lindeijer1-2/+0
Allegro to load/draw images. Only the login wallpaper is currently loaded using the resource manager and the resource manager still waits with searching for available files until they are asked for instead of indexing what is available.
2005-01-06Whoops left in two debug prints.Bjørn Lindeijer1-0/+2
2005-01-05Small fix in handling spaces around delimiter in ini file.Bjørn Lindeijer1-13/+56
2004-12-30- ported Configuration from lists to mapAlexander Baldeck1-4/+3