PeachyPeach
|
8812fbac8b
|
HOOK_ALLOW_INTERACT; new HUD functions (#73)
Added new hook: HOOK_ALLOW_INTERACT:
Called before Mario interacts with an object. Return true to allow the interaction.
The hook signature is bool function(MarioState, Object, InteractionType)
Added new HUD constants:
enum HudDisplayValue:
HUD_DISPLAY_LIVES
HUD_DISPLAY_COINS
HUD_DISPLAY_STARS
HUD_DISPLAY_WEDGES
HUD_DISPLAY_KEYS
HUD_DISPLAY_FLAGS
HUD_DISPLAY_TIMER
enum HudDisplayFlags:
HUD_DISPLAY_FLAGS_NONE
HUD_DISPLAY_FLAGS_LIVES
HUD_DISPLAY_FLAGS_COIN_COUNT
HUD_DISPLAY_FLAGS_STAR_COUNT
HUD_DISPLAY_FLAGS_CAMERA_AND_POWER
HUD_DISPLAY_FLAGS_KEYS
HUD_DISPLAY_FLAGS_UNKNOWN_0020
HUD_DISPLAY_FLAGS_TIMER
HUD_DISPLAY_FLAGS_EMPHASIZE_POWER
Added new HUD functions:
s32 hud_get_value(enum HudDisplayValue type)
void hud_set_value(enum HudDisplayValue type, s32 value)
void hud_render_power_meter(s32 health, f32 x, f32 y, f32 width, f32 height)
|
2022-04-30 17:33:38 -07:00 |
|
MysterD
|
bc7821a1e9
|
Added custom mod packets
|
2022-04-22 00:13:58 -07:00 |
|
MysterD
|
ef7dc41560
|
Added HOOK_ON_DEATH
|
2022-04-21 18:34:12 -07:00 |
|
MysterD
|
2347ab61c1
|
Added HOOK_ON_OBJECT_RENDER
|
2022-04-19 22:36:47 -07:00 |
|
MysterD
|
9653a19c7d
|
Improve rom hack camera's collisions in tight spaces and focus underwater. Add HOOK_ON_SET_CAMERA_MODE
|
2022-04-13 00:10:50 -07:00 |
|
MysterD
|
957e03cd81
|
Added HOOK_GET_STAR_COLLECTION_DIALOG
|
2022-04-10 02:44:11 -07:00 |
|
MysterD
|
d049c647dd
|
Allow Lua mods to prevent exit to castle/exit course
|
2022-03-30 20:03:22 -07:00 |
|
MysterD
|
322e4983ae
|
Add HOOK_ON_PAUSE_EXIT
|
2022-03-25 23:06:14 -07:00 |
|
MysterD
|
11649ce1d8
|
Added HOOK_ON_OBJECT_UNLOAD, HOOK_ON_SYNC_OBJECT_UNLOAD
|
2022-03-17 01:43:08 -07:00 |
|
MysterD
|
7252d836a9
|
Added hooks: HOOK_ON_LEVEL_INIT, HOOK_ON_WARP, HOOK_ON_SYNC_VALID
|
2022-03-16 23:53:01 -07:00 |
|
MysterD
|
3ce66ac312
|
Added hook: HOOK_ALLOW_PVP_ATTACK, disabled friendly fire in football
|
2022-03-12 23:43:47 -08:00 |
|
MysterD
|
2d8715b330
|
Made adding to behaviors possible in Lua
|
2022-03-05 01:29:24 -08:00 |
|
MysterD
|
e4f72105a3
|
Update Lua documentation autogeneration
|
2022-03-04 22:22:31 -08:00 |
|
MysterD
|
e740529776
|
Fixed how constants.md autogen'd links
|
2022-03-04 22:11:10 -08:00 |
|
MysterD
|
e0808374f2
|
Document hook_behavior()
|
2022-03-04 21:58:51 -08:00 |
|
MysterD
|
d32bbacf21
|
Add ON_HUD_RENDER to Lua hook docs
|
2022-02-18 19:48:05 -08:00 |
|
MysterD
|
e536d140bb
|
Added HOOK_ON_INTERACT to Lua API
|
2022-02-15 22:21:31 -08:00 |
|
MysterD
|
6d6d94fcde
|
Add Wario's moveset based on steven's mod
|
2022-02-14 18:26:44 -08:00 |
|
MysterD
|
ab1e85994e
|
Added hook_on_sync_table_change() to Lua API
|
2022-02-04 00:15:14 -08:00 |
|
MysterD
|
0935eed3b7
|
Rewrite of how lua hooks chat commands
|
2022-02-03 19:50:27 -08:00 |
|
MysterD
|
cf34aa0b08
|
Added support for returning structs from C to Lua
|
2022-02-03 00:43:08 -08:00 |
|
MysterD
|
8688fa4ca4
|
Added hooks to Lua documentation
|
2022-01-30 00:07:50 -08:00 |
|