Commit Graph

153 Commits (ed95ad3cb7f2f6943dac47a0c3770961883dc00d)

Author SHA1 Message Date
MysterD 3de0900bbc Initial custom behavior commit 2022-03-03 01:04:15 -08:00
MysterD 26f1945bdd Fixed more possible bugs pointed out by cppcheck 2022-03-01 21:13:00 -08:00
PeachyPeach a30bc12aed Added support for X and Y buttons; Re-mapped B button to the actual B button for controllers; Moved particleFlags code so lua scripts can spawn Mario particles with 'before Mario update' and 'after Mario update' hooks (#5) 2022-02-27 14:31:59 -08:00
MysterD 4d1a7c0136 Prevented SM64 hang on object count overflow 2022-02-22 01:10:17 -08:00
MysterD cee83df8c9 Initial Lua support for spawning objects 2022-02-21 22:46:39 -08:00
Prince Frizzy 48c6c9074b Fixes for Refresh 12 2022-02-19 01:39:38 -05:00
MysterD a73b828106 Created TextureInfo struct 2022-02-15 22:13:10 -08:00
Prince Frizzy 6b91a8f7e2 sound: Add extended channel mode for sequences.
Provided by theclashingfritz
2022-02-15 01:36:44 -08:00
MysterD b9dd895a44 Updated Andrat's Luigi sound pack
Provided by FluffaLuigi
2022-02-15 01:00:09 -08:00
MysterD 1fbfed2187 Fixed Wario sounds pitch/speed 2022-02-15 00:51:19 -08:00
MysterD 29dcaf3b1d Added wario sounds
Have yet to pitch correct them.

Huge thanks to theclashingfritz and anzz1
2022-02-14 23:36:53 -08:00
MysterD a3efdebec4 Added FluffaLuigi's Wario model 2022-02-13 21:52:35 -08:00
MysterD 4cd13853db Changed autogeneration of Lua constants to pull directly from src 2022-02-03 00:43:17 -08:00
MysterD 5e86511652 Reimplemented how Lua reads/writes to C Objects 2022-01-17 20:50:39 -08:00
MysterD 0be69f4648 Second iteration of Lua IO
Started working on third
2022-01-17 19:23:52 -08:00
MysterD d224e85ed5 Added Waluigi - model provided by Super Keeberghrh 2021-09-05 14:23:47 -07:00
MysterD 4862a5effd Lowered priority of snoring sounds so they don't cut off other sounds 2021-08-23 21:19:13 -07:00
MysterD 12fd68e47a Added a callback for area timer objects to only run certain things once per frame 2021-08-19 00:31:20 -07:00
MysterD 993e988bd4 Added toad player character 2021-08-18 22:55:31 -07:00
MysterD 3c0a1bdd22 Refactored how enemies display a cap in their hand 2021-08-18 21:39:39 -07:00
MysterD eab9064427 Added support for spawning Luigi-versions of metal/vanish/wing cap as items 2021-08-15 11:46:28 -07:00
MysterD d08f186a18 Added hacks for fire spitter and skeeter to prevent glitching through the floor on water level change 2021-08-14 20:17:57 -07:00
MysterD f5c2b5ebe0 Added new MAXIMUM type to network area timer system. Exclamation boxes now reappear at the correct time 2021-08-12 18:13:41 -07:00
MysterD 3fc8e45f77 Rewrite the core of network area timer (yet again) 2021-08-10 18:29:49 -07:00
MysterD 91fd89cd8d Color detached caps according to player palette 2021-08-06 01:02:07 -07:00
MysterD 1bc3da1d22 Fade out players when they leave/disconnect 2021-08-04 18:47:59 -07:00
MysterD 84e92836c8 Refactored network area timer system 2021-08-03 19:21:50 -07:00
MysterD dd0f1cddac Resync bomp using Network Area Timer 2021-08-03 18:52:48 -07:00
MysterD df53c263e8 DJUI: Replaced old ingame menu with new DJUI menu 2021-07-15 19:37:09 -07:00
MysterD 38e6b5d340 Initial DJUI commit
The birth of a custom user interface system.

Has the ability to draw things to the screen at native resolution
regardless of window size.

Components can be nested within one another to an arbitrary depth.

Text rendering is completely rewritten.

Text and images can be clipped by their parent container.
2021-06-18 15:23:59 -07:00
MysterD 5fb19927e9 Resynchronized DDD poles to use area timer system 2021-06-15 18:01:03 -07:00
MysterD aebaecc1cc Resynchronized checkerboard elevators to use area timer 2021-06-14 20:29:08 -07:00
MysterD ecccc66906 Resynchronized LLL puzzle pieces
Created a timer based on area that is shared. The puzzle pieces will
execute rapidly to catch up to the timer on level join. This keeps them
in sync without constantly needing to acknowledge that a puzzle piece
had moved before continuing.
2021-06-14 20:14:47 -07:00
MysterD cabdab421b Improvements to late-join synchronization
Removed (slightly) old coin and static ent removal system
Resynchronized respawners
Added packet for macro deletions
    better than previous system since the entities don't need a sync id and we can synchronize deletion station across areas
    allows the synchronization of odd entities like lines of coins
Added packet for spawn info deletions
Split packet_location_request into multiple files
2021-06-09 22:35:34 -07:00
MysterD 3ab8f04c61 Synchronized respawners and entities created after level load 2021-06-08 21:21:52 -07:00
MysterD 09282cc63b Synchronize late-join coin collection 2021-06-08 02:26:35 -07:00
MysterD 27b4b368e4 Ripped out level synchronization/warp code
Began writing new system that synchronizes course/act/level/area per
player and 'ownership' of that location.
2021-06-07 12:19:59 -07:00
fgsfds 5c8e4b293c bump MAX_PLAYERS to 16 2021-04-06 02:32:06 +03:00
fgsfds 66c11d9329 added new GBI command: G_COPYMEM
exclusively for copying lights around for now; required for my retarded model color implementation
2021-04-06 00:18:04 +03:00
MysterD 4f631ab151 Translated Luigi sounds through new Character system 2020-10-16 23:33:41 -07:00
anzz1 b7f4ae735d Added Luigi sounds (#77)
* added a new audio bank 10 for luigi sounds
* made some audio memory buffers larger to fix sound cuts
* added option to enable/disable luigi sounds in the sound options menu
* added Andrat's "90's Classic Luigi Voice Pack" as default luigi sounds

Co-authored-by: anzz1 <>
2020-10-16 11:54:59 -07:00
MysterD 7cd4480fbc Fix UNSTABLE_BRANCH checking 2020-10-16 03:56:37 -07:00
anzz1 8d26400e84 Enemy hat fixes (#83)
* Ukiki now steals Mario/Luigi hat correctly
* Klepto now steals Mario/Luigi hat correctly
* Mr. Blizzard now knocks off Mario/Luigi hat correctly
* Fwoosh now knocks off Mario/Luigi hat correctly

Co-authored-by: anzz1 <>
2020-10-16 03:03:25 -07:00
MysterD 46abf2c13d Change MAX_PLAYERS check to unstable branch 2020-10-16 02:53:09 -07:00
MysterD 927231c719 Removed two-player hacks from cannon and object packets
Increased error checking of get_behavior_from_id
Made failure logging for packet_object a lot better
Changed debug logging to show global index instead of "Server/Client"
Changed debug keyboard binds to support more keyboard types
Made SyncObject's rxEventId de-duplication per-player instead of one-player
Removed sizeof(enum) from packet_read/packet_write
2020-10-13 21:44:27 -07:00
MysterD cd05b6ffc9 Created character struct for mario/luigi asset differences
Removed multiple two-player hacks in the process
2020-10-13 18:33:51 -07:00
MysterD cd64f2e0e6 Added ability for client to send a packet to server, and for the server to broadcast to all clients 2020-10-12 18:23:48 -07:00
MysterD 161506431d Fixed bug with whirlpools 2020-10-02 23:35:06 -07:00
MysterD 4240603d86 Synchronized Monty Mole 2020-10-01 12:39:06 -07:00
MysterD cbc2a463ca Synchronized Eyerok, add SSL to supported levels
Eyerok was synchronized, but I'm still not super pleased with the
result. I had to sacrifice dialog to prevent weird states and he's
completely controlled by the server. His synchronization should be
revisited in the future.

SSL should be fully synchronized now.
2020-09-30 18:20:13 -07:00