Commit graph

2348 commits

Author SHA1 Message Date
MysterD
ceaf41ae14 Set discord network system on shutdown 2022-05-11 18:11:53 -07:00
MysterD
ad09ecd8ef Prevent joining a Discord lobby when you're already hosting 2022-05-11 18:10:27 -07:00
MysterD
37fb101e05 Do more Discord API cleanup on network shutdown 2022-05-11 01:33:56 -07:00
MysterD
a8b94fd225 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-11 01:28:36 -07:00
MysterD
85ad7ed201 Clear network players on disconnect 2022-05-11 01:27:14 -07:00
Isaac
02b99d0443
Crash fix (#87) 2022-05-10 21:20:40 -07:00
EmeraldLoc
2a6c0be1bd
Fixed mac compilation (#88) 2022-05-10 21:20:19 -07:00
Isaac
f552e98cd4
Prevent spoofing moderator packets (#86) 2022-05-10 02:27:29 -07:00
MysterD
780249ab21 Moderator cleanup 2022-05-09 23:20:07 -07:00
MysterD
367f672af7 Merge branch 'unstable' into coop 2022-05-09 23:13:19 -07:00
Isaac
701fddf4dd
Moderator (#80) 2022-05-09 23:11:39 -07:00
EmeraldLoc
694f583a69
Fixed everything in dj's todolist for hns (#85)
* Fixed everything in dj's todolist for hns, and also made it more balanced
in other ways. List of changes roughly: made anticamp off by default, made
mario only have to touch another mario, and made vanish cap off always,
and made caps off for hiders
2022-05-09 23:11:12 -07:00
MysterD
d7bf47c5de Clear hooks on lua shutdown 2022-05-09 09:53:14 -07:00
MysterD
26cc9ee17f Attempt #3 2022-05-09 09:45:14 -07:00
MysterD
739a8c655e Actual fix for crash when disconnecting with custom models in level 2022-05-09 09:28:20 -07:00
MysterD
099a2462ed Fixed crash when disconnecting with custom models in the level 2022-05-09 08:40:18 -07:00
MysterD
d55f8a39ef Possible fixes to shell race level desyncs, prevent first place from getting mushrooms 2022-05-09 08:28:30 -07:00
MysterD
c71273cb60 Allow disconnecting to the main menu 2022-05-09 08:00:34 -07:00
MysterD
b2410f77e5 Fix mod cache on boot 2022-05-09 07:34:49 -07:00
MysterD
d75b0e9133 Started working toward allowing disconnection 2022-05-09 07:27:47 -07:00
MysterD
3e6fd0829a Fix mirror 2022-05-09 05:46:36 -07:00
MysterD
1148dd0ea0 Fix crash in bookshelf_manager_act_2() 2022-05-09 05:16:05 -07:00
MysterD
dd6959fe90 Fix crash in bhv_piranha_plant_bubble_loop 2022-05-09 05:10:53 -07:00
MysterD
059842b600 Fix crash in geo_switch_mario_cap_on_off 2022-05-09 05:09:22 -07:00
MysterD
7a71c9c284 Added a bunch of null checks to object_helpers.c 2022-05-09 05:07:42 -07:00
MysterD
c902bf2b00 Fix crash in obj_angle_to_object 2022-05-09 05:00:15 -07:00
MysterD
f64cd4b8e2 Do a file type check on custom audio 2022-05-09 04:12:54 -07:00
MysterD
5206e125df Fix custom sounds 2022-05-09 04:07:43 -07:00
MysterD
a694bcea20 Remove spawn offsets, a relic of a time where all players were in the same level 2022-05-08 17:40:47 -07:00
MysterD
a0700f8e02 Fix DISCORD_SDK=0 on Linux 2022-05-08 17:01:19 -07:00
MysterD
ac8b03aaf2 The death of the unstable branch 2022-05-08 16:43:09 -07:00
MysterD
c7cfa1be54 Merge branch 'audio' into unstable 2022-05-08 16:41:05 -07:00
MysterD
befd012d7b Cleaned up mod_load_files() 2022-05-08 16:34:10 -07:00
MysterD
f2c032c6d8 Specify filetypes in audio folder, add audio_custom_shutdown() 2022-05-08 15:44:04 -07:00
PeachyPeach
94c531272f
More rom-hacks globals to lua; more bug fixes (#84)
New gLevelValues exposed to lua:
        pssSlideStarTime: the time limit in frames for PSS-style levels (default: 630)
        pssSlideStarIndex: the index of the star spawned below the time limit for PSS-style levels (default: 1)
        coinsRequiredForCoinStar: number of coins required to spawn the 7th star of a main course (default: 100)
        wingCapDuration: duration in frames of the wing cap (default: 1800)
        metalCapDuration: duration in frames of the metal cap (default: 600)
        vanishCapDuration: duration in frames of the vanish cap (default: 600)
        wingCapDurationTotwc: duration in frames of the wing cap given to the player at the entrance of TOTWC (default: 1200)
        metalCapDurationCotmc: duration in frames of the metal cap given to the player at the entrance of COTMC (default: 600)
        vanishCapDurationVcutm: duration in frames of the vanish cap given to the player at the entrance of VCUTM (default: 600)
    Fixed a bug preventing the level music from restarting after defeating a Boss.
    Fixed some bugs with 3D coins or any model with the geo_rotate_coin function:
        Disable billboard and cylboard attributes.
        Set the pitch and roll to 0 for the model to rotate properly.
        The model no longer rotates every frame (even when the game is paused), but every time the object is updated.
2022-05-08 12:18:25 -07:00
MysterD
a722afe122 Various audio fixes, updated audio example 2022-05-08 04:32:18 -07:00
MysterD
725e26fe83 Make bass sound interface easier to handle 2022-05-08 04:04:14 -07:00
MysterD
034ada738c Re-ran autogen 2022-05-08 00:29:17 -07:00
MysterD
e326590135 Move audio test example 2022-05-08 00:28:02 -07:00
Beyley Thomas
b8553162c2
Add basic Bass audio engine (#58) 2022-05-08 00:25:09 -07:00
MysterD
6da950dc52 Merge branch 'unstable' of github.com:sm64ex-coop-dev/sm64ex-coop into unstable 2022-05-07 21:16:04 -07:00
MysterD
8eb0a7d838 Fix custom textures with EXTERNAL_DATA 2022-05-07 21:15:38 -07:00
PeachyPeach
68e1b72b99
3-digits orange numbers; Fixed red coins and secrets bugs; Correct red coins display during pause (#82)
Modified number_geo to allow it to display orange numbers from 0 to 999.
    Edited red coins/secrets code:
        Added two fields in the Area struct: numRedCoins and numSecrets
        The number of red coins/secrets in every area is computed during level script processing
        Removed the useless global gRedCoinsCollected
    These changes fix the following bugs:
        Wrong sound effect played and incorrect number displayed when there is more than 8 red coins/5 secrets
        Desynced red coins/secrets counter when going from an area to another
        Remotely spawning red coins/secrets stars in other areas without collecting all red coins/secrets
    Pausing the game now shows the correct number of collected red coins / the total number of red coins in the current area.
2022-05-07 19:09:37 -07:00
MysterD
f25416d194 Only load DynOS model or texture packs once they're enabled 2022-05-07 18:20:53 -07:00
MysterD
83c3e03231 Bump max mod size to 35MB 2022-05-07 17:41:20 -07:00
MysterD
dec1fb9665 Prevent mod cache from MD5'ing every file on every boot 2022-05-07 17:03:35 -07:00
MysterD
9f410ad161 Fixed custom textures on Windows 2022-05-07 16:39:19 -07:00
MysterD
379d5df5dc Fix various checks for whether or not we should generate tex files 2022-05-07 15:54:27 -07:00
MysterD
cdcbdabb37 Allow Lua to get any vanilla texture 2022-05-07 03:05:25 -07:00
MysterD
52c863fb36 Bump version 2022-05-06 22:09:30 -07:00