Commit graph

2745 commits

Author SHA1 Message Date
Isaac0-dev
a8bc754820 reset coopnet callbacks on shutdown [build]
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
fixes "Lost connection to CoopNet!" error
2025-03-09 14:46:40 +10:00
Isaac0-dev
a583814ef9 testing actions 2025-03-08 20:12:53 +10:00
Isaac0-dev
0810f01396 no longer need a rom to compile the game
the files:
- sound_data_compressed.ctl
- sound_data_compressed.tbl
- sequences_compressed.bin
are now added as files that are generated by assemble_sound.py, they're compressed, and are decompressed at compile time.
rom assets have been removed from these files, so they are now just metadata for loading the sounds that are extracted at runtime.
2025-03-08 12:43:29 +10:00
Isaac0-dev
99b8f31900 init mario from save file on network shutdown 2025-03-06 17:33:17 +10:00
Isaac0-dev
0876d161e0 better level_script_parse
implemented all fields of the currently supported level commands:
- object model, position and angles
- macro model
2025-03-05 00:07:33 +10:00
Isaac0-dev
2fca847499 bring back skip_pack_generation 2025-03-04 17:13:00 +10:00
Isaac0-dev
d6e243c4a7 add obj_get_model_id_extended, remember regular model ids 2025-03-04 15:09:09 +10:00
Isaac0-dev
0695a532b7 add missing sanity depth checking to obj getters 2025-03-04 14:28:07 +10:00
Isaac0-dev
46a12cef9b avoid pushing objects that are despawned 2025-03-04 09:16:43 +10:00
Isaac0-dev
d6ce716809 smlua reduce key collisions and sanity check them 2025-02-27 15:43:26 +10:00
Isaac0-dev
f238b3d0f5
allow Lua to manipulate displaylists and vertices (#675)
Co-authored-by: ManIsCat2 <137772623+ManIsCat2@users.noreply.github.com>
2025-02-27 14:27:55 +10:00
Isaac0-dev
a457f48959 remove some whitespace in gSmluaConstants 2025-02-24 19:55:43 +10:00
xLuigiGamerx
935f871930
Added xOffset and yOffset to the DjuiFont struct to align the custom hud fonts (#652) 2025-02-23 07:58:45 +10:00
Isaac0-dev
2ec4b5e53c set_find_wall_direction 2025-02-22 11:54:07 +10:00
Isaac0-dev
077bbc4d54 fix warnings
😔
2025-02-22 09:05:40 +10:00
Isaac0-dev
6ff4424f08 check names on player connect 2025-02-21 11:33:49 +10:00
Isaac0-dev
215056b1d2 more escape character checking 2025-02-21 11:03:48 +10:00
Isaac0-dev
a1f96a97fa prevent only escape characters 2025-02-21 10:35:30 +10:00
Isaac0-dev
c3c4ba6b0a check for even number of escape characters
to allow colored names, while preventing invalid escape characters
2025-02-21 10:13:00 +10:00
Isaac0-dev
6ddb7388cc don't allow escape characters in names 2025-02-21 09:47:52 +10:00
Isaac0-dev
d71ef89dbb add help in cobject arrays for 0 indexed accesses
in case people try to access the array starting at 0
2025-02-21 09:37:57 +10:00
Isaac0-dev
ef3c38ddd6 allow getting lot and pointer from cobject arrays 2025-02-18 17:25:42 +10:00
Isaac0-dev
22f63c9e05 fix cobject arrays: implement setting fields 2025-02-18 15:09:22 +10:00
Isaac0-dev
d121050be9 incremental garbage collection to combat lag 2025-02-18 15:00:33 +10:00
Agent X
abf818b90e Boy what the hell (unbreak mods and DynOS packs)
They dug me out of my grave and told me `configSkipPackGeneration`. My heart sank.
This feature would have been fine if it was off by default and if it wasn't then people caught it before the version was officially released and the option was promptly disabled without a massive pool of people having this option turned on by default.
So I will say, Coolio wasn't really in the wrong by adding this, it should have never been changed to be on by default.
2025-02-14 18:42:41 -05:00
Isaac0-dev
39ab128da6 bump internal version 2025-02-15 09:24:46 +10:00
Isaac0-dev
e0ee642f4a fix player name valid checks 2025-02-15 08:09:14 +10:00
Isaac0-dev
cd5b5f9934 bump version 2025-02-15 08:08:41 +10:00
Isaac0-dev
ff09a2d724 fixed custom object fields 2025-02-14 23:04:23 +10:00
Isaac0-dev
811e60f7cf fixed custom model alloc again 2025-02-14 22:50:57 +10:00
Isaac0-dev
b1b5b93dcc remove some dangerous functions 2025-02-13 22:33:34 +10:00
Isaac0-dev
a0ad607b4e fix dynamic custom model alloc 2025-02-13 13:17:10 +10:00
Isaac0-dev
e9c6368210 silence some errors that were for debug purposes 2025-02-13 13:00:30 +10:00
Isaac0-dev
4d063faf27 revert perfect hashing attempt
was implemented wrong anyway
2025-02-13 12:59:14 +10:00
Prince Frizzy
cfbd0b1025
Add Dynamic Custom Model Allocation (#642) 2025-02-13 12:58:29 +10:00
Isaac0-dev
5598faf7e3 experimental: add perfect hashing for faster smlua lookups 2025-02-12 23:44:54 +10:00
Isaac0-dev
2a6cb5c842 fix some issues with mario object pointers 2025-02-12 22:20:57 +10:00
Isaac0-dev
29cd4d5e59 autogen fix compile 2025-02-12 18:56:00 +10:00
Isaac0-dev
5a2e060c2d autogen implement structs with name after definition 2025-02-12 18:24:01 +10:00
Isaac0-dev
bb768ef55b autogen fix integer type detection 2025-02-12 17:46:24 +10:00
Isaac0-dev
ff83d6a037 autogen array implementation
arrays are pushed to Lua via tables
2025-02-12 17:38:38 +10:00
Isaac0-dev
9a13c298ad added HOOK_ON_INTERACTIONS
this is called after mario's interactions are processed
2025-02-11 17:58:57 +10:00
Isaac0-dev
2526109484 render R button prompt in pause menu behind mods 2025-02-11 07:58:45 +10:00
Isaac0-dev
6150b2722f fix modular overflow/underflow in djui_hud_set_rotation_interpolated 2025-02-11 07:04:34 +10:00
Isaac0-dev
d53d20c11c HOOK_ON_DIALOG fixes, expose set_dialog_box_state 2025-02-10 18:31:59 +10:00
Isaac0-dev
932c36ffb3 bump version 2025-02-10 15:05:59 +10:00
Isaac0-dev
93f7ad4c13 fixed rotation interp logic 2025-02-10 14:58:19 +10:00
Isaac0-dev
91f42e84dc fix a typo 2025-02-10 07:54:46 +10:00
Isaac0-dev
7fb3d3de89 run autogen 2025-02-07 10:10:37 +10:00
Isaac0-dev
4bee63a251 make this default to benefit casual users 2025-02-06 16:10:47 +10:00