Commit graph

2701 commits

Author SHA1 Message Date
Agent X
5fd6d685d7 Only call WAPI.delay if no network launch args 2023-11-17 19:47:07 -05:00
Agent X
d9a59aa0ed Merge branch 'main' of https://github.com/coop-deluxe/sm64coopdx-rebase 2023-11-17 18:32:14 -05:00
Blockyyy
c2c846f650 Expose lvl_set_current_level (#513)
* Expose Initiate_warp

exposed initiate_warp function
exposed WARP_NODE_ constants

* expose lvl_set_current_level

* remove initiate_warp
2023-11-17 18:29:37 -05:00
defacube
5767ae985f Fix going OOB sometimes crashing the game (#517)
* Fixed going OOB sometimes crashing the game

* Avoid nested if statements

* Update camera.c

---------

Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2023-11-17 18:27:54 -05:00
SharenTheCat
5b72836c15 Modify Mario's head and torso rotation outside of specific cases
Adds "m.marioBodyState.allowPartRotation", which when set to 1, will make "m.marioBodyState.headAngle" and "m.marioBodyStates.torsoAngle" actually change where Mario's head and torso face outside of very specific cases (like running, or being underwater).
2023-11-16 23:01:18 -03:00
Agent X
1cb69df30f Revert DJUI button height change 2023-11-16 17:43:57 -05:00
FluffaMario
7764597a6e Almost forgot this, whoops! 2023-11-15 19:06:37 -06:00
Agent X
345bf8af50 Expand DJUI elements a little so text fits better 2023-11-14 21:50:35 -05:00
Agent X
dd3b39739e Continue making DJUI text use DCDCDC instead of C8C8C8 for consistency 2023-11-14 21:49:41 -05:00
David Joslin
2ac0c9079d Fix allowing any layer in the mirror 2023-11-14 20:41:26 -05:00
David Joslin
d9829fac08 Add support for any layer in mirror 2023-11-14 20:41:23 -05:00
Blockyyy
5d39741be1 Delete star flags (#501)
* Expose save_file_remove_star_flags

* new packet

added a new packet type and two new functions

* oops

* create packet_save_remove_flag.c

move the new network functions to a new file

* Switch u32 to u8

Switched courseStarsToRemove from u32
 to u8 for consistency

* fixed the function

-Fixed empty save file marked as existing
-Fixed SAVE_FILE_EXISTS flag being deleted
-Fixed removing ALL flags from the remote saves
2023-11-14 20:40:34 -05:00
Agent X
8eb0babc07 Fix my bug in common_air_action_step 2023-11-14 17:55:52 -05:00
FluffaMario
ab4b797ff8 Updated Mario, Added code for mirror culling. 2023-11-14 00:34:13 -06:00
Agent X
3a55baa6a8 Allow First Person in credits 2023-11-13 19:11:18 -05:00
Agent X
8110c83891 File Select Theme 2023-11-13 12:16:49 -05:00
Agent X
b6d1a8a706 Bouncy Level Bounds server option 2023-11-13 08:27:20 -05:00
eros71-dev
ff17fa4a67 Add ON_COLLIDE_LEVEL_BOUNDS hook
Called whenever Mario hits the level boundaries "wall"
2023-11-12 19:28:38 +01:00
Agent X
caf2f3233c ACTUALLY fix free cam offset + other fixes 2023-11-12 12:42:39 -05:00
Agent X
4df5037399 April Fools 2023-11-12 09:59:04 -05:00
Agent X
5b306b2a17 Fix free cam being offset by instant warps 2023-11-12 09:53:27 -05:00
Agent X
ce987ef3dd Add first person functions to Lua 2023-11-12 09:53:08 -05:00
Agent X
ac24f5878e Consistent word casing in info panel 2023-11-11 21:03:29 -05:00
Agent X
e79775aea4 Improve first person and add gFirstPersonCamera 2023-11-11 16:49:46 -05:00
Agent X
ae22eaac98 Add "-- deluxe:" field to mods 2023-11-11 14:16:27 -05:00
Agent X
11864d9018 Establish sm64coopdx versioning 2023-11-11 13:02:23 -05:00
Agent X
281efe57fe Fix autogen convert constants 2023-11-11 12:35:32 -05:00
Agent X
802affd839 ENHANCE_LEVEL_TEXTURES and make all DynOS textures overridable in Lua 2023-11-11 12:15:32 -05:00
Agent X
140d50ebb2 Misc fixes and cleanup 2023-11-10 19:12:21 -05:00
David Joslin
8e5ffe9467 Fixed crash in obj_is_in_view() 2023-11-09 17:18:04 -05:00
Agent X
3227d17266 Change how console scaling works 2023-11-09 16:56:33 -05:00
eros71-dev
ff79711fb8 Fix djui_panel_host_settings.c includes
Added the missing pc/pc_main.h include that prevented it from compiling because of the "undeclared" gCoopCompatibility
2023-11-09 17:46:08 +01:00
David Joslin
732c646d0c Cleanup from Isaac 2023-11-08 20:03:46 -05:00
David Joslin
e8e22197a8 Made console scale to window height 2023-11-08 20:03:44 -05:00
David Joslin
17e5a81dde Fix crash in djui_inputbox_on_text_input() 2023-11-08 19:58:32 -05:00
David Joslin
c6be02e042 Fixed crash in djui_panel_join_lobbies_create() 2023-11-08 19:58:32 -05:00
David Joslin
7e7f6067a9 Fixed crash in uv_update_scroll() 2023-11-08 19:58:32 -05:00
David Joslin
4fcc1ac26c Fix crash in build_synthetic_wave() 2023-11-08 19:58:32 -05:00
David Joslin
66a1dd36ae Fixed crash in ordered packets 2023-11-08 19:58:32 -05:00
David Joslin
d824e77cf5 Fixed crash in generate_parent_id() 2023-11-08 19:58:32 -05:00
David Joslin
c63ac1655d Fix crash in network_send_to() 2023-11-08 19:58:31 -05:00
David Joslin
36ebb8affe Fix crash in move_into_c_up() 2023-11-08 19:58:29 -05:00
David Joslin
d25ae5a130 Fix crash in init_level() 2023-11-08 19:55:31 -05:00
David Joslin
61fa9faf2e Remove tas controller 2023-11-08 19:55:31 -05:00
David Joslin
d0e6b7a1f6 Fixed crash in djui_unicode_get_base_char() 2023-11-08 19:55:31 -05:00
David Joslin
522d7c0373 Fixed crash in import_texture_*() 2023-11-08 19:55:31 -05:00
David Joslin
9b23b7dab4 Fixed crash in act_dile() 2023-11-08 19:55:31 -05:00
David Joslin
c7edf85ad9 Fix crash in tox_box_move() 2023-11-08 19:55:28 -05:00
David Joslin
6378681e96 Fixed crash in find_mario_floor_and_ceil() 2023-11-08 19:53:36 -05:00
David Joslin
c21aa2d85f Fixed crash in warp_credits 2023-11-08 19:53:36 -05:00