aboutsummaryrefslogtreecommitdiff
path: root/src/subgame.cpp
AgeCommit message (Collapse)Author
2018-04-19Add online content repositoryrubenwardy
Replaces mods and texture pack tabs with a single content tab
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-06-08Use a settings object when generating world.mt and set player_backend to ↵red-001
sqlite. (#5940) * Use a settings object when generating world.mt and set player_backend to sqlite. * Update subgame.cpp
2016-07-03Add MapSettingsManager and new mapgen setting script API functionskwolekr
This commit refactors the majority of the Mapgen settings system. - MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap, instead of the EmergeManager. - New Script API functions added: core.get_mapgen_setting core.get_mapgen_setting_noiseparams, core.set_mapgen_setting, and core.set_mapgen_setting_noiseparams. - minetest.get/set_mapgen_params are deprecated by the above new functions. - It is now possible to view and modify any arbitrary mapgen setting from a mod, rather than the base MapgenParams structure. - MapgenSpecificParams has been removed.
2016-03-19Clean up StrfndShadowNinja
Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
2015-10-02Add environment variable MINETEST_WORLD_PATHSmallJoker
Also add PATH_DELIM for Windows compatibility.
2015-08-25Change i++ to ++iDavid Jones
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-18Fix game minetest.conf default settingsest31
This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .
2015-03-18Save creative_mode and enable_damage setting for each world in world.mtfz72
Create Parameters on world initialisation and set settings of old worlds
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-03-05Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot
tile.hpp to src/client/
2015-01-27Write common mapgen params to map_meta.txt on world initializationkwolekr
2014-10-28Fix various indentation issuesPenguinDad
2014-10-22Search for subgames using $MINETEST_SUBGAME_PATH.David Thompson
2014-08-16Add sqlite3 backend hack for androidsapier
2014-07-06Switch android to leveldb as sqlite3 is broken and fails to save any ↵sapier
mapblock there
2013-09-09Fix 'Unknown map backend' error when using Configure menu right after ↵Sfan5
creating world
2013-09-09Add dummy and LevelDB database backendsIlya Zhuravlev
2013-08-13Dont write directly to files but rather write and copy a tmp filePilzAdam
2013-05-19New modsystemPilzAdam
Mods are placed in $path_<user/share>/mods They can be enabled per world in world.mt or the configure world window
2013-05-04Add header.png and footer.png support for games, and support texture packs ↵Perttu Ahola
via <gameid>_menu_<background/overlay/header/footer>.png
2013-05-02Use DIR_DELIM instead of / in file pathsPilzAdam
2013-05-02Get menu background image from selected gamePerttu Ahola
2013-03-21Support game-specific minetest.confPerttu Ahola
2013-03-21Common mods supportPerttu Ahola
Implement "common mods", includeable from {$user,$share}/games/common/$modname by using the game.conf setting common_mods = $modname,$modname2,...
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2013-01-21Basic support for configuring which mods to load for each worldJürgen Doser
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
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-04-08Support placing a minetest game inside $world/game to allow creating proper ↵Perttu Ahola
adventure maps Pro-tip: You can open a world in minetest by opening the world.mt file using minetest.
2012-03-26Prefer _game postfix in game names (to be squashed to the previous commit)Perttu Ahola
2012-03-26Support _game postfix in game names, taking it out to make the gameidPerttu Ahola
2012-03-26Add game.conf check in subgame.cppPerttu Ahola
2012-03-25Make server world selection not brain dead and use gameid 'minetest' instead ↵Perttu Ahola
of 'mesetint'
2012-03-20Fix mod pathsPerttu Ahola
2012-03-20Flatten share/ and user/ in the source and for the RUN_IN_PLACE buildPerttu Ahola
2012-03-19Rework directory structurePerttu Ahola
2012-03-18Fix old world search path for non-run-in-place buildPerttu Ahola
2012-03-13World creation button and dialog and functionalityPerttu Ahola
2012-03-11World selection box in main menu (and random fixing)Perttu Ahola
2012-03-11command-line/world game selectionPerttu Ahola