mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +00:00
8812fbac8b
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) |
||
---|---|---|
.. | ||
examples | ||
constants.md | ||
functions-2.md | ||
functions-3.md | ||
functions-4.md | ||
functions.md | ||
globals.md | ||
hooks.md | ||
lua.md | ||
structs.md | ||
vs-code-setup.md |