oweals/minetest.git
4 years agoOrganize and sort out some library dependency issues
sfan5 [Wed, 22 Jan 2020 20:28:49 +0000 (21:28 +0100)]
Organize and sort out some library dependency issues

4 years agoEnrichedString: Fix uninitialized variable m_default_length
SmallJoker [Thu, 23 Jan 2020 19:14:46 +0000 (20:14 +0100)]
EnrichedString: Fix uninitialized variable m_default_length

4 years agoStaticText/EnrichedString: Styling support (#9187)
SmallJoker [Wed, 22 Jan 2020 18:09:11 +0000 (19:09 +0100)]
StaticText/EnrichedString: Styling support (#9187)

* StaticText/EnrichedString: Styling support

* Fix tooltip fg/bgcolor

* Fix default color for substr(), add unittests

4 years agoRemove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)
Zaoqi [Wed, 22 Jan 2020 18:08:07 +0000 (02:08 +0800)]
Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)

4 years agoRemove unused weight property from objects (#9320)
Wuzzy [Wed, 22 Jan 2020 09:19:27 +0000 (09:19 +0000)]
Remove unused weight property from objects (#9320)

4 years agoFormspec: Don't start a button click when the pointer isn't on top (#9332)
Hugues Ross [Wed, 22 Jan 2020 09:18:09 +0000 (04:18 -0500)]
Formspec: Don't start a button click when the pointer isn't on top (#9332)

4 years agoResized torchlike sprite now attaches to surface (#9303)
Wuzzy [Mon, 20 Jan 2020 19:17:54 +0000 (19:17 +0000)]
Resized torchlike sprite now attaches to surface (#9303)

4 years agolua_api.txt: Improve privs_to_string and string_to_privs documentation (#9228)
ANAND [Sun, 19 Jan 2020 10:16:54 +0000 (15:46 +0530)]
lua_api.txt: Improve privs_to_string and string_to_privs documentation (#9228)

4 years agoReplace stray tab with whitespace in guiFormSpecMenu.cpp (#9317)
ANAND [Sat, 18 Jan 2020 16:50:57 +0000 (22:20 +0530)]
Replace stray tab with whitespace in guiFormSpecMenu.cpp (#9317)

4 years agoAdd Lua unit tests to builtin using busted (#9184)
rubenwardy [Sat, 18 Jan 2020 02:09:18 +0000 (02:09 +0000)]
Add Lua unit tests to builtin using busted (#9184)

4 years agoFix syntax error in Dockerfile
rubenwardy [Thu, 16 Jan 2020 18:50:19 +0000 (18:50 +0000)]
Fix syntax error in Dockerfile

4 years agoMake clipping of formspec elements more consistent (#9262)
Hugues Ross [Thu, 16 Jan 2020 18:41:07 +0000 (13:41 -0500)]
Make clipping of formspec elements more consistent (#9262)

4 years agoIncrease star count to 1000 and decrease radius slightly (#9307)
lhofhansl [Thu, 16 Jan 2020 16:12:34 +0000 (08:12 -0800)]
Increase star count to 1000 and decrease radius slightly (#9307)

* Increase star count to 1000 and decrease radius slightly.
* Adjust star width.

4 years agoAndroid: fix cyrillic characters, update iconv lib (#9117)
Maksim [Mon, 13 Jan 2020 06:10:15 +0000 (07:10 +0100)]
Android: fix cyrillic characters, update iconv lib (#9117)

4 years agoMap download: Escape ':' to '_' (#9235)
Montandalar [Sat, 11 Jan 2020 19:47:34 +0000 (06:47 +1100)]
Map download: Escape ':' to '_' (#9235)

This is necessary under Windows systems, and direct IPv6 connections.
Windows universally disallows ':' from occuring in filenames.

Other disallowed characters on Windows:

\ / * ? " < > |

are not relevant to hostnames, IPv4 or IPv6 addresses.

Anyone who has got an existing server map saved on Linux with ':' in
the world save will want to keep that save.

4 years agoFormspec: change the appeareance of the cursor on fields and co. (#8665)
DS [Sat, 11 Jan 2020 19:17:11 +0000 (20:17 +0100)]
Formspec: change the appeareance of the cursor on fields and co. (#8665)

4 years agoAdd missing entity documentation (#9297)
Wuzzy [Thu, 9 Jan 2020 18:48:16 +0000 (18:48 +0000)]
Add missing entity documentation (#9297)

4 years agoImprove Lua API documentation on sounds (#9265)
Wuzzy [Wed, 8 Jan 2020 21:27:54 +0000 (21:27 +0000)]
Improve Lua API documentation on sounds (#9265)

4 years agoFormspec: Fix clicking on tooltip-obstructed elements (#9266)
DS [Sat, 4 Jan 2020 14:45:22 +0000 (15:45 +0100)]
Formspec: Fix clicking on tooltip-obstructed elements (#9266)

4 years agoAdd table.key_value_swap (#9248)
HybridDog [Sat, 4 Jan 2020 14:44:48 +0000 (15:44 +0100)]
Add table.key_value_swap (#9248)

4 years agoTweak default textures (#9237)
Wuzzy [Sat, 4 Jan 2020 14:44:31 +0000 (14:44 +0000)]
Tweak default textures (#9237)

4 years agoRemove Mapgen V7 floatlands in preparation for new implementation (#9238)
Paramat [Sat, 4 Jan 2020 01:23:57 +0000 (01:23 +0000)]
Remove Mapgen V7 floatlands in preparation for new implementation (#9238)

Preserve the floatland flag of existing worlds, to be used again
when the new implementation is added.

4 years agoUse appropriate LC_ locale macro for Windows (#9230)
Montandalar [Tue, 24 Dec 2019 18:13:22 +0000 (05:13 +1100)]
Use appropriate LC_ locale macro for Windows (#9230)

* Wrap LC_ macro in ifdef

Windows does not have LC_MESSAGES in locale.h, so use LC_ALL on that platform

4 years agoFix item eat sound not played if last item (#9239)
Wuzzy [Tue, 24 Dec 2019 18:12:46 +0000 (18:12 +0000)]
Fix item eat sound not played if last item (#9239)

4 years agoDocument permissible group ratings (#9236)
Wuzzy [Tue, 24 Dec 2019 18:12:31 +0000 (18:12 +0000)]
Document permissible group ratings (#9236)

4 years agoAllow wave_heights up to two nodes. #9220
Lars Hofhansl [Sat, 21 Dec 2019 14:33:59 +0000 (06:33 -0800)]
Allow wave_heights up to two nodes. #9220

4 years agoFix the player information version_string return value (#8616)
Lejo [Fri, 20 Dec 2019 18:16:29 +0000 (19:16 +0100)]
Fix the player information version_string return value (#8616)

* Give more player information

* Correct lua_api.txt

* Correct keys in lua_api.txt

* Improve Code

* Only Bugfix+ser_vers

* Correct doc

* Fix double

4 years ago/privs: Delimit output list of privs with commas (#9224)
ANAND [Fri, 20 Dec 2019 18:15:40 +0000 (23:45 +0530)]
/privs: Delimit output list of privs with commas (#9224)

4 years agoBuiltin: Make dropped light_source nodes glow (#9200)
Wuzzy [Thu, 19 Dec 2019 18:41:44 +0000 (18:41 +0000)]
Builtin: Make dropped light_source nodes glow (#9200)

4 years agoMake core.item_place_node return position of placed node. (#7713)
Bluebird [Wed, 18 Dec 2019 18:21:24 +0000 (12:21 -0600)]
Make core.item_place_node return position of placed node. (#7713)

4 years agoDockerfile: correct `apt clean` + git clone --depth 1 + remove .git (#8697)
Zaoqi [Tue, 17 Dec 2019 13:34:21 +0000 (21:34 +0800)]
Dockerfile: correct `apt clean` + git clone --depth 1 + remove .git (#8697)

4 years agoCorrect documentation around minetest.item_place
sfan5 [Mon, 16 Dec 2019 18:13:43 +0000 (19:13 +0100)]
Correct documentation around minetest.item_place

The code that calls minetest.item_place_object was removed
in 2013 in commit fc61c8809b9a1d47d9f117446764107a56cec956.

4 years agoDon't override the FGIMG style property if the image parameter is null
Hugues Ross [Sat, 14 Dec 2019 23:09:27 +0000 (18:09 -0500)]
Don't override the FGIMG style property if the image parameter is null

4 years agoRemove the dependency on FGIMG/BGIMG from the hovered/pressed variants
Hugues Ross [Sat, 14 Dec 2019 23:05:36 +0000 (18:05 -0500)]
Remove the dependency on FGIMG/BGIMG from the hovered/pressed variants

- Make guiButtonImage support null images properly

4 years agoStyleSpec: 0-initialize the property_set array
Hugues Ross [Sat, 14 Dec 2019 23:03:33 +0000 (18:03 -0500)]
StyleSpec: 0-initialize the property_set array

4 years agoLua API: Document HP, breath and damage limits (#9080)
SmallJoker [Sun, 15 Dec 2019 17:55:01 +0000 (18:55 +0100)]
Lua API: Document HP, breath and damage limits (#9080)

4 years agoAdd Alpine build dependencies in README (#9206)
Zaoqi [Sun, 15 Dec 2019 16:10:25 +0000 (00:10 +0800)]
Add Alpine build dependencies in README (#9206)

4 years agoGUIFormSpecMenu: Fix legacy sorting using std::stable_sort
SmallJoker [Sat, 14 Dec 2019 20:28:07 +0000 (21:28 +0100)]
GUIFormSpecMenu: Fix legacy sorting using std::stable_sort

4 years agoFix spaces breaking formspec_version[] tag
rubenwardy [Mon, 9 Dec 2019 21:05:07 +0000 (21:05 +0000)]
Fix spaces breaking formspec_version[] tag

4 years agoRefactor to centralize GUIButton styling/rendering code (#9090)
Hugues Ross [Mon, 9 Dec 2019 20:06:51 +0000 (15:06 -0500)]
Refactor to centralize GUIButton styling/rendering code (#9090)

4 years agoguiConfirmRegistration: Fix hidden error message
SmallJoker [Mon, 9 Dec 2019 19:01:16 +0000 (20:01 +0100)]
guiConfirmRegistration: Fix hidden error message

4 years agoFormspec: make bgcolor element less confusing and allow setting fullscreen color...
DS [Sun, 8 Dec 2019 17:59:30 +0000 (18:59 +0100)]
Formspec: make bgcolor element less confusing and allow setting fullscreen color (#8996)

4 years agoFix luacheck errors
rubenwardy [Fri, 6 Dec 2019 23:16:33 +0000 (23:16 +0000)]
Fix luacheck errors

4 years agoRun luacheck in travis
rubenwardy [Fri, 6 Dec 2019 22:50:55 +0000 (22:50 +0000)]
Run luacheck in travis

4 years agoClean up craft replacements docs
Paul Ouellette [Thu, 8 Aug 2019 12:30:38 +0000 (08:30 -0400)]
Clean up craft replacements docs

4 years agoRenaming the function wasn't enough
SmallJoker [Sat, 7 Dec 2019 14:55:49 +0000 (15:55 +0100)]
Renaming the function wasn't enough

4 years agoAttachments: Fix interpolation from (0,0,0) after detach
SmallJoker [Wed, 27 Nov 2019 19:36:51 +0000 (20:36 +0100)]
Attachments: Fix interpolation from (0,0,0) after detach

GenericCAO::getPosition() did not take the camera offset into account
LocalPlayer attachment cleanup: Use sane getParent() function
Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position

4 years agoFix failing build due to code style error
rubenwardy [Fri, 6 Dec 2019 23:00:54 +0000 (23:00 +0000)]
Fix failing build due to code style error

4 years agoAdd scrollbaroptions FormSpec element (#8530)
v-rob [Fri, 6 Dec 2019 20:51:10 +0000 (12:51 -0800)]
Add scrollbaroptions FormSpec element (#8530)

4 years agoFix android build due to omitted file in src files
Zaoqi [Fri, 6 Dec 2019 20:50:45 +0000 (04:50 +0800)]
Fix android build due to omitted file in src files

4 years agoAdd z-index management to HUD
Pierre-Yves Rollo [Mon, 4 Nov 2019 08:30:02 +0000 (09:30 +0100)]
Add z-index management to HUD

4 years agoFix LocalPlayer-bound sound playback broken by 81c2370
SmallJoker [Thu, 5 Dec 2019 19:35:31 +0000 (20:35 +0100)]
Fix LocalPlayer-bound sound playback broken by 81c2370

4 years agoFix Debian build dependencies in README
Nils Dagsson Moskopp [Wed, 27 Nov 2019 00:46:59 +0000 (01:46 +0100)]
Fix Debian build dependencies in README

This patch replaces the statement in the README about a build dependency of the
minetest binary on the package “build-essential” with a corresponding statement
about build dependencies on the three packages “g++”, “make”, and “libc6-dev”.

Though often used as a shorthand, “build-essential” is not a package used to
install packages that are essential for building software – “build-essential”
depends on packages that are essential for building Debian packages. Therefore,
the dependency on “build-essential” implies a dependency on a lot of packages that
are not actually necessary to build minetest (e.g. the Perl programming language).

4 years agoUse a safer implementation of gsub in core.chat_format_message (#9133)
ANAND [Mon, 25 Nov 2019 19:03:34 +0000 (00:33 +0530)]
Use a safer implementation of gsub in core.chat_format_message (#9133)

This search-and-replace implementation does not use Lua pattern-matching

4 years agoImprove client-side packet receiving
sfan5 [Tue, 19 Nov 2019 19:23:00 +0000 (20:23 +0100)]
Improve client-side packet receiving

4 years agoCaves: Fix shadowing of 'large_cave_depth' to avoid confusion
paramat [Fri, 22 Nov 2019 20:37:43 +0000 (20:37 +0000)]
Caves: Fix shadowing of 'large_cave_depth' to avoid confusion

4 years agoDungeons: Move duplicated y limit checks to generation function
paramat [Fri, 22 Nov 2019 19:48:18 +0000 (19:48 +0000)]
Dungeons: Move duplicated y limit checks to generation function

4 years agoFormspec: Fix priorities for version < 3 (#9121)
SmallJoker [Wed, 20 Nov 2019 18:39:10 +0000 (19:39 +0100)]
Formspec: Fix priorities for version < 3 (#9121)

* Formspec: Fix priorities for version < 3

1) Introduce 'priority' to 'FieldSpec'
2) Sort elements based on 'priority'
3) Assign 'name' to the Item Image Button's image to show tooltips again

4 years agoWaves generated with Perlin-type noise #8994
Lars Hofhansl [Wed, 20 Nov 2019 03:42:52 +0000 (19:42 -0800)]
Waves generated with Perlin-type noise #8994

4 years agoMove duplicated mapgen parameters to class MapgenBasic (#9134)
Paramat [Tue, 19 Nov 2019 19:59:17 +0000 (19:59 +0000)]
Move duplicated mapgen parameters to class MapgenBasic (#9134)

'large_cave_depth', 'dungeon_ymin' and 'dungeon_ymax' are duplicated across many mapgens so should have been in class MapgenBasic from the start.

4 years agoRework packet receiving in ServerThread
sfan5 [Thu, 14 Nov 2019 16:38:15 +0000 (17:38 +0100)]
Rework packet receiving in ServerThread

Notably it tries to receive all queued packets
between server steps, not just one.

4 years agoRandomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)
Paramat [Mon, 18 Nov 2019 23:40:01 +0000 (23:40 +0000)]
Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)

Low-disruption first step towards removing the hardcoded cave liquid
code. Since MT 5.0.0 cave liquids can be defined and located by
biome definitions instead.
In games that do not yet use biome definitions to define and locate
cave liquids (MTGame does), lava will now appear below
y = water_level - 256 instead of below 'lava depth' (usually y = -256).
Therefore no change in most mapgens if using the default 'lava depth'.

4 years agoFix find_path for newer jsoncpp installations
William Breathitt Gray [Sat, 16 Nov 2019 18:14:24 +0000 (13:14 -0500)]
Fix find_path for newer jsoncpp installations

The upstream JsonCpp project has renamed the `json/features.h` file to
`json/json_features.h`. This patch fixes the JsonCpp installation search
by looking for `json/allocator.h` which has not been renamed on newer
versions of JsonCpp.

Fixes: https://github.com/minetest/minetest/issues/9119

4 years agoOptimize semaphore wait with zero timeout on POSIX
sfan5 [Thu, 14 Nov 2019 16:58:07 +0000 (17:58 +0100)]
Optimize semaphore wait with zero timeout on POSIX

4 years agoInstall client_lua_api.txt documentation too
sfan5 [Sun, 10 Nov 2019 22:17:10 +0000 (23:17 +0100)]
Install client_lua_api.txt documentation too

fixes #9104

4 years agoFix clang-tidy and lint travis checks
sfan5 [Sat, 9 Nov 2019 20:22:06 +0000 (21:22 +0100)]
Fix clang-tidy and lint travis checks

4 years ago[CSM] Fix and improve minetest.get_language()
sfan5 [Sat, 9 Nov 2019 15:15:05 +0000 (16:15 +0100)]
[CSM] Fix and improve minetest.get_language()

Previously this method would accidentally reset the locale
and break everything.

4 years ago[CSM] Implement minetest.get_csm_restrictions()
sfan5 [Sat, 9 Nov 2019 10:00:19 +0000 (11:00 +0100)]
[CSM] Implement minetest.get_csm_restrictions()

fixes #8068

4 years agoRun on_item_use CSM callback even if item is not marked usable
sfan5 [Fri, 8 Nov 2019 23:41:33 +0000 (00:41 +0100)]
Run on_item_use CSM callback even if item is not marked usable

Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).

4 years agoFix camera:get_offset() in CSM
sfan5 [Fri, 8 Nov 2019 23:27:50 +0000 (00:27 +0100)]
Fix camera:get_offset() in CSM

4 years ago[CSM] Expose more env functions
sfan5 [Fri, 8 Nov 2019 23:22:42 +0000 (00:22 +0100)]
[CSM] Expose more env functions

4 years agoRefactor CSM restriction code a bit
sfan5 [Fri, 8 Nov 2019 21:57:03 +0000 (22:57 +0100)]
Refactor CSM restriction code a bit

This also fixes find_node_near restrictions being ineffective.

4 years agoCall on_secondary_use when object is right-clicked
sfan5 [Sat, 9 Nov 2019 23:36:29 +0000 (00:36 +0100)]
Call on_secondary_use when object is right-clicked

4 years agoRandomwalk caves: Extend beyond mapchunk vertically also (#9094)
Paramat [Sun, 10 Nov 2019 01:41:20 +0000 (01:41 +0000)]
Randomwalk caves: Extend beyond mapchunk vertically also (#9094)

Previously, randomwalk caves only extended beyond the mapchunk
borders horizontally, preventing vertical overlap and
interconnection.

4 years agoBe lenient with extra slashes for CSM paths
sfan5 [Sat, 9 Nov 2019 14:11:21 +0000 (15:11 +0100)]
Be lenient with extra slashes for CSM paths

4 years ago[CSM] Remove non-functional minetest.get_day_count()
sfan5 [Sat, 9 Nov 2019 10:29:20 +0000 (11:29 +0100)]
[CSM] Remove non-functional minetest.get_day_count()

4 years agoCorrections to client_lua_api.txt
sfan5 [Fri, 8 Nov 2019 19:54:25 +0000 (20:54 +0100)]
Corrections to client_lua_api.txt

4 years agoIntroduce get_modpath() for CSM
sfan5 [Fri, 8 Nov 2019 19:18:41 +0000 (20:18 +0100)]
Introduce get_modpath() for CSM

4 years agoLoad client mods into memory before execution.
sfan5 [Fri, 8 Nov 2019 19:01:47 +0000 (20:01 +0100)]
Load client mods into memory before execution.

Preperation for server-sent CSM which will eventually need this.

4 years agoRefactor loading of Lua code with mod security
sfan5 [Fri, 8 Nov 2019 17:35:32 +0000 (18:35 +0100)]
Refactor loading of Lua code with mod security

4 years agoAdd arm64-v8a but it's not sufficient for 64bit build
Loic Blot [Sat, 9 Nov 2019 11:50:53 +0000 (12:50 +0100)]
Add arm64-v8a but it's not sufficient for 64bit build

4 years agoBump to version code 25
Loic Blot [Sat, 9 Nov 2019 10:37:46 +0000 (11:37 +0100)]
Bump to version code 25

4 years agoAndroid: build fixes & compat fixes
MoNTE48 [Wed, 6 Nov 2019 23:39:39 +0000 (00:39 +0100)]
Android: build fixes & compat fixes

4 years agoSilence invalid Clang Format report (#9095)
Paramat [Sat, 9 Nov 2019 03:01:22 +0000 (03:01 +0000)]
Silence invalid Clang Format report (#9095)

4 years agoTunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)
Paramat [Sat, 9 Nov 2019 02:09:52 +0000 (02:09 +0000)]
Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)

Previously, the only way to disable the 3D noise tunnels was to set
'cave width' > 1.0, however doing so did not disable the very intensive
noise calculations or the generation loop.
All the other types of cave generation (randomwalk caves, caverns)
can already be independently and completely disabled.
This feature is now needed more because the small randomwalk caves are
now available for use as an alternative to the 3D noise tunnels.

4 years agoMake core.get_favorites("local") ignore duplicates (#7926)
Paul Ouellette [Fri, 8 Nov 2019 21:18:20 +0000 (16:18 -0500)]
Make core.get_favorites("local") ignore duplicates (#7926)

4 years agoRandomwalk caves: Add parameters for number, proportion flooded. Allow small caves...
Paramat [Fri, 8 Nov 2019 03:09:43 +0000 (03:09 +0000)]
Randomwalk caves: Add parameters for number, proportion flooded. Allow small caves (#8928)

Add mapgen parameters to set the range of the random number of
randomwalk caves per mapchunk, and to set the proportion that are
flooded with liquids.
Default values are, for now, unchanged from the previous hardcoded
values.

Add parameters to allow small randomwalk caves
Disabled by default for now as they have never been present in the
non-mgv6 mapgens.

4 years agoFormspec: draw order and clipping for all elements (#8740)
DS [Thu, 7 Nov 2019 19:11:01 +0000 (20:11 +0100)]
Formspec: draw order and clipping for all elements (#8740)

5 years agoImprove documentation around banning (#9088)
sfan5 [Tue, 5 Nov 2019 18:24:51 +0000 (19:24 +0100)]
Improve documentation around banning (#9088)

* Fix ban chatcommand description
* Correct ban API documentation

5 years agoAndroid: Fix broken double-tap after 49 days uptime
SmallJoker [Sun, 3 Nov 2019 11:59:12 +0000 (12:59 +0100)]
Android: Fix broken double-tap after 49 days uptime

5 years agoClean up font caching, fix bitmap fonts
SmallJoker [Thu, 17 Oct 2019 18:40:50 +0000 (20:40 +0200)]
Clean up font caching, fix bitmap fonts

5 years agoFormspec: add hypertext element
Pierre-Yves Rollo [Tue, 10 Sep 2019 13:11:26 +0000 (15:11 +0200)]
Formspec: add hypertext element

5 years agoAdd debug.txt.1 to .gitignore (#9081)
DS [Sat, 2 Nov 2019 18:29:14 +0000 (19:29 +0100)]
Add debug.txt.1 to .gitignore (#9081)

This should have been done in #8904.

5 years agoBuiltin: Improve /clearobjects message (#9084)
Alistair Findlay [Sat, 2 Nov 2019 18:28:55 +0000 (05:28 +1100)]
Builtin: Improve /clearobjects message (#9084)

5 years agoChange some usages of "deprecated" to "obsolete" (#9062)
random-geek [Tue, 29 Oct 2019 18:23:12 +0000 (11:23 -0700)]
Change some usages of "deprecated" to "obsolete" (#9062)

"Deprecated" means that something is still in use, but is unsupported and needs to be removed.
"Obsolete" means it is already out of use.

5 years agoAdd help texts for settings that lack one (#9007)
Wuzzy [Fri, 25 Oct 2019 20:29:02 +0000 (22:29 +0200)]
Add help texts for settings that lack one (#9007)

5 years agoChange some rough/inappropriate language in comments (#9061)
random-geek [Thu, 24 Oct 2019 00:17:00 +0000 (17:17 -0700)]
Change some rough/inappropriate language in comments (#9061)

5 years agoImprove light curve parameter limits and documentation (#9054)
Paramat [Thu, 24 Oct 2019 00:08:49 +0000 (01:08 +0100)]
Improve light curve parameter limits and documentation (#9054)

Revert gamma upper limit to 3.0 because that was raised based on
a misunderstanding and had no benefit. A sane upper limit is
needed as players on a competitive server tend to use the maximum.
Set gamma lower limit to 0.33 for consistency with 3.0.
Set sane limits on alpha, beta, boost and enforce these in code
to limit values entered in minetest.conf and to avoid easy cheating
by editing settingtypes.txt.
Improve documentation and 'readable' setting names.
Clarify that gamma does not significantly affect natural night light.
light.cpp: Various codestyle and comment improvements.

5 years agoRemove legacy file format documentation
random-geek [Tue, 22 Oct 2019 23:39:25 +0000 (16:39 -0700)]
Remove legacy file format documentation

5 years agoRemove legacy flat-file map code
random-geek [Mon, 21 Oct 2019 21:59:58 +0000 (14:59 -0700)]
Remove legacy flat-file map code