Agent X
b972bb1be4
Add surface_terrains.h to constants ( #77 )
2022-05-02 17:31:55 -07:00
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
6b67c983ec
exposed sequence ids to lua
2022-04-15 21:51:18 -07:00
MysterD
c75e71f24e
Unhardcoded all behavior dialogs, allowed replacement of dialogs
2022-04-09 19:50:50 -07:00
MysterD
98f02458e3
Added a way to bind to movtexqc ids through lua, added the rest of the object constants
2022-04-09 01:47:20 -07:00
MysterD
6751829f91
Adjustments for Lua/Mods
2022-04-06 18:24:50 -07:00
MysterD
de048928ce
Added ability for Lua mods to adjust gServerSettings
2022-03-26 01:08:15 -07:00
MysterD
4d9ff3a3b1
Added a bunch of camera functions to Lua
2022-03-25 23:46:37 -07:00
Isaac
65df754b09
Add save file flag functions to lua api ( #41 )
2022-03-24 19:30:15 -07:00
MysterD
c58702df93
Misc Lua fixes/enhancements
...
approach_s32 now stays within 32 bits
Fixed SOUND_ARG_LOAD
Added OBJ_COL_FLAGS_*
Added reset_rumble_timers
Added get_hand_foot_pos_*
Added get_water_surface_pseudo_floor
Adjusted new hooks to be called at the appropriate times
2022-03-19 00:56:59 -07:00
Prince Frizzy
75bb9b7912
Update to Refresh 13 ( #19 )
...
* Refresh 13
Co-authored-by: n64 <n64>
2022-03-13 00:17:10 -08:00
MysterD
08d4818ba7
Added Lua definitions for autocomplete in visual studio code
2022-03-12 21:28:57 -08:00
MysterD
24df92fa48
Added DynOS warp functions to Lua API
2022-03-11 18:11:32 -08:00
MysterD
89d44f6501
Moved smlua_XXX_utils.[ch] to src/pc/lua/utils/
2022-03-09 23:09:33 -08:00
MysterD
18a5ebafae
More lua doc fixes
2022-03-04 22:38:43 -08:00
MysterD
d3b9163507
Add missing AreaTimerType to documentation
2022-03-04 22:31:32 -08:00
MysterD
4d4edf152a
Fix Lua documentation autogen links
2022-03-04 22:24:21 -08:00
MysterD
e740529776
Fixed how constants.md autogen'd links
2022-03-04 22:11:10 -08:00
MysterD
3ad6c721dc
Initial custom behavior commit
2022-03-03 01:04:15 -08:00
MysterD
fa36ed308e
Add more constants to Lua
2022-02-25 22:44:37 -08:00
MysterD
33ced38baa
Various Lua object API improvements
...
Lifted immutablity of most Lua struct fields
Added object constants to Lua API
Added ability to set struct pointers in Lua API
Prevented respawners for Lua-spawned objects
2022-02-25 18:30:05 -08:00
MysterD
94bc7940cc
Initial Lua support for spawning objects
2022-02-21 22:46:39 -08:00
MysterD
e536d140bb
Added HOOK_ON_INTERACT to Lua API
2022-02-15 22:21:31 -08:00
MysterD
ded74e7fb5
Added image drawing to Lua API
2022-02-15 22:12:20 -08:00
MysterD
3fcc31e233
Added text rendering to Lua API
2022-02-15 22:08:01 -08:00
MysterD
6d6d94fcde
Add Wario's moveset based on steven's mod
2022-02-14 18:26:44 -08:00
MysterD
62517c6bce
Print totals when autogenerating lua documentation
2022-02-05 13:33:22 -08:00
MysterD
6fcc60a791
Changed autogeneration of Lua constants to pull directly from src
2022-02-03 00:43:17 -08:00
MysterD
c170984471
Autogenerated Lua documentation
2022-01-29 22:47:22 -08:00
MysterD
767809f56a
Lua mod table and download
...
Mods are now loaded into a table
Clients now request a mod list from the server, then download each file one at a time before joining
Embedded constants.lua into the program
2022-01-22 23:59:49 -08:00