Commit graph

2446 commits

Author SHA1 Message Date
MysterD
e391faf574 WIP: start making memory management better 2023-05-12 13:19:10 -07:00
MysterD
3478db9655 Fix more possible crashes 2023-05-12 12:31:11 -07:00
MysterD
cc1ec3e81f Prevented hundreds of additional crashes from the Mod API 2023-05-11 20:33:21 -07:00
Isaac0-dev
fad7984cd4
add djui_open_pause_menu() (#391) 2023-05-11 06:10:25 -04:00
MysterD
82945f9c0f Fix some problems found in static analysis 2023-05-11 02:17:10 -07:00
MysterD
039be71266 Prevent even more possible crashes from the mod api 2023-05-11 01:46:27 -07:00
MysterD
f785050ccb Fix more possible crashes 2023-05-11 00:19:01 -07:00
MysterD
af01a214ee Fix autogen for AnimationTable 2023-05-10 22:29:39 -07:00
MysterD
8ed8fc31d2 Fix another ~200+ crashes that could happen from mods 2023-05-10 21:28:13 -07:00
MysterD
d30b1e61a6 Add a container to animation tables so that we can track their length and stay in bounds 2023-05-10 20:57:35 -07:00
MysterD
e666719baf Rename func_80321080 -> stop_secondary_music 2023-05-10 15:39:15 -07:00
MysterD
b22230db5d Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev 2023-05-10 15:21:00 -07:00
Prince Frizzy
d368e4e844
Name more audio code and variables, Document some others. (#386) 2023-05-10 14:31:58 -07:00
PeachyPeach
52e4bac21a
fixed disable acts (#390) 2023-05-10 17:07:29 -04:00
MysterD
b863cc80c8 Prevent several possible crashes and hangs, limit more struct fields to read-only 2023-05-10 13:25:41 -07:00
PeachyPeach
3ab4c944ac
better kick/punch/trip, gp and flying detection (#388) 2023-05-09 15:38:29 -04:00
MysterD
cb499491f4 Fix crash in network_receive_lua_sync_table 2023-05-07 22:46:00 -07:00
MysterD
34db74660c Fixed crash in cutscene_bowser_arena_end() 2023-05-07 16:02:46 -07:00
MysterD
ae76ad7c00 Fixed crash in uv_update_scroll() 2023-05-07 16:01:41 -07:00
MysterD
8f938e25ca Fixed crash in import_texture_*() 2023-05-07 16:00:52 -07:00
MysterD
0aac200258 Fixed crash in packet_ordered_check_for_processing 2023-05-07 15:56:56 -07:00
MysterD
03a7c1f086 Fix crashes in various obj functions 2023-05-07 15:55:11 -07:00
MysterD
f3e1392a51 Possible config corruption fix 2023-05-07 13:22:08 -07:00
MysterD
8eefbccc81 Make djui_hud_get_screen_width() more readable 2023-05-06 00:16:37 -07:00
Agent X
9901c89a33
Fixed forced 4:3 (#384)
Just reverting a 'fix' to my code someone else made.
2023-05-06 00:13:54 -07:00
MysterD
1ee3fd1d13 Fixed ~240 possible crashes 2023-05-05 23:59:58 -07:00
MysterD
f06a422ff9 Add hack to disable 2cycle if using a texture that doesn't exist 2023-05-05 01:47:42 -07:00
MysterD
352f72a1ac Remove tile checks from gfx_pc 2023-05-04 14:55:18 -07:00
Agent X
febba0e109
Remove printf from gfx_pc.c (#383)
I don't think this is needed anymore
2023-05-04 14:53:05 -07:00
Isaac0-dev
657feb5d7b
fix some crashes and bugs (#381)
- fix crash in bhv_lll_bowser_puzzle_piece_update (thanks to djoslin)
- fix crash in platform_on_track_act_init
- fix chat commands not working on dev builds
- log when the crash handler is called
- if a custom level tries to set an invalid background, change it to BACKGROUND_OCEAN_SKY
2023-05-04 13:26:50 -07:00
MysterD
5a19d84423 Allowed user to override forced camera centering when sliding/flying 2023-05-04 12:55:59 -07:00
MysterD
dde4eb4cb5 Bump version 2023-05-04 12:11:49 -07:00
MysterD
1e8a7c709b Merge branch '2cycle' into dev 2023-05-04 12:09:04 -07:00
MysterD
94b979a98f Cleanup 2cycle stuff 2023-05-04 12:08:53 -07:00
MysterD
7623753e68 Handle shader overflow cases 2023-05-04 11:59:36 -07:00
MysterD
5eae02936b Whoops 2023-05-04 01:43:51 -07:00
MysterD
f82f5149f4 Disable accurate interpolation on 32 bit 2023-05-04 01:29:08 -07:00
MysterD
14e80106c4 Fix 32 bit builds 2023-05-04 01:06:49 -07:00
MysterD
8a7778bbff Increase default resolution by a little bit 2023-05-03 21:42:17 -07:00
MysterD
607590fcaf Add 2cycle/lightmap support to dx12 2023-05-03 21:41:39 -07:00
MysterD
a191884c28 Port 2cycle/lightmap code to dx11 2023-05-03 21:07:22 -07:00
MysterD
ab2cbb2dbc Get GL_LEGACY working again (poorly) 2023-05-03 13:21:34 -07:00
MysterD
0bb7adfd2d Fix crash in bhv_lll_bowser_puzzle_piece_update() 2023-05-03 13:13:11 -07:00
Prince Frizzy
117379eba4
Fix default painting warps. (#380) 2023-05-03 06:26:19 -04:00
MysterD
c711f9f7c9 Actually fix crash in init_mario_after_warp() 2023-05-03 01:38:08 -07:00
MysterD
d60349663e Fixed warnings, changed version/game strings 2023-05-03 01:12:13 -07:00
MysterD
0a4dfd17a4 Re-ran autogen 2023-05-03 01:01:36 -07:00
MysterD
5b108e50e6 Merge branch 'coop' into dev 2023-05-03 01:01:18 -07:00
MysterD
5b5089dece Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-05-03 00:59:27 -07:00
Skeltan
2bd2089ed3
Added Toad default palette + other palette tweaks (#370) 2023-05-03 00:58:19 -07:00
Agent X
52d70e33a5
Expose some painting functions to Lua (#357)
* Expose some painting functions to Lua

get_painting_warp_node
initiate_painting_warp

* Change initiate_painting_warp u8 to s16

In initiate_painting_warp, pass in -1 to not override the painting index.

* Add sanity checks to get_painting_warp_node

* Add requested changes
2023-05-03 00:54:57 -07:00
Prince Frizzy
ee3a7018ab
Adds support for compiling other regions (#378)
* Initial support for compiling with EU.

* Fix EU text.

* JP now compiles, TODO: Fix Autogen to fix JP and fix text in djui.

* audio: Prevent crash in EU.

* audio: Sync EU audio to 60 Hz instead of 50 Hz

* Add logging and remove sanity check to hopefully track EU crash.

* Various improvements for EU

Improve some memory debugging
Improve sound debugging
Initalize some variables in load.c for the sound system
Synchronize the EU cutscenes with the US version.

* Fix credits music playing in EU, Document some EU audio code.

* Autogen now supports version excluded object fields and functions. Reran autogen in accordance.

* Fix some potentional shifting issues due to version differences.

* Decrease the sleep times in some spots, We do not need them to be so long. (#373)

* Add the region to the version string.

---------

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2023-05-03 00:54:25 -07:00
Prince Frizzy
677f4591dc
Multiple Sound Support (#377)
* Initial support for the game playing multiple sounds at once.

* Make better use of our channels and use the remaining channels.
2023-05-03 00:51:27 -07:00
Isaac0-dev
0d42098b4e port crash handler to Linux (#363) 2023-05-01 20:49:24 -07:00
Isaac0-dev
dedf75e87a
port crash handler to Linux (#363) 2023-05-01 19:49:42 -07:00
MysterD
a555a40bcf Fix crash in bhv_mario_update() 2023-05-01 17:03:01 -07:00
MysterD
afe1ff937b Merge branch 'dev' into coop 2023-05-01 01:36:58 -07:00
MysterD
f2cfa19da7 Fixed crash in bhv_wiggler_body_part_update() 2023-05-01 01:34:26 -07:00
MysterD
ca57853d18 Improve logging 2023-04-30 23:33:48 -07:00
MysterD
eca9d77419 Fix crash in init_mario_after_warp() 2023-04-30 23:30:15 -07:00
Marioiscool246
7b4b873d39
Add fov adjustment to djui_hud_world_pos_to_screen_pos (#374)
* Add fov adjustment to djui_hud_world_pos_to_screen_pos
sFOVState is now a global (gFOVState)
djui_hud_world_pos_to_screen_pos now returns false if the position is behind the camera

* Fix aspect ratio parentheses

* Rerun autogen

---------

Co-authored-by: Marioiscool246 <marioiscool101@gmail.com>
2023-04-30 22:54:55 -04:00
Prince Frizzy
9b1123dde9
Decrease the sleep times in some spots, We do not need them to be so long. (#373) 2023-04-30 22:12:37 -04:00
MysterD
57e2795682 Bump version number 2023-04-30 18:29:08 -07:00
MysterD
61e11b1e0f yoink 2023-04-30 18:05:35 -07:00
MysterD
03d2590b3d Merge branch 'dev' into coop 2023-04-30 17:59:54 -07:00
MysterD
d5663f2cb1 Moved dev stuff 2023-04-30 17:58:52 -07:00
MysterD
01d91ff07d Added profiling to more places to make lag easier to track down 2023-04-30 17:39:45 -07:00
MysterD
db939f8efd Fix when compiling without COOPNET 2023-04-29 18:15:41 -07:00
djoslin
242740fbf5 Increase max resend attempts for the initial packet 2023-04-29 00:43:34 -07:00
PeachyPeach
2aa6e1aa08
custom animations no dynos (#371)
Load animations with smlua_anim_util_register_animation and set them with smlua_anim_util_set_animation.
2023-04-28 21:00:17 -07:00
Isaac0-dev
08d31b8255
give mods more control over animations (#369)
* give mods more control over animations

- added HOOK_ON_OBJECT_ANIM_UPDATE
- make some animation values mutable

* add to docs
2023-04-29 01:56:18 +02:00
PeachyPeach
adba0f6de8
Bug fix: level_script_parse (#366)
* Bug fix: level_script_parse

* level_is_vanilla_level
2023-04-29 01:55:29 +02:00
MysterD
61bb4ff439 Sync player knockbackTimer 2023-04-28 13:07:58 -07:00
MysterD
e9ecf7a8f4 Made light maps a little less hacky 2023-04-28 00:22:30 -07:00
MysterD
ba4ed58cfa Hacked lightmaps in 2023-04-27 20:46:22 -07:00
MysterD
d84be97157 Fixed do_multiply optimization 2023-04-27 12:28:39 -07:00
MysterD
e945eb9572 Added an optimization back in 2023-04-27 00:54:02 -07:00
MysterD
36a7e674e2 Added three more combiners 2023-04-27 00:17:04 -07:00
MysterD
08df8a3c17 Support more color combiners 2023-04-26 23:12:22 -07:00
MysterD
9f269ba7dd Detect 2-cycle and when to apply optimizations 2023-04-26 21:05:32 -07:00
MysterD
8840649887 Started adding support for advanced materials (2cycle) 2023-04-26 20:37:25 -07:00
MysterD
d541d626c4 Make sure gfx_update_loaded_texture() stays in bounds 2023-04-26 16:19:53 -07:00
MysterD
c8669e7dd3 Add incomplete support for multi-textures 2023-04-26 14:55:26 -07:00
MysterD
bafd74dca6 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-25 20:27:44 -07:00
MysterD
dd197f2c5e Added MSAA to OpenGL (SDL2)
Fixed text rendering bug where UVs were rounded incorrectly
2023-04-25 20:27:05 -07:00
Isaac0-dev
a56834ad43
Revert "Added support for the game to play multiple of the same sound at once (#361)" (#365)
This reverts commit 6a8cd86293.
2023-04-25 21:57:36 -04:00
Prince Frizzy
6a8cd86293
Added support for the game to play multiple of the same sound at once (#361)
* Initial support for the game playing multiple sounds at once.

* Make better use of our channels and use the remaining channels.
2023-04-25 21:44:23 -04:00
SMS Alfredo
57ceb6543f
Expose o->collidedObjs to Lua via obj_get_collided_object function (#362)
* The function

* Autogen

* Add index parameter
2023-04-25 21:43:07 -04:00
Isaac0-dev
03ddc00525
stop djui_hud_set_render_behind_hud from effecting the main djui (#359)
* stop djui_hud_set_render_behind_hud from effecting the main djui

* use djui_reset_hud_params
2023-04-25 21:42:21 -04:00
MysterD
6ed3c2cc60 Prevent rumbling when other players are swimming 2023-04-24 17:00:29 -07:00
MysterD
f2a8df7728 Made nametags mod interpolate names and health 2023-04-24 16:45:25 -07:00
MysterD
a216b9c2d9 Added download estimate time to join panel 2023-04-24 15:07:12 -07:00
MysterD
d57646ab5f Reset hud color if it was altered 2023-04-24 13:12:12 -07:00
MysterD
97d48d3278 Make sure djui isn't affected by mods that change settings out of HOOK_ON_RENDER 2023-04-24 13:06:36 -07:00
MysterD
2048c8a164 Reset resolution, font, and rotation before and after HOOK_ON_HUD_RENDER 2023-04-24 13:04:46 -07:00
MysterD
8bc8f59883 Fix crash in spawn_star_number() 2023-04-24 12:57:45 -07:00
MysterD
1b8baecaf9 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-24 12:54:51 -07:00
MysterD
c095dcadc4 Make invalid model numbers use error model 2023-04-24 12:54:43 -07:00
MysterD
1f11cf00d2 Make permanent vanilla models use their vanilla slot 2023-04-24 12:52:44 -07:00
Blockyyy
0efd9ef21a
Recovery Heart (#360)
changes nearest_mario_state_to_object to nearest_interacting_mario_state_to_object
2023-04-24 07:15:29 -04:00
PeachyPeach
fe934ffe82
djui_hud_set_rotation (#356)
* djui_hud_set_rotation

* some goddard textures
2023-04-24 06:34:21 -04:00
MysterD
59453c6165 Notify the user when the language folder could not be read 2023-04-24 02:10:40 -07:00
MysterD
17efa994da Fixed crash in bhv_chain_chomp_gate_update() 2023-04-24 01:18:33 -07:00
MysterD
5cf9a835af Fixed crash in get_object_list_from_behavior() 2023-04-24 01:17:46 -07:00
MysterD
5113e9e99c Fixed crash in djui_gfx_render_texture_tile() 2023-04-24 01:16:54 -07:00
MysterD
07324c5396 Clarify dynos usage message 2023-04-24 01:02:44 -07:00
MysterD
c1e33f5e70 Doubled extended model id size, avoided using vanilla object slots 2023-04-24 01:01:50 -07:00
PeachyPeach
df248e5139
Adding hazardType to HOOK_ALLOW_HAZARD_SURFACE; more loading info (#355) 2023-04-23 12:11:56 -04:00
Isaac0-dev
1e8dfa66fd
stop trapping cursor in window leaving fullscreen (#353) 2023-04-23 12:10:43 -04:00
Isaac0-dev
e44a3c775d
allow players to change paginated pages with L/R (#354) 2023-04-23 12:10:30 -04:00
MysterD
b674304ddd Correct off-by-one error in paginated display count 2023-04-22 17:46:22 -07:00
MysterD
865d17b512 Adjusted kerning 2023-04-22 02:44:19 -07:00
MysterD
afe7e28fb3 Fix djui interactable crash when they get destroyed 2023-04-22 02:12:03 -07:00
MysterD
619eba7527 Fixed crash in geo_switch_mario_cap_on_off() 2023-04-22 01:53:04 -07:00
MysterD
e212a111dd Piranha plant music only plays if local player is nearby 2023-04-22 01:51:12 -07:00
MysterD
7f2c6d86c2 Prevent custom audio sequences from filling up all available memory 2023-04-22 01:47:24 -07:00
MysterD
eb413b5777 Fix osPiStartDma() crash - force sound entries to stay in bounds 2023-04-22 01:30:41 -07:00
MysterD
c6f33966b4 Fix DirectX memory leak (thanks integerbang) 2023-04-21 22:53:32 -07:00
MysterD
511434a9e9 Clear all interp variables when processing root (may fix various displaylist corruption crashes) 2023-04-20 21:56:37 -07:00
MysterD
43e63b854b Fixed crash in note_pool_clear() 2023-04-20 21:43:42 -07:00
MysterD
9836937eb1 Fixed crash in get_mario_spawn_type() 2023-04-20 21:40:35 -07:00
MysterD
230ba17c8d Fixed crash in init_mario_after_warp() 2023-04-20 21:37:22 -07:00
MysterD
e31a616103 Fixed crash in bhv_chain_chomp_chain_part_update() 2023-04-20 21:30:46 -07:00
MysterD
370ab9894b Fixed text rendering again 2023-04-20 20:57:09 -07:00
MysterD
13cfebca7a Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-20 20:54:28 -07:00
MysterD
030e2d68d6 Added cyrillic to normal/tiny fonts 2023-04-20 20:54:19 -07:00
PeachyPeach
8311116cdf
obj_init_animation_with_accel_and_sound + fix collision_find_surface_on_ray parameter names (#352) 2023-04-20 19:43:37 -04:00
MysterD
509c82fcd5 Made font-normal kerning consistent 2023-04-20 12:58:17 -07:00
MysterD
737b790869 Fixed some text rendering issues 2023-04-20 12:41:34 -07:00
MysterD
f80e63e8f6 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-20 11:21:24 -07:00
MysterD
ab932c5eb9 Remove old code that tracked 'patches' 2023-04-20 11:21:15 -07:00
Agent X
92da90bf3f
Remove Share Lives (#351)
it's a leftover from the very early betas, it isn't needed and isn't even fully functional anyway.
Also potentially fixed mario_get_floor_class crash
2023-04-20 07:02:00 -04:00
MysterD
c71d3c564f Re-ran autogen 2023-04-20 01:28:42 -07:00
Isaac0-dev
bc7909c392
allow interact type to be 0 in hook_mario_action (#350)
* allow interact type to be 0 in hook_mario_action
2023-04-20 01:28:23 -07:00
MysterD
491a69549c Restore old version code 2023-04-20 00:51:34 -07:00
MysterD
2f59d29f95 Fix crash in pole_base_loop() 2023-04-20 00:26:17 -07:00
MysterD
4b8c40c734 Fix some audio corruption 2023-04-20 00:20:31 -07:00
MysterD
98c78a9470 Merge branch 'coopnet' into coop 2023-04-19 00:23:37 -07:00
MysterD
4b7b71e271 Change ordered packet information to u16, prevent clearing ordered packets during join 2023-04-18 23:50:11 -07:00
MysterD
bb924bd533 Fix warning 2023-04-18 23:13:28 -07:00
MysterD
0f71de2332 Increase np timeout, amount of rx seq ids, and don't clear ordered packets on connected 2023-04-18 21:47:19 -07:00
MysterD
857509d60e Enable more logs for debugging 2023-04-18 21:03:31 -07:00
MysterD
dd0060612a Another attempt at connection issue fix 2023-04-18 20:45:33 -07:00
MysterD
1c0963ba90 Test fix 2023-04-18 20:09:52 -07:00
MysterD
cea235648d Fix bug where you sometimes couldn't type to change player name 2023-04-18 12:40:51 -07:00
MysterD
c2eac34c4c DJUI paginated element fixes 2023-04-18 12:12:31 -07:00
PeachyPeach
999ea1dd42
Expose globally custom behaviors defined with hook_behavior (#345)
* Expose globally custom behaviors defined with hook_behavior; macros for mod strings max length

* fixes

* made customBehaviorIndex a mod field to be more relevant
2023-04-17 21:54:55 -07:00
MysterD
226d64aa85 Whoops 2023-04-17 21:03:30 -07:00
MysterD
fd9c59f0d9 Improve peer failure notification 2023-04-17 20:58:57 -07:00
MysterD
af04df0f26 Add peering failure notification 2023-04-17 20:54:40 -07:00
MysterD
f4ab060a05 Clear credits flags on network shutdown 2023-04-17 17:59:29 -07:00
MysterD
a93a9588f7 Disable discord error popups 2023-04-17 17:56:06 -07:00
MysterD
5b6888b378 Notify of coopnet incompatibility 2023-04-17 17:17:55 -07:00
MysterD
9d7e7b8b69 Refactor version stuff a bit 2023-04-17 16:54:30 -07:00
MysterD
42276e0efd Add lobby descriptions 2023-04-17 16:34:56 -07:00
MysterD
36b9dc57fc Merge branch 'coop' into coopnet 2023-04-17 15:51:06 -07:00
MysterD
1b46f90588 Use up all of the discord activity space for mods, list them more intelligently 2023-04-17 14:43:22 -07:00
MysterD
633faa793f Only allow clients to send discord invites of public lobbies 2023-04-16 22:03:46 -07:00
MysterD
0d177bde46 Fix joining a discord invite while already in game 2023-04-16 21:04:11 -07:00
MysterD
ee0e1dce44 Fix discord lobby joining 2023-04-16 20:48:19 -07:00
Isaac0-dev
df4226fdd7
clean up paginated, and fix a bug (#348)
fix bug where text would show when there is only 1 page
2023-04-16 23:10:45 -04:00
Agent X
bef63c3cd1
Forced 4:3 (#346)
Turn on forced 4:3 in Options -> Display
Forced 4:3 activates in-game and doesn't affect the pause menu but does apply to the game's viewport and mods using DJUI
I've made complete sure this is mod compatible with both RESOLUTION_N64 as well as RESOLUTION_DJUI

Also fixed a small discrepancy with how object count text was rendered on the crash screen.
2023-04-16 23:10:09 -04:00
MysterD
5337f206f0 Update lobby info on rehost 2023-04-16 19:36:27 -07:00
MysterD
0cf453f347 Make password inputboxes display '#'s 2023-04-16 18:43:07 -07:00
MysterD
ea4e335389 Restored how player packets are sent, they're compressed elsewhere 2023-04-16 18:21:54 -07:00
MysterD
9b71c30661 Compressed all game packets 2023-04-16 18:18:18 -07:00
MysterD
4dec136324 Added error handling for coopnet 2023-04-16 16:06:30 -07:00
MysterD
85c93481ae Do not display the socket page when hosting on coopnet 2023-04-16 15:10:21 -07:00
MysterD
bc0bd0a77d Compressed and reduced rate of Player packets
Now player packets are only sent immediately if their inputs or actions changed.
Otherwise, it waits a bit before sending out another one
2023-04-16 02:29:59 -07:00
MysterD
d63e65cd4a Actually fix discord crash 2023-04-15 23:43:51 -07:00
MysterD
cd1a91a74c Fix discord crash 2023-04-15 23:34:54 -07:00
MysterD
ddb15c0ca3 Test 2023-04-15 22:25:58 -07:00
MysterD
0e7b86017e Restore functionality of network_discord_id_from_local_index(0) 2023-04-15 21:09:26 -07:00
MysterD
e8d9ef247f Set default coopnet ip 2023-04-15 20:40:29 -07:00
MysterD
fd97b78b27 Fix case when joining discord lobby without a password 2023-04-15 20:27:28 -07:00
MysterD
8477a285a9 Clear discord party id and secrets when not in-game 2023-04-15 20:18:20 -07:00
MysterD
4dfcfb3b68 Attempt to enable discord invites 2023-04-15 20:12:06 -07:00
MysterD
dbd12976c8 Change how discord secrets are sent 2023-04-15 20:05:04 -07:00
MysterD
4566b7ee14 Ripped out discord network system, started re-adding invites 2023-04-15 19:53:34 -07:00
MysterD
8e2cd25617 Made it so changing server settings works in CoopNet 2023-04-15 15:54:44 -07:00
MysterD
875cde68e1 Added ability to set lobby password 2023-04-15 15:11:39 -07:00
MysterD
e676979630 Fix bug where replies to unknown players went to the wrong place 2023-04-15 01:16:59 -07:00
MysterD
787a5331c8 Increased starting ping 2023-04-15 00:33:56 -07:00
MysterD
4b7bb73232 Made banning work on CoopNet 2023-04-14 22:06:56 -07:00
MysterD
a1c218f9fc Added messages to lobby list when no lobbies found, or coopnet connection fails 2023-04-14 19:58:36 -07:00
MysterD
6a577d691f Make lobby hosting detect the largest mod by lua size 2023-04-14 11:59:35 -07:00
MysterD
b1aace4f04 Made version mismatch lobbies more obvious 2023-04-14 11:25:45 -07:00
MysterD
f99b5c05bb Fix how languages detect the lang file path 2023-04-14 11:04:22 -07:00
MysterD
6c7e7778d1 Merge branch 'coop' into coopnet 2023-04-14 10:53:58 -07:00
MysterD
a6d98d3103 Make sure coopnet always sets callbacks 2023-04-13 23:39:00 -07:00
MysterD
29a8c391bb Make coopnet IP and Port configurable (Isaac) 2023-04-13 22:58:58 -07:00
MysterD
0e1cda1b91 Ran autogen 2023-04-13 22:39:42 -07:00
MysterD
7d3bfa78e6 Bumped version 2023-04-13 22:39:25 -07:00
MysterD
694ba4b273 Fixed crash in void geo_process_node_and_siblings() 2023-04-13 22:38:32 -07:00
MysterD
01c379d50d Fixed crash in network_send_spawn_objects_to() 2023-04-13 22:36:47 -07:00
MysterD
fadb568519 Fixed crash in reset_camera() 2023-04-13 22:32:18 -07:00
MysterD
3a807bee06 Fixed crash in network_receive_lua_custom() 2023-04-13 22:29:10 -07:00
MysterD
e914a4e2c4 Increased max lag compensation to 1s 2023-04-13 22:23:56 -07:00
MysterD
cd347b80ee Clear interaction's invulnerable flag after each player has been processed 2023-04-13 22:17:01 -07:00
MysterD
d66c7190f6 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-13 21:35:08 -07:00
Isaac0-dev
b206b75d7e
improve djui paginated panels and fix some typos (#347)
* improve djui paginated panels and fix some typos

* naming
2023-04-13 21:33:34 -07:00
MysterD
3f38c740d8 Add lobby refresh button 2023-04-13 18:27:18 -07:00
MysterD
fe2bb479ca Added menus for public and private lobbies 2023-04-11 21:38:17 -07:00
MysterD
a9bebc882c Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-11 20:07:12 -07:00
MysterD
0e7bbd2da6 Add single-lua-file mods to mod cache 2023-04-11 20:07:09 -07:00
Agent X
70de5d26af
Flying triple jump off players if wing cap (#344) 2023-04-11 18:41:41 -04:00
MysterD
de9e5f8550 Fixed crash in smlua_set_sync_table_field_from_network() 2023-04-11 15:02:51 -07:00
MysterD
1406f15995 Make sure lag_compensation_get_local_state() always returns a MarioState 2023-04-11 14:53:04 -07:00
MysterD
3825026faa Made cur_obj_call_action_function safer 2023-04-11 14:40:24 -07:00
Agent X
aba6483e5e
Hopefully fix passes_pvp_interaction_checks crash (#343)
* Hopefully fix passes_pvp_interaction_checks crash
* Hopefully fix cur_obj_call_action_function crash
2023-04-11 14:32:47 -07:00
MysterD
3b0e650dda Use the correct resolution for djui hud interpolation 2023-04-11 14:26:42 -07:00
MysterD
4d3e150e2d Fixed coopnet disconnect, separated coopnet_id, started adding password stuff 2023-04-11 14:07:58 -07:00
MysterD
ba338ec2dd Fix warnings, add Makefile logic for coopnet in other OS 2023-04-10 19:45:06 -07:00
MysterD
1027fdc361 WIP: lobby browser 2023-04-10 19:40:48 -07:00
MysterD
9a49ff95c7 Fixed graphical corruption when text renders offscreen 2023-04-10 19:03:34 -07:00
MysterD
41b226f9a7 Fixed crash in mod_clear() 2023-04-10 17:53:28 -07:00
MysterD
9ffd99473d Fix crash in is_anim_past_frame() 2023-04-10 17:50:57 -07:00
MysterD
03c172fa9e Crash fix for discord_activity_update() 2023-04-10 17:48:56 -07:00
MysterD
2d01367cf6 Possible crash fix for osPiStartDma() 2023-04-10 17:46:45 -07:00
MysterD
6f7b7e65ca Possible crash fix for network_receive_download() 2023-04-10 17:45:43 -07:00
MysterD
3fd8d74dc1 Fixed crash in cur_obj_follow_path 2023-04-10 17:41:51 -07:00
MysterD
69703ac29b Erase and recreate lua directories on import 2023-04-10 15:28:47 -07:00
MysterD
c1c12feb8f Cleanup zip file in more failure scenarios 2023-04-10 14:59:29 -07:00
PeachyPeach
892e48d3da
level_script_parse now calls the callback for objects with custom behaviors (#342) 2023-04-10 14:37:25 -07:00
Agent X
265a3c6b03
Hopefully fix 3 crashes (#341)
* Hopefully fix 3 crashes
2023-04-10 10:31:45 -07:00
MysterD
7fac22c265 Basic lobby browser 2023-04-10 01:10:24 -07:00
MysterD
b79db3b203 Add coopnet defines 2023-04-09 23:45:52 -07:00
MysterD
2e854cda60 Merge branch 'coop' into coopnet 2023-04-09 22:52:35 -07:00
MysterD
0aab42a27e Quick fix - create dynos/mods directories if they don't exist 2023-04-09 18:53:32 -07:00
MysterD
ea4a4b7d45 Made mod description panel appear behind mod selection panel 2023-04-09 17:55:29 -07:00
MysterD
54d0c03d46 Update discord activity when rehosting 2023-04-09 17:46:53 -07:00
MysterD
52eba1990b Revert some small text rendering optimizations so that mods still render correctly 2023-04-09 17:40:41 -07:00
MysterD
2b5dea60b0 Fix selectionbox crash when out of range 2023-04-09 17:25:45 -07:00
MysterD
04032a14af Started adding CoopNet 2023-04-09 17:20:07 -07:00
Prince Frizzy
f010caeb4b
Fix for djui_panel_find_first_interactable returning garbage if the loop aborts. (#339) 2023-04-09 07:52:02 -04:00
Isaac0-dev
f7a3e5f0a6
add a way for Lua mods to detect what OS coop is running on (#338)
* patch for beta 32

* bump version

* fix lakitu cam duplication hopefully

* add a way for Lua mods to see what OS its running on
2023-04-08 19:52:16 -04:00
MysterD
2f4008f9c9 Fixed compiling with DISCORD_SDK=0 2023-04-04 16:22:07 -07:00
MysterD
6f7d783602 Preventing spamming of join packets when the ping is high 2023-04-04 00:34:54 -07:00
MysterD
e7ebce5207 Removed lag compensation functions that shouldn't be added to the Lua API 2023-04-03 21:56:52 -07:00
MysterD
4d545fd2ca Fix zip file extraction error 2023-04-03 21:09:15 -07:00
MysterD
c437b386f6 Add drag & drop to DirectX versions 2023-04-03 20:36:29 -07:00
MysterD
4578b4e71f Added new spanish strings 2023-04-03 19:32:34 -07:00
MysterD
9c6fef9ecd Allowed Drag & Drop importing of mods and DynOS packs 2023-04-03 19:22:22 -07:00
MysterD
0d21c66037 Restore vanilla angle checks for kick/pick 2023-04-03 15:23:10 -07:00
MysterD
fce88728d2 Improve lag compensation 2023-04-03 13:55:03 -07:00
MysterD
01b2cc2997 Fix incorrect font rendering offset 2023-04-02 23:06:06 -07:00
MysterD
192d47aea0 Added FONT_TINY 2023-04-02 23:02:14 -07:00
MysterD
dcd1bc7aa8 Made rejoining popup only show up once per rejoin 2023-04-02 22:28:34 -07:00
MysterD
4328c00299 Increase rainbow buffer size 2023-04-02 22:20:04 -07:00
MysterD
5406593660 Fixed player smoke particle flags 2023-04-02 22:11:16 -07:00