sm64coopdx/autogen
djoslin0 bf3127b3df
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Add bytestring packets for mods to use (#866)
Adds network_send_bytestring(), network_send_bytestring_to(), and
HOOK_ON_PACKET_BYTESTRING_RECEIVE

This is as close to raw bytes as you can get in lua. It allows you
to efficiently pack as much data as possible into each packet.

The existing network_send() was built for ease of use, but is quite
inefficient when you want to send a lot of data. Each number or int
field in the table amounts to 9 bytes for the key and 9 bytes for the
value. (amounting to 18 bytes per value). Whereas with the new method
you can pack that information into 1, 2, 4, or 8 bytes depending on
your type's size.

---------

Co-authored-by: MysterD <myster@d>
2025-06-30 11:24:39 +10:00
..
lua_constants Added math.tween along with common easing functions (#833) 2025-06-24 22:09:17 +02:00
lua_definitions Add bytestring packets for mods to use (#866) 2025-06-30 11:24:39 +10:00
autogen.sh smlua event hooks refactor (#826) 2025-06-09 07:40:48 +10:00
common.py More math improvements (#820) 2025-05-29 02:52:31 +02:00
convert_constants.py Lighting Engine: Awesome Edition 2025-06-29 12:08:04 -04:00
convert_functions.py smlua event hooks refactor (#826) 2025-06-09 07:40:48 +10:00
convert_structs.py Add smlua_text_utils_dialog_get_text and some other dialog functions (#860) 2025-06-28 14:28:28 +02:00
extract_constants.py allow Lua to manipulate displaylists and vertices (#675) 2025-02-27 14:27:55 +10:00
extract_display_lists.py make extract_display_lists.py consistent across platforms 2025-05-10 13:30:06 +10:00
extract_functions.py More Optimizations (#792) 2025-05-16 20:27:49 -04:00
extract_object_fields.py allow Lua to manipulate displaylists and vertices (#675) 2025-02-27 14:27:55 +10:00
extract_structs.py autogen implement structs with name after definition 2025-02-12 18:24:01 +10:00
gen_hooks.py fix HOOK_ON_PACKET_RECEIVE 2025-06-19 17:14:15 +10:00
gen_math.py Fix vec3f bugs (#837) 2025-06-05 19:44:09 +10:00
gen_sound.py Fixed Wario sounds pitch/speed 2022-02-15 00:51:19 -08:00
vec_types.py More math improvements (#820) 2025-05-29 02:52:31 +02:00