MysterD
1b99e22848
Added the ability to spawn particles from Lua
...
Added particles to football
Increased the object cap for particles
2022-03-09 21:25:07 -08:00
MysterD
7aab694743
Add more vec3f functions to Lua
2022-03-05 18:10:20 -08:00
MysterD
c2177b4eec
Add collision_find_surface_on_ray()
2022-03-05 14:24:58 -08:00
MysterD
b3ae635e98
Add custom behavior Lua examples
2022-03-04 23:14:01 -08:00
MysterD
f2247cd973
Documented manually created Lua functions
2022-03-04 23:05:23 -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
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
a87116a632
Add networking for custom behaviors
2022-03-04 20:03:00 -08:00
MysterD
9c7036afe3
Add define_custom_obj_fields() to Lua
2022-03-04 18:16:54 -08:00
MysterD
3bc80ad7be
Add object animations to Lua, add CPointer allowlist
2022-03-03 18:31:45 -08:00
MysterD
3ad6c721dc
Initial custom behavior commit
2022-03-03 01:04:15 -08:00
MysterD
ecc33286ad
Ran autogen
2022-03-01 12:06:06 -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
bbeec3c707
Add support for Lua functions inside parameters
2022-02-22 23:34:22 -08:00
MysterD
816df2117f
Add obj_behaviors to the Lua API
2022-02-22 22:39:45 -08:00
MysterD
e499f51767
Add Lua wrappers for object_helpers.c
2022-02-22 18:34:51 -08:00
MysterD
44fca9aede
Added BehaviorScript pointer handling to Lua API
2022-02-22 18:29:30 -08:00
MysterD
94bc7940cc
Initial Lua support for spawning objects
2022-02-21 22:46:39 -08:00
MysterD
8d81d8df50
Fix compile issues for Linux/Mac
2022-02-20 20:23:10 -08:00
MysterD
b3e21d7edc
Added object fields to Lua API
2022-02-19 13:51:02 -08:00
MysterD
3274fca929
Binary search Lua struct fields
2022-02-18 23:39:18 -08:00
MysterD
a44acd51f2
Added HUD rendering to hide-and-seek
2022-02-16 18:10:06 -08:00
MysterD
e536d140bb
Added HOOK_ON_INTERACT to Lua API
2022-02-15 22:21:31 -08:00
MysterD
669e17bc18
Added global textures
2022-02-15 22:14:55 -08:00
MysterD
29599a82ec
Created TextureInfo struct
2022-02-15 22:13:10 -08:00
MysterD
ded74e7fb5
Added image drawing to Lua API
2022-02-15 22:12:20 -08:00
MysterD
941375718b
Added CPointers to Lua/autogen
2022-02-15 22:09:21 -08:00
MysterD
f862b3ac21
Adjusted function autogen to automatically pull includes
2022-02-15 22:08:24 -08:00
MysterD
3fcc31e233
Added text rendering to Lua API
2022-02-15 22:08:01 -08:00
MysterD
502bf08393
Fixed Wario sounds pitch/speed
2022-02-15 00:51:19 -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
434176e7d6
Added a bunch of functions to Lua wrapper
2022-02-04 19:13:15 -08:00
MysterD
f4279924fb
Added read-only column to Lua struct documentation
2022-02-04 01:32:19 -08:00
MysterD
b6a3733bf0
Added network_get_player_text_color_string() to lua api
2022-02-03 19:05:59 -08:00
MysterD
6fcc60a791
Changed autogeneration of Lua constants to pull directly from src
2022-02-03 00:43:17 -08:00
MysterD
cf34aa0b08
Added support for returning structs from C to Lua
2022-02-03 00:43:08 -08:00
MysterD
fb01338278
Added chat commands to lua mods
2022-02-03 00:42:57 -08:00
MysterD
a3467bb6dc
Added chat message creation to Lua
2022-02-03 00:42:48 -08:00
MysterD
271a375510
Added immutable strings to autogen, added djui_popup_create
2022-02-03 00:42:31 -08:00
MysterD
d82dc207aa
Adjusted autogen to pull functions directly from src
2022-02-03 00:41:07 -08:00
MysterD
cecb145bbb
Added network utils functions to Lua
2022-02-02 20:24:35 -08:00
MysterD
12f66994e6
Added on_player_connected/disconnected hooks
2022-02-02 19:33:36 -08:00
MysterD
c59aeedf78
Added gNetworkPlayers to lua api
2022-02-02 19:24:51 -08:00
MysterD
fcb459d095
Added HOOK_ON_PVP_ATTACK
2022-02-02 19:19:17 -08:00
MysterD
0d7b6daa9b
Fixed character sound functions
2022-02-01 21:59:34 -08:00
MysterD
9a3796f0b8
Added ability for sync tables to contain tables
2022-02-01 18:15:10 -08:00
MysterD
836e2f6e7d
Refactoring lua sync table
2022-01-31 21:32:57 -08:00
MysterD
e9d3bf49da
Initial foundation for lua networking
2022-01-30 23:11:33 -08:00
MysterD
d5aeec5490
Removed ACT_(MARIO_ACTION) Lua functions from API (useless)
2022-01-29 23:02:36 -08:00
MysterD
4daa658567
Removed unimplemented functions from documentation
2022-01-29 22:59:36 -08:00
MysterD
c170984471
Autogenerated Lua documentation
2022-01-29 22:47:22 -08:00
MysterD
0aa8cd0e35
More improvements to Lua
...
autogenerated functions for characters.h
Fixes in autogen:
improvements to LVT/LOT conversion
improvements to immutability status
Updates to character-movesets.lua, every character has a moveset now
Added .type to stuct Character
Prevented unimplemented actions from crashing the game
2022-01-26 20:35:13 -08:00
MysterD
bf2969be04
More Lua improvements
...
convert_functions.py no longer hardcodes acceptable LOT_ values
Added characters.h and surface_collision.h to convert_structs.py
Prevented mod filenames with a slash in it from being considered acceptable
Sanitized mod filenames when received from the server
2022-01-25 20:28:34 -08:00
MysterD
08ccde2937
Lua: autogenerated cobjects
2022-01-25 19:28:10 -08:00
MysterD
2e79f860e6
More lua improvements
...
Added hooks: ON_SET_MARIO_ACTION, BEFORE_PHYS_STEP
Working on Luigi's character abilities
Autogen lua functions for surface_collision.h
2022-01-24 19:19:19 -08:00
MysterD
7d3769a216
Added Lua function param count checking
2022-01-23 17:00:13 -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
MysterD
8f3ca4c6ea
Lua stuff
...
Added HOOK_BEFORE_MARIO_UPDATE
Added support for Vec3f/Vec3s in autogenerated lua functions
Added more lua functions from mario_actions_submerged.c, and thread6.c
Renamed animation-related fields in CObject wrappers
Moved coss and sins to wrapper
Extended Moveset:
Fixed rolling angle bug
Added rumble calls
Set facing direction when spinning
Added ledge parkour
Corrected ground pound animation
2022-01-20 19:04:34 -08:00
MysterD
cc2324d35e
Even more Lua improvements
...
Added support for structs: Surface, GraphNodeObject_sub, Animation
Generated lua wrapper functions for more functions in mario_actions_submerged.c
Fixed play_sound() wrapper to use a vec3f
Extended Moveset:
ported wall slide and water ground pound
2022-01-20 18:02:12 -08:00
MysterD
b364493807
Even more Lua improvements
...
Reorganized autogenerated lua functions into their own file
Grouped up COBJECT LVTs
Partially implemented: struct MarioBodyState, Object, ObjectNode, GraphNodeObject
Reimplemented lua function wrappers for: camera.h, mario.h, mario_actions_*.c, mario_step.h
2022-01-19 19:20:57 -08:00