Commit Graph

2255 Commits (dc62b609a94f1fcd2f03d04daa0948aec0fa84dd)

Author SHA1 Message Date
MysterD dc62b609a9 Re-request level or area if stuck in invalid state for a while 2022-05-28 00:49:28 -07:00
MysterD d853acc52a Reload save data on disconnect 2022-05-28 00:40:04 -07:00
MysterD 6ee840b55a Cleared controller on disconnect properly 2022-05-28 00:36:55 -07:00
MysterD 8a02578315 Clear controller values on disconnect 2022-05-28 00:22:13 -07:00
MysterD f5d69402a9 Prevent assert in load_tlut 2022-05-28 00:16:16 -07:00
MysterD 7dd7678f07 Attempt to fix crash that mentions get_mario_spawn_type() 2022-05-28 00:14:57 -07:00
MysterD aa21ccbf96 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-28 00:08:10 -07:00
MysterD 5cadf0455a Fixed sync of ttc speed setting and pss slide started 2022-05-27 20:02:19 -07:00
MysterD fe25547c7e Alter fog depth to deal with new near plane value 2022-05-27 19:56:38 -07:00
MysterD 77dab156b0 Remove unused variable 2022-05-26 18:23:44 -07:00
MysterD 5e4c47a3c4 Made romhack camera's collision response less fancy, just zoom in when we have to 2022-05-25 19:30:38 -07:00
MysterD 6c2d431e65 Made romhack cam snappier, and fixed weird diagonal offset 2022-05-25 19:17:13 -07:00
MysterD aea75678eb Fix crash when issuing /players chat command 2022-05-25 18:20:13 -07:00
MysterD 69a82965da Added null checks to functions in obj_behaviors.c 2022-05-25 18:15:03 -07:00
MysterD 0e2e370f47 Clear custom models on disconnect 2022-05-25 18:07:58 -07:00
MysterD 1e1504b8a6 Bump version 2022-05-25 18:01:48 -07:00
MysterD 79bbd8dd20 Remove debug position stuff for bettercam 2022-05-25 18:01:33 -07:00
MysterD 6468c8ed65 Arena: made level stuff account for new level 2022-05-25 18:01:05 -07:00
MysterD 829b9e856b Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-25 17:49:42 -07:00
EmeraldLoc 99fd4914f9 Modifed arena mod (#115)
* Modifed arena mod to make levels cycle and add a change level command
2022-05-25 17:48:20 -07:00
MysterD 75ec199b07 Bettercam improvements: no longer sways when close to geo, no longer zooms if player partially visible 2022-05-25 17:47:34 -07:00
MysterD f6ba22a2a8 Added level to arena 2022-05-25 17:46:54 -07:00
PeachyPeach 607e07166c Camera config values for lua (#116)
* Added camera config getters and setters
2022-05-22 18:47:36 -07:00
Amy54Desu df57dddbea Fix Player Limit Settings and Hide Server Only Chat Commands (#114) 2022-05-21 23:07:29 -07:00
MysterD f5e245590f Allow users to select between accurate or fast interpolations 2022-05-21 21:47:53 -07:00
Altiami ac6ce708c3 New render frame interpolation via transformation matrix de-/construction (#98)
This method of interpolation aims to correctly interpolate the render
transformation matrices as best as possible without doing an entirely
new render pass. This is accomplished by deconstructing the matrices
into its composition of transformations, interpolating those simpler
transformations individually, and then reconstructing the
transformation matrix with the interpolated transformations.
2022-05-21 21:46:41 -07:00
MysterD a2786951cc audio_stream_load_url() cleanup 2022-05-21 21:20:02 -07:00
Lord-Giganticus 21b4ed3be8 Add function to load music via https URLs (#100) 2022-05-21 21:17:35 -07:00
EmeraldLoc 6ba8a8a989 Hide and seek modifications (#101) 2022-05-21 21:17:00 -07:00
MysterD 3980ed9aaa Initialize gGetHostName 2022-05-21 21:13:01 -07:00
Isaac 3d1c57c020 Improvements to domain resolution (#106) 2022-05-21 21:12:32 -07:00
MysterD 46767dff4f Fix indentation 2022-05-21 21:11:17 -07:00
mjcox244 730af8c267 Fix for Icon In dumb msys DIR (#111) 2022-05-21 21:08:54 -07:00
MysterD 7bae2cbfe3 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-21 21:05:48 -07:00
MysterD f9e156790a Add arena 2022-05-21 21:05:41 -07:00
Amy54Desu 89519fec27 Add Act Num to Playerlist (#95) 2022-05-20 11:36:44 -07:00
Marioiscool246 d0e49ba67f Particle sync fixes (#112)
* Fix lingering particles when a player exits an area or disconnects
2022-05-20 11:32:47 -07:00
MysterD 5fc6bb0491 Fix clang/mac compile 2022-05-19 19:42:07 -07:00
Isaac a5e9e38713 Restore local Mario to mirror room (#109) 2022-05-19 17:14:23 -07:00
Isaac 2d3a3c419d Headless compile flag (#107) 2022-05-19 17:12:39 -07:00
Isaac e4baa6eb95 Restore Mario to selected palette when returning to main menu (#105) 2022-05-19 17:07:58 -07:00
Agent X 9924d72f27 Mouse lock & freeze cam fixes and warp constants (#103) 2022-05-19 17:06:51 -07:00
Marioiscool246 6b9f95ef43 C-Up Player Head Rotation Fix & Particle Flags Sync Fix (#99)
Local head rotation is now no longer copied to all other players
C-Up mode head rotation now sends to the other players through
the player packet so others can see the head move around

m->particleFlags are now synced to the other players now
2022-05-19 16:52:47 -07:00
PeachyPeach f433dbfcf6 Fixed various audio bugs; DynOS can now detect texture duplicates to decrease generated bin files size (#110)
Fixed the following audio bugs:
    Bug: Rom-hacks sequences don't seem to be affected by volume scaling and
         muting
    Fix: Force the BGM sequences to follow the vanilla behavior:
        Volume can't go higher than default volume
        Volume is reduced to 31% when the game is paused
        Audio is stopped when the game is paused outside the Castle levels
    Bug: (Pointed out by Draco) Mario's voice clips are not replaced by the
         player's character's in the following instances: fall to death
         barrier, "here we go" in the ending cutscene, "let's a go"
         after selecting a star, "okey dokey" after starting the game.
    Fix: The first two ones now call
         play_character_sound(m, CHAR_SOUND_...) instead of
         play_sound(SOUND_MARIO_..., pos). The last two ones couldn't be
         fixed the same way for two reasons: First, the corresponding sounds
         were not referenced in the sound table, second, the sound played is
         always cut-off after a few frames (due to how sm64 resets the sound
         banks after loading a level).

Added SOUND_*_LETS_A_GO and SOUND_*_OKEY_DOKEY sounds for each playable
    character as Bass samples.
    Character Bass sounds work the same way as vanilla sounds (i.e. can be
    played with play_character_sound), but they cannot be prematurely stopped
    by sm64 sound banks shenanigans.
    This fixes the cut-off for both the star select and the castle grounds
    entry, plays the sound corresponding to the player's character, and doesn't
    need to extend or edit the sound table.

DynOS can detect texture duplicates when generating a bin or lvl file.
    When a duplicate is detected, the name of the original texture node is
    written instead of the whole PNG data, decreasing significantly the
    resulting file size.
2022-05-19 16:40:45 -07:00
mjcox244 451cc7eb92 Add Icon to windows build (#96) 2022-05-19 16:33:17 -07:00
Isaac d8d8eb731a change text depending on if you are client or server (#92) 2022-05-17 16:24:56 -07:00
MysterD ef4c7d780c Reset hardcoded values on disconnect 2022-05-17 01:22:45 -07:00
PeachyPeach 18503ecc52 Various bug fixes + Added is_game_paused() and more background music functions to lua (#93)
Bug: DynOS models with animations cannot swap animations if they are
     loaded via lua (smlua_model_util_get_id and
     obj_set_model_extended).
Fix: DynOS_Actor_GetActorGfx takes a graph node instead of a georef,
     and checks for DynosValidActors graph nodes if georef is NULL.

Bug: The game can crash when calling obj_set_model_extended inside a
     HOOK_ON_OBJECT_RENDER hook.
Fix: The crash happens in smlua_model_util_load_with_pool_and_cache_id
     due to pool being NULL. If the game can't allocate an
     AllocOnlyPool object, use DynOS to generate the graph node.

Bug: warp_to_level and similar functions don't trigger HOOK_ON_WARP.
Fix: Call HOOK_ON_WARP hooks in DynOS_Warp_UpdateWarp and
     DynOS_Warp_UpdateExit after level and mario initialization.

Bug: The game sometimes calls HOOK_ON_OBJECT_RENDER hooks for
     unintended objects.
Fix: Initialize hookRender field to 0 when creating an object.

Bug: Actions can't apply gfx offsets to characters that have an anim
     offset (Waluigi, Wario)
Fix: Add m->curAnimOffset to gfx.pos[1] instead of setting it to
     m->pos[1] + m->curAnimOffset, except during the jumbo star
     cutscene.
2022-05-14 14:28:25 -07:00
MysterD f9949b64c9 Prevent rendering mirror players - fix crash in mirror room 2022-05-14 02:46:39 -07:00
MysterD e14166a955 Merge branch 'coop' of github.com:djoslin0/sm64ex-coop into coop 2022-05-13 23:30:10 -07:00