Commit Graph

2453 Commits (b3ebc13c3569854087c200cde915f234b55fe2a8)

Author SHA1 Message Date
Agent X 90f5fc3a08 djui_hud_get_raw_mouse_x/y, djui_hud_set_mouse_locked (#91) 2022-05-13 19:55:47 -07:00
EmeraldLoc d0c21aa702 Made network_description/player_description hold 1 extra character (#90) 2022-05-13 19:55:38 -07:00
MysterD 83f441cd4e Add djui_hud_world_pos_to_screen_pos, and render interpolated rect/texture 2022-05-13 19:54:49 -07:00
MysterD 9cc68fac94 Make red coin star spawn on late join 2022-05-11 18:22:40 -07:00
MysterD 096c67db9b Prevent packet processing when disconnected 2022-05-11 18:15:46 -07:00
MysterD 394733ffc7 Set discord network system on shutdown 2022-05-11 18:11:53 -07:00
MysterD 934d41a44e Prevent joining a Discord lobby when you're already hosting 2022-05-11 18:10:27 -07:00
MysterD 2c9f42abd6 Do more Discord API cleanup on network shutdown 2022-05-11 01:33:56 -07:00
MysterD 91988cc426 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-11 01:28:36 -07:00
MysterD aaa8e4b885 Clear network players on disconnect 2022-05-11 01:27:14 -07:00
Isaac 6035d4652b Crash fix (#87) 2022-05-10 21:20:40 -07:00
EmeraldLoc 75a83d6244 Fixed mac compilation (#88) 2022-05-10 21:20:19 -07:00
Isaac 50a4a55647 Prevent spoofing moderator packets (#86) 2022-05-10 02:27:29 -07:00
MysterD 4b7b6926d1 Moderator cleanup 2022-05-09 23:20:07 -07:00
MysterD 2ecb0bd08b Merge branch 'unstable' into coop 2022-05-09 23:13:19 -07:00
Isaac bf569006b6 Moderator (#80) 2022-05-09 23:11:39 -07:00
EmeraldLoc 8fa2a6e51e 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 528318e60a Clear hooks on lua shutdown 2022-05-09 09:53:14 -07:00
MysterD 679c5963a3 Attempt #3 2022-05-09 09:45:14 -07:00
MysterD 4f8c58faf6 Actual fix for crash when disconnecting with custom models in level 2022-05-09 09:28:20 -07:00
MysterD 319736520c Fixed crash when disconnecting with custom models in the level 2022-05-09 08:40:18 -07:00
MysterD e328766148 Possible fixes to shell race level desyncs, prevent first place from getting mushrooms 2022-05-09 08:28:30 -07:00
MysterD a7acfe063f Allow disconnecting to the main menu 2022-05-09 08:00:34 -07:00
MysterD 3fe4c4ecfa Fix mod cache on boot 2022-05-09 07:34:49 -07:00
MysterD f9411da5a6 Started working toward allowing disconnection 2022-05-09 07:27:47 -07:00
MysterD c5024111df Fix mirror 2022-05-09 05:46:36 -07:00
MysterD 006b7a0667 Fix crash in bookshelf_manager_act_2() 2022-05-09 05:16:05 -07:00
MysterD e6bc87fa80 Fix crash in bhv_piranha_plant_bubble_loop 2022-05-09 05:10:53 -07:00
MysterD 1022527004 Fix crash in geo_switch_mario_cap_on_off 2022-05-09 05:09:22 -07:00
MysterD f7fc918642 Added a bunch of null checks to object_helpers.c 2022-05-09 05:07:42 -07:00
MysterD 0c58092203 Fix crash in obj_angle_to_object 2022-05-09 05:00:15 -07:00
MysterD 51c301c431 Do a file type check on custom audio 2022-05-09 04:12:54 -07:00
MysterD 493c35fd03 Fix custom sounds 2022-05-09 04:07:43 -07:00
MysterD 95c00d5f59 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 c864b462e4 Fix DISCORD_SDK=0 on Linux 2022-05-08 17:01:19 -07:00
MysterD db28d297b9 The death of the unstable branch 2022-05-08 16:43:09 -07:00
MysterD 272cac6376 Merge branch 'audio' into unstable 2022-05-08 16:41:05 -07:00
MysterD bf4f91136b Cleaned up mod_load_files() 2022-05-08 16:34:10 -07:00
MysterD 288d026650 Specify filetypes in audio folder, add audio_custom_shutdown() 2022-05-08 15:44:04 -07:00
PeachyPeach 82aca5404e 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 cd18f5aa6b Various audio fixes, updated audio example 2022-05-08 04:32:18 -07:00
MysterD 6d6995e5da Make bass sound interface easier to handle 2022-05-08 04:04:14 -07:00
MysterD 99e59dd8c1 Re-ran autogen 2022-05-08 00:29:17 -07:00
MysterD 929d9d7400 Move audio test example 2022-05-08 00:28:02 -07:00
Beyley Thomas 20167088d6 Add basic Bass audio engine (#58) 2022-05-08 00:25:09 -07:00
MysterD 8c884c8473 Merge branch 'unstable' of github.com:sm64ex-coop-dev/sm64ex-coop into unstable 2022-05-07 21:16:04 -07:00
MysterD f7e450fad0 Fix custom textures with EXTERNAL_DATA 2022-05-07 21:15:38 -07:00
PeachyPeach adc56ff6c5 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 0b7e4244e7 Only load DynOS model or texture packs once they're enabled 2022-05-07 18:20:53 -07:00
MysterD f2e63cfe5d Bump max mod size to 35MB 2022-05-07 17:41:20 -07:00