diff --git a/autogen/convert_functions.py b/autogen/convert_functions.py index e9f0a9a3..725e38bd 100644 --- a/autogen/convert_functions.py +++ b/autogen/convert_functions.py @@ -124,7 +124,8 @@ override_disallowed_functions = { } override_hide_functions = { - "smlua_deprecated.h" : [ ".*" ], + "smlua_deprecated.h": [ ".*" ], + "network_player.h": [ "network_player_get_palette_color_channel", "network_player_get_override_palette_color_channel" ] } override_function_version_excludes = { diff --git a/autogen/lua_constants/built-in.lua b/autogen/lua_constants/built-in.lua index cbb4705f..8cb61978 100644 --- a/autogen/lua_constants/built-in.lua +++ b/autogen/lua_constants/built-in.lua @@ -429,11 +429,4 @@ end -- legacy font -- ----------------- -FONT_TINY = -1 - - ----------------------- --- legacy functions -- ----------------------- - -function get_coop_compatibility_enabled() return false end \ No newline at end of file +FONT_TINY = -1 \ No newline at end of file diff --git a/docs/lua/functions-4.md b/docs/lua/functions-4.md index 96ca30d6..a1132b09 100644 --- a/docs/lua/functions-4.md +++ b/docs/lua/functions-4.md @@ -1313,50 +1313,6 @@
-## [network_player_get_override_palette_color_channel](#network_player_get_override_palette_color_channel) - -### Lua Example -`local integerValue = network_player_get_override_palette_color_channel(np, part, index)` - -### Parameters -| Field | Type | -| ----- | ---- | -| np | [NetworkPlayer](structs.md#NetworkPlayer) | -| part | [enum PlayerPart](constants.md#enum-PlayerPart) | -| index | `integer` | - -### Returns -- `integer` - -### C Prototype -`u8 network_player_get_override_palette_color_channel(struct NetworkPlayer *np, enum PlayerPart part, u8 index);` - -[:arrow_up_small:](#) - -
- -## [network_player_get_palette_color_channel](#network_player_get_palette_color_channel) - -### Lua Example -`local integerValue = network_player_get_palette_color_channel(np, part, index)` - -### Parameters -| Field | Type | -| ----- | ---- | -| np | [NetworkPlayer](structs.md#NetworkPlayer) | -| part | [enum PlayerPart](constants.md#enum-PlayerPart) | -| index | `integer` | - -### Returns -- `integer` - -### C Prototype -`u8 network_player_get_palette_color_channel(struct NetworkPlayer *np, enum PlayerPart part, u8 index);` - -[:arrow_up_small:](#) - -
- ## [network_player_is_override_palette_same](#network_player_is_override_palette_same) ### Lua Example diff --git a/docs/lua/functions.md b/docs/lua/functions.md index 69dfcf8a..197bcb92 100644 --- a/docs/lua/functions.md +++ b/docs/lua/functions.md @@ -1201,8 +1201,6 @@ - [get_network_player_smallest_global](functions-4.md#get_network_player_smallest_global) - [network_player_connected_count](functions-4.md#network_player_connected_count) - [network_player_from_global_index](functions-4.md#network_player_from_global_index) - - [network_player_get_override_palette_color_channel](functions-4.md#network_player_get_override_palette_color_channel) - - [network_player_get_palette_color_channel](functions-4.md#network_player_get_palette_color_channel) - [network_player_is_override_palette_same](functions-4.md#network_player_is_override_palette_same) - [network_player_reset_override_palette](functions-4.md#network_player_reset_override_palette) - [network_player_set_description](functions-4.md#network_player_set_description) diff --git a/mods/cheats.lua b/mods/cheats.lua index d92c2de2..dcdb3672 100644 --- a/mods/cheats.lua +++ b/mods/cheats.lua @@ -355,7 +355,6 @@ local function update_cheat(index, value) end end - local sReadonlyMetatable = { __index = function(table, key) return rawget(table, key)