Add TurkeyMcMac as a co-author

Co-authored-by: TurkeyMcMac <jwmhjwmh@gmail.com>
This commit is contained in:
crispiebacon 2024-09-18 14:47:57 -07:00
parent 2b853e5e74
commit 3856f87151
3 changed files with 6 additions and 6 deletions

View File

@ -5487,6 +5487,9 @@ Utilities
mod_storage_on_disk = true,
-- "zstd" method for compress/decompress (5.7.0)
compress_zstd = true,
-- The upper four bits of liquid node param2 values are preserved
-- during liquid flow (5.10.0)
preserve_liquid_param2 = true,
-- Sound parameter tables support start_time (5.8.0)
sound_params_start_time = true,
-- New fields for set_physics_override: speed_climb, speed_crouch,
@ -5526,9 +5529,6 @@ Utilities
override_item_remove_fields = true,
-- The predefined hotbar is a Lua HUD element of type `hotbar` (5.10.0)
hotbar_hud_element = true,
-- The upper four bits of liquid node param2 values are preserved
-- during liquid flow (5.10.0)
preserve_liquid_param2 = true,
}
```
@ -9515,7 +9515,7 @@ Used by `minetest.register_node`.
post_effect_color = "#00000000",
-- Screen tint if a player is inside this node, see `ColorSpec`.
-- Color is alpha-blended over the screen.
post_effect_use_node_color = false,
-- If true, the specific node's coloration (with param2 etc.) will be
-- applied to the post effect color as it is applied to the node itself.

View File

@ -690,7 +690,7 @@ void ContentFeatures::deSerialize(std::istream &is, u16 protocol_version)
if (is.eof())
throw SerializationError("");
post_effect_color_shaded = tmp;
tmp = readU8(is);
if (is.eof())
throw SerializationError("");

View File

@ -791,7 +791,7 @@ void read_content_features(lua_State *L, ContentFeatures &f, int index)
lua_getfield(L, index, "post_effect_color");
read_color(L, -1, &f.post_effect_color);
lua_pop(L, 1);
getboolfield(L, index, "post_effect_use_node_color", f.post_effect_use_node_color);
getboolfield(L, index, "post_effect_color_shaded", f.post_effect_color_shaded);