270 Commits

Author SHA1 Message Date
Isaac0-dev b1b5b93dcc remove some dangerous functions 2025-02-13 22:33:34 +10:00
Isaac0-dev 9a13c298ad added HOOK_ON_INTERACTIONS
this is called after mario's interactions are processed
2025-02-11 17:58:57 +10:00
Isaac0-dev d53d20c11c HOOK_ON_DIALOG fixes, expose set_dialog_box_state 2025-02-10 18:31:59 +10:00
Agent X fefb222198 Re-expose function 2025-01-10 19:04:55 -05:00
John S be0e47a4c2 Documentation of mario.h, mario_actions_airborne.c, mario_actions_automatic.c, mario_actions_cutscene.c, and mario_actions_moving.c (#601)
* WIP mario.h - mario_actions_moving.c

* Fix improper list formatting

bulleted lists are broken due to whitespace stripping, i may fix this later.

* Fix some issues in formatting and missing descriptions

* Accidental struct syntax fix

* Fix repeating descriptions

* Fix repeating descriptions final
2024-12-31 21:00:54 -05:00
Agent X f880e6c569 Document level_update.h and add new instant warp function (70.1%) 2024-12-31 19:39:36 -05:00
PeachyPeach 96932f5bf1 Custom geo function and switch nodes with Lua callback (#593) 2024-12-31 10:23:13 +10:00
jayden 68b9f2c556 Autogen correctly handle pointers (#584)
* correctly handle pointers in autogen

* autogen with correct pointers

* fix typo in lvt autogen
2024-12-27 17:51:47 -05:00
jayden 2a19745137 Expose types of GraphNode to Lua (#580)
* expose graph_node.h

* cast_graph_node lua function

* document cast_graph_node

* graph node immutables
2024-12-22 19:15:04 -05:00
John S 8da73663aa Document Interaction.h (68.23%) (#577)
* Document Interaction.h (68.23%)

* Fix caps

* Fix missing bracket

* Make descriptions a little more clear and concise
2024-12-19 22:30:07 -05:00
Agent X e3c1b20f6b Document rumble_init.h (65.46%) 2024-12-16 20:42:20 -05:00
Agent X faceaa684a Document sound functions 2024-12-16 20:18:28 -05:00
xLuigiGamerx 66fb28500b Added djui_menu_get_rainbow_string_color() (#536)
* Removed unintentionally exposed function and disallowed it in autogen

* Exposed djui_language_get to lua

* Added djui_menu_get_rainbow_string_color()
2024-12-16 16:51:27 -05:00
John S af1e7be9ac Document Camera.h (#569)
* Document functions in Camera.h

This is the complete documentation for Camera.h

* Fix some grammar and formatting mistakes.
2024-12-16 16:43:39 -05:00
Agent X 79ef7e8e12 Document about **800** functions (53.33%) 2024-12-08 17:55:23 -05:00
Agent X 9b6e891b1c Document 8 more files (19.45%)
Special thanks to zam_boni on Discord as well

Co-Authored-By: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
Co-Authored-By: xLuigiGamerx <88401287+xLuigiGamerx@users.noreply.github.com>
2024-12-07 22:23:19 -05:00
Agent X e9039df03e Document smlua_*_utils.h files (16.94%) 2024-12-07 21:53:08 -05:00
John S 58de87d1c1 Documentation of area.h and characters.h (#548)
* Documentation of characters.h

Documenting characters.h

* Add documentation to Area.h

* Redo autogen for new descriptions
2024-12-07 16:06:27 -05:00
Agent X 1aa7524380 Improve auto documentation system 2024-12-07 11:39:29 -05:00
John S c3539cfb58 Add descriptions to the auto-doc (#545)
Cleaned up math_util.h a little bit and added a description system for use with the autodoc.
2024-12-07 11:31:11 -05:00
Agent X 69241bd3d9 Add mod_file_exists 2024-12-05 18:40:42 -05:00
Agent X 856a828229 Add mod_storage_exists 2024-12-05 18:28:57 -05:00
Agent X bff0cda663 Disallow another dangerous function 2024-12-01 16:58:45 -05:00
Agent X eac580e04a Expose more lag compensation things to Lua 2024-12-01 16:46:05 -05:00
Isaac0-dev 97439fa557 fix a buffer overflow in smlua_text_utils 2024-11-30 07:30:57 +10:00