sm64ex-coop/docs/lua
Sunk af2a80007a Add set_exclamation_box_contents() (#445)
* 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
2023-07-18 18:18:02 -04:00
..
examples Custom animation examples (#392) 2023-05-14 19:16:03 -07:00
guides Customizable dialogs (#411) 2023-06-18 20:04:39 -07:00
constants.md Mod Storage C++ (#448) 2023-07-18 17:52:11 -04:00
functions-2.md Make most used and useful features built-ins (#242) 2023-02-26 03:15:54 +01:00
functions-3.md Mod Storage C++ (#448) 2023-07-18 17:52:11 -04:00
functions-4.md Add tons of new save file / star related functions (#419) 2023-06-18 20:04:02 -07:00
functions-5.md Add set_exclamation_box_contents() (#445) 2023-07-18 18:18:02 -04:00
functions.md Add set_exclamation_box_contents() (#445) 2023-07-18 18:18:02 -04:00
globals.md Added gActiveMods global to lua 2022-04-22 18:44:59 -07:00
lua.md Document every behavior's object list (#252) 2023-01-31 07:33:51 -05:00
structs.md Add set_exclamation_box_contents() (#445) 2023-07-18 18:18:02 -04:00