* Make cheats much better and add new ones
Improved some, added some.
- Formatted cheats code to fit with the rest of sm64's naming style of things like structs
- Cheats will now always check for gServerSettings.enableCheats instead of its own variable
- Moon Jump: Increased vertical speed, automatically exit bonks
- God Mode: Tiny code improvements
- Super Speed: Exponentially improved, moved to step code and now works as it always should have
- Rapid Fire (New): When on, A will become rapid fire
- Always Triple Jump (New): When on, Mario will triple jump regardless of forwards velocity
- BLJ Anywhere (New): When on, spam A while BLJing to BLJ anywhere
* Add m->playerIndex == 0 checks
/luaf command to execute lua code from a file. Note that this command doesn't load the file the same way mod files are loaded, so no access to gGlobalSyncTable and gPlayerSyncTable. hook_chat_command cannot be called, but hook_event can.
Fix some compilation issues
* Add Extended Soundbank
This PR adds a soundbank to the game with every instrument in the game, so there's no need to only use one set of instruments for m64 sequences.
Use the soundbank ID "42" when replacing sequences with lua to use it.
* Remove hardcoded.h include duplicate
There's a duplicated line that shouldn't be there since hardcoded.h is already included.
* Reinclude duplicate include
I'm still learning the commits system and I've noticed I should push this into a different PR instead by making a fork, sorry about that
* [WIP] fix warnings
Committing now as is for Isaac to take a look at this.
Having issues with VERSION_TEXT
* Fix VERSION_TEXT crash and stop demos on host
* HOOK_JOINED_GAME
* expose VERSION_TEXT, and two more adjusments
* show if a constant type is a string with autogen
* fix another blunder by that guy
* should use an or operator here
* fix frame limiter stuff
* Fix fixed collision NaN position
Thanks to @Marioiscool246 for figuring this out.
Sometimes Mario's position will become NaN when doing specific things, this fixes that.
Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>
* Formatting
Co-Authored-By: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>
* Fix ordering
* Final fix(?)
---------
Co-authored-by: Marioiscool246 <27823923+Marioiscool246@users.noreply.github.com>
- Add NULL checks to DynOS warps
- Change checks for skipping interpolation on the original title screen for much better ones
- Interactions are no longer processed if you are on the title screen
- Re-add some of the legacy demo code for the original title screen
- Fix disconnecting on the original title screen
- Fix disconnecting on the act select screen
- Fix interpolation crash