mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
- Fixed script file path shortening for Windows in console errors (what I could at least, the one left unfixed is preprocessed and I can't mess with that) - Adjusted audio sanity check messages to sound more natural - 9 new functions added: ## `audio_stream_set_loop_points(audio, start, end)` Sets an audio stream's loop points in samples, no longer requiring a hacky method to loop streams in mods ## `get_active_mod()` Returns the mod currently being processed, can be used by mods with APIs to determine what they're being used by and react accordingly ## `get_area_update_counter()` Returns `gAreaUpdateCounter`, can be used to determine various in-game statistics, as well as if the game is being updated ## Exposed several object pointers `get_current_object()` to retrieve `gCurrentObject` `get_dialog_object()` to retrieve `gContinueDialogFunctionObject` `(get|set)_cutscene_focus()` to retrieve/assign `gCutsceneFocus` `(get|set)_secondary_camera_focus()` to retrieve/assign `gSecondCameraFocus` |
||
|---|---|---|
| .. | ||
| lua | ||