sm64coopdx/src/pc/network
Beckowl 03b29489b1
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Add `smlua_text_utils_allocate_dialog` (#896)
* wip

* get rid of seg2_dialog_table and fix crashes

* remove unused include

* change more types to s32

* remove dialog tables from eu_translation.h

* fix dialog_table_get signature

* Change `oToadMessageDialogId` to s32

* remove exit from dialog_table_add

* warning

* calloc allocated dialogs

* avoid memcpy on allocation fail

* Move dialog entry text field init to dialog_table_init

* Free original dialog entries' text field

* Put all reset logic in one place

* Run autogen

* Remove ``get_dialog_text_ascii`` from autogen

* minor fix

* free dialog->str if replaced

* nevermind

* remove get_dialog_unmodified from autogen

* Change -1 to DIALOG_NONE

* update stuff to s32

* use growing array functions

* Change limit to something more reasonable

* add null check

* remove explicit cast

* Minor fixes

* more type fix

* peachy review

* Fix weird enums in autogen

* remove extra newline :p

* add dialog restore

* bump max dialogs just a lil bit 🥺

* add lua behavior params

* all OBJECT fields are now Lua variables

* Revert lua behavior params changes

* isaac review

* fix segfault

---------

Co-authored-by: PeachyPeachSM64 <72323920+PeachyPeachSM64@users.noreply.github.com>
2025-08-03 17:49:45 +02:00
..
coopnet reset coopnet callbacks on shutdown [build] 2025-03-09 14:46:40 +10:00
packets Add `smlua_text_utils_allocate_dialog` (#896) 2025-08-03 17:49:45 +02:00
socket Update sockets and structs for full IPv6 support (#198) 2024-09-01 12:48:24 -04:00
ban_list.c Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
ban_list.h Added chat commands: /kick /ban /permban /players 2022-02-12 15:23:05 -08:00
lag_compensation.c Expose more lag compensation things to Lua 2024-12-01 16:46:05 -05:00
lag_compensation.h Document lag_compensation.h (54.31%) 2024-12-08 18:16:12 -05:00
moderator_list.c Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
moderator_list.h Moderator cleanup 2022-05-09 23:20:07 -07:00
network.c Add Ability to Hide HUD on Act Select Screen (#880) 2025-07-29 11:42:55 +10:00
network.h Add mod development mode (#851) 2025-06-22 19:07:15 +10:00
network_player.c mario object get optimizations (#840) 2025-06-09 20:04:24 +10:00
network_player.h Document more functions! (83%) 2025-04-25 17:03:41 -04:00
network_utils.c Stop the gameplay from advancing a single frame on the pause screen in singleplayer (#596) 2024-12-31 08:01:49 -05:00
network_utils.h Document some more files (69.61%) 2024-12-22 21:53:54 -05:00
sync_object.c Fix warnings and some bugs 2025-07-02 18:49:44 +02:00
sync_object.h Expose sync_object_get_object 2025-05-29 11:31:31 -04:00
version.c Fix macOS compile errors and warnings [build] 2025-05-22 08:48:05 -04:00
version.h Fix 2025-07-17 15:41:55 -04:00