Commit graph

3813 commits

Author SHA1 Message Date
David Joslin
c5a3a6cf32 Made fire palettes non-beige again 2023-11-21 17:02:13 -05:00
David Joslin
da95b3febe Fixed manta ring spawning and likely other object desync bugs 2023-11-21 17:02:13 -05:00
David Joslin
520cff93d9 Prevented rendering of disconnected mirror marios 2023-11-21 17:02:13 -05:00
Isaac0-dev
23193887db added HOOK_MIRROR_MARIO_RENDER to Lua (#514)
* added HOOK_MIRROR_MARIO_RENDER to Lua

Previously there was no way to interact with mirror Mario using the Lua api, so this fixes that.

* remove premature optimisation

* revert that
2023-11-21 17:00:35 -05:00
Isaac0-dev
156cca9607 fix course naming again (#515)
* fix course naming again

whoops that was my fault (hopefully for the last time)

* +1 course index in pause_castle_get_stars
2023-11-21 16:41:04 -05:00
David Joslin
e3fc8e92a4 Fixed 100 coin star in act select
It will appear in act selection again
Sanity checked 'score' so that if the 100 coin star was collected, it will return at least 100
2023-11-21 16:41:04 -05:00
Agent X
092a5fab32 Make chat & console disallow mouse look 2023-11-19 22:24:07 -05:00
Agent X
706f6ab1f8 Oops, fix silly mistake 2023-11-19 19:41:49 -05:00
Agent X
508ad40e44 Change output name to sm64coopdx & clean up a bit 2023-11-19 19:38:26 -05:00
Agent X
3158b5f741 Declutter DJUI pause menu 2023-11-18 15:56:44 -05:00
Agent X
b552b9a8b3 Move first_person_update() call 2023-11-18 15:00:03 -05:00
Agent X
72c58f722e Prevent some mod init related lua crashes 2023-11-17 19:55:20 -05:00
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