aboutsummaryrefslogtreecommitdiff
path: root/src/settings.h
Commit message (Collapse)AuthorAge
* Basic support for configuring which mods to load for each worldJürgen Doser2013-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | settings.h: added function to return all keys used in settings, and a function to remove a setting mods.{h,cpp}: added class ModConfiguration that represents a subset of the installed mods. server.{h,cpp}: server does not load add-on mods that are disabled in the world.mt file. mods are disabled by a setting of the form "load_mod_<modname> = false". if no load_mod_<modname> = ... setting is found, the mod is loaded anyways for backwards compatibilty. server also complains to errorstream about mods with unstatisfied dependencies and about mods that are not installed. guiConfigureWorld.{h,cpp}: shows a treeview of installed add-on mods and modpacks with little icons in front of their name indicating their status: a checkmark for enabled mods, a cross for disabled mods, a question mark for "new" mods Mods can be enabled/disabled by a checkbox. Mods also show a list of dependencies and reverse dependencies. double-click on a mod in dependency or reverse dependency listbox selects the corresponding mod. Enabling a mod also enables all its dependencies. Disabling a mod also disables all its reverse dependencies. For modpacks, show buttons to enable/disable all mods (recursively, including their dependencies) in it. Button "Save" saves the current settings to the world.mt file and returns to the main menu. Button "Cancel" returns to main menu without saving. basic keyboard controls (if the proper widget has keyboard focus): up/down: scroll through tree of mods left/right: collaps/expand a modpack space: enable/disable the selected mod
* Optimize headersPerttu Ahola2012-06-17
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* Comment out unnecessary debug output in SettingsPerttu Ahola2012-05-20
|
* Allow directly supplying world as a parameter, including world.mtPerttu Ahola2012-03-13
|
* Clean up log messages everywherePerttu Ahola2012-03-11
|
* Do not print errors when searching for usable configuration filePerttu Ahola2012-03-11
|
* Fix configuration file behaviourPerttu Ahola2012-03-11
| | | | | - Do not rewrite if nothing needs to be changed - Update at program exit, in addition to updating when continuing from main menu to game
* Some MSVC fixesPerttu Ahola2011-11-29
|
* Use the logger; also, default to not showing much crap in console. Use ↵Perttu Ahola2011-10-16
| | | | --info-on-stderr to enable crap.
* mobv2Perttu Ahola2011-10-15
|
* Header file tweaking; mainly for speedPerttu Ahola2011-10-12