aboutsummaryrefslogtreecommitdiff
path: root/src/settings.h
Commit message (Collapse)AuthorAge
* Settings: Various setting group fixes and enhancementskwolekr2014-12-04
| | | | | | | | - Remove blank setting values when setting has a group - Pair setting values with groups in file when possible - Preserve user-set whitespace in setting objects - Delete setting value when setting NoiseParams group - Delete overwritten groups outside of lock
* Use setting groups for NoiseParamskwolekr2014-12-02
| | | | | | Add format example to minetest.conf.example Add Settings::setU16() Throw exception on attempted access of NULL settings groups
* LuaSettings: Sanitize setting name stringskwolekr2014-11-30
|
* settings: Add setting groups and multiline entrieskwolekr2014-11-30
|
* Implement proper font handlingsapier2014-11-30
|
* Split settings into seperate source and header filesShadowNinja2014-09-21
| | | | This also cleans up settings a bit
* Fix Settings lockingShadowNinja2014-09-21
|
* Use const references for Settings methodsShadowNinja2014-09-21
| | | | Also check for (this == &other) before locking mutexes.
* Make getters of the Settings class constCraig Robbins2014-09-21
| | | | Also removed 2 unused functions.
* Bunch of small fixes (coding style, very unlikely errors, warning messages)sapier2014-04-19
|
* Add minetest.set_noiseparam_defaults() Lua APIkwolekr2014-02-15
|
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-08
| | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
* Remove blank default values for emergequeue_limit_* settingskwolekr2014-02-05
| | | | | Add checks for invalid user input for important settings Rename Settings::tryGet* to Settings::get*NoEx for consistency
* Revert "Fix settings to honor numeric conversion errors"kwolekr2014-02-05
| | | | This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
* Fix settings to honor numeric conversion errorssapier2014-02-04
| | | | Rename try* non exceptioning functions to *NoEx
* Settings: Add no-exception variants of each get methodkwolekr2014-02-03
|
* Cleanup jthread and fix win32 buildsapier2013-12-01
|
* Always use builtin JThread librarykwolekr2013-09-15
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Dont write directly to files but rather write and copy a tmp filePilzAdam2013-08-13
|
* Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParamskwolekr2013-05-19
|
* initial mapgen indev version with farscale feature and huge cavesproller2013-03-16
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Add flag string settings, flat map optionkwolekr2013-02-06
|
* Make sure that settings are written to config file when settings are removed.Jürgen Doser2013-01-22
| | | | | Previously, settings where only written when a value has changed, and removal of a setting value didn't count as a change.
* Last set of minor cleanupskwolekr2013-01-21
|
* Finish and clean up mapgen configurationkwolekr2013-01-21
|
* Add Settings::getStruct and Settings::setStructkwolekr2013-01-21
|
* The new mapgen, noise functions, et al.kwolekr2013-01-21
|
* 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