This removes the old animation system which would create 16 copies of the animation table, so this should use less memory. Made m->animation->targetAnim always be a pointer to the actual animation in gMarioAnims, so mods can grab the pointer and reuse it.
added get_mario_vanilla_animation to Lua, which lets a mod get any of mario's built in animations from its index.
- fixed a bug where remote players would show mario's head repeatedly twitching up and down while reading automatic dialog
- fixed a bug where remote mario's would sometimes not update while unlocking a star door, resulting in the previous animation playing during that action
- fixed a bug where players exiting a warp door could get stuck for a few extra frames due to other players opening that same door.
- added dialogId to MarioState, which is synced for remote players the dialog id that player has active. this can be used by Lua mods - don't access the local player's dialog id because that isn't updated as that is unnecessary
exposed set_menu_mode, create_dialog_box, create_dialog_box_with_response, create_dialog_box_with_var, create_dialog_inverted_box, reset_dialog_render_state
added and exposed get_dialog_response
HOOK_ON_DIALOG can now take an extra return value as a string, which will be used instead of what ever was going to be in the textbox.
Renamed the function interact_unknown_08 to interact_spiny_walking
and added the constant INTERACT_SPINY_WALKING, which has the same value of INTERACT_UNKNOWN_08
INTERACT_UNKNOWN_08 is kept for compatibility with smlua, and behavior dynos bins
* Proof of concept for loading rom assets at runtime
* Added skybox textures
* Adjusted format
* Load all texture assets from rom
* Adjusted rom asset loading
* Load all Vtx lists from rom
* clean up toad, wario and his cap conflicts
* Load sound samples from rom
* fix toad sounds
* Loaded sequences from rom
* Load collisions from rom
* Object animations are now loaded from the rom
* Load player animations from rom
* Load goddard anims from rom
* whoops
* fix some compile errors
* drag and drop rom checker, everything works now.
* fix errors due to merge conflicts
* fix compile errors on windows, switch to md5
* fix vertex colors during load
Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>
* Load dialogs from rom
* Loaded course/act names from rom
* Loaded ingame text from rom
* rerun autogen & blacklist smlua_text_utils_init
* fix ttc_seg7_vertex_0700B238 colors
---------
Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>