* Force secret stars to respawn
Hacky fix for sure. I'll need to see how to deal with this in a better way.
* Improve star syncing
All stars now respawn (hopefully) and the red coin star no longer repeatedly respawns.
Also forced oSyncDeath for other objects.
* Remove leftover include
* (Probably) improve star syncing
It'll still spam packets but at least it'll only spam packets to people who are able to receive them
* Revert "(Probably) improve star syncing"
This reverts commit 86ff2c5451cff0a06e8c3410b2815e12b414f264.
* Weird sync
No idea why this works but it does. At least no fields have to be synced over, as far as I can tell.
* Patch out toxic gas camera from romhacks
* Allow toxic gas camera in romhacks to be disabled with camera_allow_toxic_gas_camera()
In romhacks only. Toxic gas camera in vanilla levels will always remain active.
Passing in 0 means enable toxic gas camera.
* Reset gOverrideAllowToxicGasCamera to network_shutdown()
* Swap order
I too have a hard time reading my own code
Some romhacks do change the speed of the wdw water level.
I am aware that the water level is an object and should be under gBehaviorValues, but that feels wrong so it's under gLevelValues.
* Properly set Mario's y vel to 0 on popping
* Change 0 to 0.0f, just in case
* Re-introduce a few vanilla bugs under gBehaviorValues
The Shell Mario glitch was patched as a side effect to patching a different bug, but several romhacks use it so I need it back.
The ability to collect multiple normal caps at once is needed for hat-in-hand using the hat factory glitch.
* Fix Shell Mario fix
Found the actual reason why the glitch doesn't work and figured that this change shouldn't affect anything else, so I removed its entry from gBehaviorValues.
* Add InfiniteRenderDistance to gBehaviorValues
I'm well aware that disabling the infinite render distance will be very desync prone, however a few glitches, most notably cloning and chuckya double jump, need objects load and unload from render distance.
* Allow mods to disable the camera centering from romhack camera
* Allow mods to disable romhack camera centering
Done again
* Update on network shutdown
* Remove a line which I have no idea why it returned
* Add set_exclamation_box_contents()
No way this is memory safe or even well made but I did what I could
* Added (most of) peachy's suggestions
Still need to figure out how to stop the game from reading further than the size of the array without using a hardcoded number
* Added more of peachy's suggestions
I figured a good way to cap how far the exclamation box reads is to pass in the length of the array as well
* Properly set Mario's y vel to 0 on popping
* Change 0 to 0.0f, just in case
* Massively increase surface pool size
Also exposed the surface pool counts by creating a few functions to get them. They only existed for debugging but may as well keep them.
* Allow extended moveset to be toggled from a chat command
I got permission to edit extended moveset. Eventually I'll try to see if I can improve upon this moveset.
* Remove old surface code
Part 1
* Heavily document manual.lua
Hopefully nothing I added is wrong
* Small change in descriptions
We go with a very generous amount here to ensure that we basically never
reach the limit. A few fixes were also made in load.c to catch any
segfaults in case someone decides to increase the limit even further.
Updated Luigi and Wario's models to their latest revision.
Mario, Luigi and Wario's sideburns now match the color of the rest of their hair with the player's palette.
Mario and Luigi's Logos were made into IA16 textures and are now shaded to look a bit better with the rest of the cap.
Cap inside was made a darker variant of the regular cap color across both the held and item caps.
Fixed an oversight with the cap wings, though mostly so that they're more consistent.
Removed Mario's unused model data since none of it is ever getting used as far as I'm aware.
Remaking this pull request because I realized I cloned the wrong branch so commits were messed up
Thanks DYosh for reminding me about Fire Wario and Fire Waluigi
Updated those 2 palettes to match the recently changed Wario and Waluigi palettes
new-palettes
Also made Waluigi's Overalls a bit darker to correspond the N64 model and render
* Allow extended moveset to be toggled from a chat command
I got permission to edit extended moveset. Eventually I'll try to see if I can improve upon this moveset.