minetest/src
Jordan Irwin 18b921015a Allow 'default' parameter in 'settings:get_bool' function
Default value is used when the setting key is not found in the config
file. If default value is not set, 'nil' is returned.

#6188
2017-12-17 15:27:37 +00:00
..
client Load files from subfolders in texturepacks 2017-11-17 19:23:08 +00:00
database Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
gui Ensure no item stack is being held before crafting (#4779) 2017-12-06 17:32:05 +01:00
irrlicht_changes C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
mapgen Use std::vector instead of dynamic C-Array (#6744) 2017-12-10 09:07:24 +01:00
network CSM fixes: load mods after flavours & add flavour to block mod loading (#6738) 2017-12-11 17:33:44 +01:00
script Allow 'default' parameter in 'settings:get_bool' function 2017-12-17 15:27:37 +00:00
threading Thread: fix a crash on Windows due to data race condition on Thread::m_start_finished_mutex (#6515) 2017-10-10 12:27:08 +02:00
unittest Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
util directiontables: Fix MSVC compiler error (#6785) 2017-12-14 19:46:42 +01:00
activeobject.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
ban.cpp Banmanager: Move 'creating' message from warningstream to infostream (#6277) 2017-08-19 08:06:22 +02:00
ban.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
camera.cpp Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
camera.h Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
chat_interface.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chat.cpp Chat: Remove prompt history duplicates (#6762) 2017-12-14 19:47:29 +01:00
chat.h don't pass g_settings around, and use it directly 2017-10-17 19:22:09 +02:00
chatmessage.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
client.cpp CSM fixes: load mods after flavours & add flavour to block mod loading (#6738) 2017-12-11 17:33:44 +01:00
client.h CSM fixes: load mods after flavours & add flavour to block mod loading (#6738) 2017-12-11 17:33:44 +01:00
clientenvironment.cpp Network: Remove large parts of deprecated legacy code (#6404) 2017-09-12 19:48:09 +02:00
clientenvironment.h Fix OSX builds caused by __WORDSIZE again (#6307) 2017-08-24 10:02:23 +02:00
clientiface.cpp Turn off verbose info message introduced accidentally with ae9b1aa 2017-11-29 22:55:37 -08:00
clientiface.h Cache server config settings. (#6530) 2017-10-15 09:32:17 +02:00
clientmap.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
clientmap.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientmedia.cpp clientmap, clientmedia: code modernization 2017-08-17 08:26:52 +02:00
clientmedia.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientobject.cpp clientobject, clouds, collision, clientsimpleobject: code modernization (#6260) 2017-08-17 20:23:54 +02:00
clientobject.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientsimpleobject.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cloudparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clouds.cpp Modernize code: very last fixes (#6290) 2017-08-20 19:37:29 +02:00
clouds.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config_githash.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
CMakeLists.txt Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
collision.cpp Change BS constant from implicit double to float (#6286) 2017-08-20 19:37:55 +02:00
collision.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
config.h Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
constants.h Customizeable max breath for players (#6411) 2017-09-15 12:18:47 +02:00
content_cao.cpp Use Irrlicht's mesh cache for animated meshes. 2017-12-04 22:29:11 -08:00
content_cao.h Object properties: Add 'glow', disables light's effect if negative 2017-09-14 04:06:05 +01:00
content_cso.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_cso.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_mapblock.cpp Fix dark liquids (#6621) 2017-11-18 10:57:22 +01:00
content_mapblock.h Fix dark liquids (#6621) 2017-11-18 10:57:22 +01:00
content_mapnode.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_mapnode.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_nodemeta.cpp C++11 patchset 9: move hardcoded init parameters to class definitions (part 1) (#5984) 2017-06-16 11:25:52 +02:00
content_nodemeta.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_sao.cpp Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
content_sao.h Add static_save property to luaentites to not save them statically. (#5112) 2017-09-28 17:11:51 +02:00
convert_json.cpp Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
convert_json.h Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
craftdef.cpp Don't try to craft a non-existent item 2017-10-16 10:13:45 +02:00
craftdef.h Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
daynightratio.h Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
debug.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
debug.h Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
defaultsettings.cpp Adjust default console height 2017-12-17 04:38:54 +00:00
defaultsettings.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
emerge.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
emerge.h Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
environment.cpp Add an active object step time budget #6721 2017-12-06 12:21:54 -08:00
environment.h Add an active object step time budget #6721 2017-12-06 12:21:54 -08:00
event_manager.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
event.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
exceptions.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
face_position_cache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
face_position_cache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filecache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
filecache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filesys.cpp Load files from subfolders in texturepacks 2017-11-17 19:23:08 +00:00
filesys.h Load files from subfolders in texturepacks 2017-11-17 19:23:08 +00:00
fontengine.cpp Fix issue Minetest crash when custom font path is not exist 2017-11-08 16:14:00 +01:00
fontengine.h Modernize various files 2017-08-18 07:44:52 +02:00
game.cpp Zoom: Add 'disabled by game or mod' message 2017-12-14 20:59:54 +00:00
game.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
gamedef.h Implement mod communication channels (#6351) 2017-09-26 00:11:20 +02:00
gameparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
genericobject.cpp Fix animation frame_speed and blend loosing precision due to incorrec… (#6357) 2017-09-01 11:15:12 +02:00
genericobject.h Fix animation frame_speed and blend loosing precision due to incorrec… (#6357) 2017-09-01 11:15:12 +02:00
gettext.cpp Modernize various files 2017-08-18 07:44:52 +02:00
gettext.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
gettime.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
guiscalingfilter.cpp Modernize various files 2017-08-18 07:44:52 +02:00
guiscalingfilter.h Modernize various files (part 2) 2017-08-18 08:07:59 +02:00
httpfetch.cpp httpfetch: Enable gzip support 2017-11-04 22:19:27 +01:00
httpfetch.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
hud.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
hud.h Minimap: Add new HUD flag for minimap radar mode 2017-08-20 23:58:15 +01:00
imagefilters.cpp Modernize various files (part 2) 2017-08-18 08:07:59 +02:00
imagefilters.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
inventory.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
inventory.h Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
inventorymanager.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
inventorymanager.h Modernize various files (part 2) 2017-08-18 08:07:59 +02:00
irr_aabb3d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irr_v2d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irr_v3d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_bloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_extrabloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemdef.cpp Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
itemdef.h Overlays for wield and inventory images (#6107) 2017-08-25 13:20:53 +02:00
itemgroup.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemstackmetadata.cpp Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
itemstackmetadata.h Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
keycode.cpp keycode.cpp: use std::unordered_map for keypress cache 2017-09-21 18:47:42 +02:00
keycode.h Modernize various files (src/k*, src/l*) 2017-08-18 08:21:01 +02:00
light.cpp Update light decoding table size (#6696) 2017-12-12 19:29:55 +01:00
light.h Update light decoding table size (#6696) 2017-12-12 19:29:55 +01:00
localplayer.cpp Player eye height: Make this a settable player object property 2017-11-06 12:54:00 +00:00
localplayer.h Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
log.cpp Remove threads.h and replace its definitions with their C++11 equivalents (#5957) 2017-06-11 09:43:05 +02:00
log.h Add coloured logs (#4549) 2017-12-06 18:50:39 +01:00
main.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
map_settings_manager.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
map_settings_manager.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
map.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
map.h ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mapblock_mesh.cpp Real global textures (#6105) 2017-10-15 09:34:14 +02:00
mapblock_mesh.h Fix item and wield meshes (#6596) 2017-11-14 19:23:34 +01:00
mapblock.cpp Code modernization: src/m* (part 2) 2017-08-19 09:12:54 +02:00
mapblock.h Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
mapnode.cpp Real global textures (#6105) 2017-10-15 09:34:14 +02:00
mapnode.h Real global textures (#6105) 2017-10-15 09:34:14 +02:00
mapsector.cpp ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mapsector.h ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mesh_generator_thread.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
mesh_generator_thread.h Code modernization: src/m* (part 3) 2017-08-19 09:29:55 +02:00
mesh.cpp Use Irrlicht's mesh cache for animated meshes. 2017-12-04 22:29:11 -08:00
mesh.h Use Irrlicht's mesh cache for animated meshes. 2017-12-04 22:29:11 -08:00
metadata.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
metadata.h Code modernization: src/m* (part 3) 2017-08-19 09:29:55 +02:00
minimap.cpp Code modernization: src/m* (part 3) 2017-08-19 09:29:55 +02:00
minimap.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
modchannels.cpp Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modchannels.h Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modifiedstate.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
mods.cpp Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
mods.h Fix addModsFormConfig typo (#6420) 2017-09-16 18:40:19 +02:00
nameidmapping.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nameidmapping.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodedef.cpp Add missing? include 2017-10-26 20:35:32 +02:00
nodedef.h Real global textures (#6105) 2017-10-15 09:34:14 +02:00
nodemetadata.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodemetadata.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodetimer.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodetimer.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
noise.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
noise.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
objdef.cpp Fix Windows build, clean up included headers 2015-05-22 20:37:59 +02:00
objdef.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
object_properties.cpp Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
object_properties.h Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
particles.cpp Real global textures (#6105) 2017-10-15 09:34:14 +02:00
particles.h ParticleSpawner::step cleanup and rotation fix (#6486) 2017-10-02 20:40:59 +02:00
pathfinder.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
pathfinder.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
player.cpp Minimap: Add new HUD flag for minimap radar mode 2017-08-20 23:58:15 +01:00
player.h Make Player::peer_id server-side only and add getters and setters (#6478) 2017-09-30 12:00:05 +02:00
porting_android.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
porting_android.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
porting.cpp Replace deprecated WINAPI GetVersionInfoEx (#6496) 2017-10-07 15:13:13 +02:00
porting.h Modernize code: very last fixes (#6290) 2017-08-20 19:37:29 +02:00
profiler.cpp Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
profiler.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
quicktune_shortcutter.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
quicktune.cpp Use C++11 mutexes only (remove compat code) (#5922) 2017-06-06 16:29:28 +02:00
quicktune.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
raycast.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
raycast.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
reflowscan.cpp Cpp11 patchset 11: continue working on constructor style migration (#6004) 2017-06-18 19:55:15 +02:00
reflowscan.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
remoteplayer.cpp Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
remoteplayer.h Fix day_night_ratio_do_override not being initialised server-side 2017-10-29 18:31:53 +00:00
rollback_interface.cpp Private nodemeta (#5702) 2017-05-10 15:29:21 +02:00
rollback_interface.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
serialization.cpp compressZlib: don't use a SharedBuffer but a raw u8 * pointer 2017-07-27 07:56:48 +02:00
serialization.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
server.cpp Shut down mapgen threads before other shutdown tasks (#6689) 2017-12-03 10:28:35 +01:00
server.h Inventory: Restrict access from too far away 2017-11-24 05:39:47 +00:00
serverenvironment.cpp Add an active object step time budget #6721 2017-12-06 12:21:54 -08:00
serverenvironment.h Add an active object step time budget #6721 2017-12-06 12:21:54 -08:00
serverlist.cpp Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
serverlist.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
serverobject.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
serverobject.h ServerEnv: Clean up object lifecycle handling (#6414) 2017-09-15 12:19:01 +02:00
settings_translation_file.cpp Rewrite rendering engine (#6253) 2017-10-31 19:27:10 +01:00
settings.cpp Fix issue Minetest crash when custom font path is not exist 2017-11-08 16:14:00 +01:00
settings.h Fix issue Minetest crash when custom font path is not exist 2017-11-08 16:14:00 +01:00
shader.cpp Modernize code: very last fixes (#6290) 2017-08-20 19:37:29 +02:00
shader.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
sky.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
sky.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
sound_openal.cpp Fix recent commit: std::max -> std::fmax for floats (#6469) 2017-09-27 23:03:41 +02:00
sound_openal.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
sound.cpp Update Copyright Years 2013-02-24 20:15:24 +01:00
sound.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
staticobject.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
staticobject.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
subgame.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
subgame.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
terminal_chat_console.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
terminal_chat_console.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
tileanimation.cpp Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tileanimation.h Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tool.cpp Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
tool.h Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
translation.cpp Add '@n' escape sequences and some documentation on translated strings. 2017-08-26 09:43:08 +02:00
translation.h Add clientside translations. 2017-08-24 17:54:10 +02:00
version.cpp Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
version.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
voxel.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
voxel.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
voxelalgorithms.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
voxelalgorithms.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
wieldmesh.cpp Fix items turning black (#6780) 2017-12-16 17:01:37 +01:00
wieldmesh.h Real global textures (#6105) 2017-10-15 09:34:14 +02:00