summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-3/+1
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-15/+15
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
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer1-1/+1
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-1/+1
Acked-by: Jared Adams
2010-11-13Replace config listeners with the event systemChuck Miller1-20/+4
Reviewed-by: Jared Adams
2010-09-27Centralized String to bool conversion into the client.Yohann Ferreira1-1/+1
The former XML::getBoolProperty() had a potential memleak and was unsafe when dealing with unknown values. Reviewed-by: CodyMartin. Resolves: Mana-Mantis #213.
2010-09-15Improve speed in configuration get methods.Andrei Karas1-69/+76
Small code style changes Reviewed-by: Bertram. Resolves: Mana-Mantis #227.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-0/+120
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-17Fix handing configuration files that don't exist yetJared Adams1-5/+5
Reviewed-by: trapdoor
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira1-14/+11
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-17Allow branding to bypass server listJared Adams1-1/+1
Reviewed-by: Bernd Wachter
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-12Standardize header orderJared Adams1-1/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-15/+23
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-17/+23
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-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-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
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-2/+0
Conflicts: A lot of files...
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-5/+1
Conflicts: Almost everywhere.
2009-02-07Some more include cleanups.Ira Rice1-2/+0
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-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-2/+0
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-09Code style cleanupIra Rice1-8/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-13Code style reformattingBjørn Lindeijer1-10/+7
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-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+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-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-51/+136
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2007-10-23Merged changesets 3653, 3655-3657, 3659-3560, 3671-3672 from trunk to Bjørn Lindeijer1-7/+6
0.0. Mostly memory leak fixes by Guillaume.
2007-04-23Merged Björn Steinbrinks improvements at the xml parsing from trunk version.Philipp Sehmisch1-7/+11
2006-08-05Some cleanups, mostly lowering indentation levels.Björn Steinbrink1-28/+28
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-4/+3
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-3/+4
2006-03-18Added a toString conversion function.Björn Steinbrink1-4/+3
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-33/+17
2005-08-26Remove dependency on math.hBjörn Steinbrink1-14/+3
2005-08-25Made our drawImage() method respect the clip area from the guichan graphics ↵Björn Steinbrink1-2/+4
part. Removed some (now) obsolete code. Fixed compilation errors.
2005-08-25Fixed line length in ChangeLog and some other small changes.Bjørn Lindeijer1-14/+5
2005-08-17Removed special #ifdefs for libxml2 linking issues in Win32.Eugenio Favalli1-7/+0
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-9/+7
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+0
2005-05-21Numerous things:Bjørn Lindeijer1-1/+5
* 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-5/+10
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-4/+15
2005-04-02Work around Guichan focussing bug.Bjørn Lindeijer1-2/+2
2005-04-02Added ConfigListener class to allow listening for changes to config options,Bjørn Lindeijer1-10/+42
and added a GUI opacity slider to the setup window that utilizes this.