summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-30 14:04:14 +0200
committersfan5 <sfan5@live.de>2021-03-30 14:40:09 +0200
commitf345d00a436b88e6583896065aab237ff12a9d3d (patch)
tree388d33ccff99f3f8a1677bfa0aed5bfad928482d
parent6c9be39db0d8ae2759cc8d6d5c4b952d13cf4f64 (diff)
downloadminetest-f345d00a436b88e6583896065aab237ff12a9d3d.tar.gz
minetest-f345d00a436b88e6583896065aab237ff12a9d3d.tar.bz2
minetest-f345d00a436b88e6583896065aab237ff12a9d3d.zip
Add entry in features table for degrotate changes
-rw-r--r--builtin/game/features.lua1
-rw-r--r--doc/lua_api.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/builtin/game/features.lua b/builtin/game/features.lua
index 36ff1f0b0..8f0604448 100644
--- a/builtin/game/features.lua
+++ b/builtin/game/features.lua
@@ -19,6 +19,7 @@ core.features = {
object_step_has_moveresult = true,
direct_velocity_on_players = true,
use_texture_alpha_string_modes = true,
+ degrotate_240_steps = true,
}
function core.has_feature(arg)
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 8804c9e7f..66363be77 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4397,6 +4397,9 @@ Utilities
direct_velocity_on_players = true,
-- nodedef's use_texture_alpha accepts new string modes (5.4.0)
use_texture_alpha_string_modes = true,
+ -- degrotate param2 rotates in units of 1.5° instead of 2°
+ -- thus changing the range of values from 0-179 to 0-240 (5.5.0)
+ degrotate_240_steps = true,
}
* `minetest.has_feature(arg)`: returns `boolean, missing_features`