mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Add entry in features table for degrotate changes
This commit is contained in:
parent
6c9be39db0
commit
f345d00a43
@ -19,6 +19,7 @@ core.features = {
|
|||||||
object_step_has_moveresult = true,
|
object_step_has_moveresult = true,
|
||||||
direct_velocity_on_players = true,
|
direct_velocity_on_players = true,
|
||||||
use_texture_alpha_string_modes = true,
|
use_texture_alpha_string_modes = true,
|
||||||
|
degrotate_240_steps = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
function core.has_feature(arg)
|
function core.has_feature(arg)
|
||||||
|
@ -4397,6 +4397,9 @@ Utilities
|
|||||||
direct_velocity_on_players = true,
|
direct_velocity_on_players = true,
|
||||||
-- nodedef's use_texture_alpha accepts new string modes (5.4.0)
|
-- nodedef's use_texture_alpha accepts new string modes (5.4.0)
|
||||||
use_texture_alpha_string_modes = true,
|
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`
|
* `minetest.has_feature(arg)`: returns `boolean, missing_features`
|
||||||
|
Loading…
Reference in New Issue
Block a user