Commit Graph

1383 Commits (1094f2dd50be5c4e7b04497a9a4eb27c063d615d)

Author SHA1 Message Date
MysterD 1094f2dd50 Fixed Mac Lua library 2022-01-23 23:00:44 -08:00
MysterD c4ce0f0fdc Added missing lua libs 2022-01-23 20:51:05 -08:00
MysterD ea13c38da6 Merge branch 'dev/lua' of github.com:djoslin0/sm64ex-coop into lua 2022-01-23 20:11:24 -08:00
MysterD b846c55850 Fixed linux compile errors 2022-01-23 20:05:31 -08:00
MysterD 6d3efdd0ba Switched from dynamic to static Lua lib 2022-01-23 20:04:53 -08:00
MysterD 1741d0a5c4 Lua will try to load from writable-path/mods before ./mods 2022-01-23 18:47:06 -08:00
MysterD 56574b82eb Lua: more typechecking (converted lua_to* to smlua_to_*) 2022-01-23 17:15:04 -08:00
MysterD b03e32daf1 Added Lua function param count checking 2022-01-23 17:00:13 -08:00
MysterD 1cc94c21cb Added Lua allow-list for cobject pointers 2022-01-23 16:35:43 -08:00
MysterD a28dcb3c45 Allowed enabling/disabling of mods through the UI 2022-01-23 15:45:42 -08:00
MysterD 71ff2a3924 Added download progress bar 2022-01-23 11:32:03 -08:00
MysterD 4b65d0b897 Decreased the amount of back and forth for downloads
Server sends 5 chunks before waiting for another request
Download packets resend at a slower rate
2022-01-23 02:33:25 -08:00
MysterD d25bcaef2f Networking improvements
Reliable packets now save the actual remote address
Clients now only accepts server packets from the desired server
2022-01-23 01:55:43 -08:00
MysterD 90691ee89d 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 64438413c5 Sandboxed Lua scripts 2022-01-21 20:06:45 -08:00
MysterD c802ffea4e Lua: moved hook functions into their own file 2022-01-21 19:40:26 -08:00
MysterD 6d1f5637cb Merge branch 'unstable' into lua 2022-01-21 19:19:21 -08:00
MysterD bb4ae0abf1 Bump version to unst 13 2022-01-21 19:15:51 -08:00
MysterD cac892f792 Added headless server compile mode 2022-01-21 19:13:41 -08:00
MysterD 63473eca21 Notify players where other players go with a popup 2022-01-21 18:24:53 -08:00
MysterD 414e96cebc Added ability to exit course, exiting out of the painting 2022-01-21 00:56:54 -08:00
MysterD 29a7a1d1c4 Added define guards around controller bind mappings 2022-01-20 23:35:38 -08:00
MysterD 4a1b080ad4 Allow players to change name/model/palette while connected 2022-01-20 22:23:57 -08:00
MysterD 8a07740706 Removed server enforcement of unique player palettes 2022-01-20 21:52:14 -08:00
MysterD a0f01090ce Added key/bind names to controls menu 2022-01-20 21:46:22 -08:00
MysterD bc431deb4e 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 652e29b679 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 4ff49cbca7 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
MysterD b217e359fb More Lua improvements
Added Lua wrapper functions for mario_actions_moving.c, mario_step.h, mario_actions_airborne.c, camera.h, mario_actions_stationary.h

Extended Moveset Mod:
Started porting spin jump from extended moveset
Added act_ground_pound_jump, act_spin_pound, act_spin_pound_land,
2022-01-19 01:00:56 -08:00
MysterD 69ca7d53bb More Lua improvements
restrict lua libraries
extended moveset: finish roll, dive hopping
wrote a python script to codegen lua functions from C header files
converted most of mario.h
2022-01-18 18:51:06 -08:00
MysterD ed65f76b29 More Lua improvements, ported ACT_ROLL / ACT_ROLL_AIR from extended moveset 2022-01-18 01:48:51 -08:00
MysterD 5e86511652 Reimplemented how Lua reads/writes to C Objects 2022-01-17 20:50:39 -08:00
MysterD 0be69f4648 Second iteration of Lua IO
Started working on third
2022-01-17 19:23:52 -08:00
MysterD 2d41f9317d More lua improvements
Added mods folder for lua scripts
Created constants.lua so scripts could use constants internal to the C code
Created event hooks
Separated out lua functions into multiple files
2022-01-16 18:07:45 -08:00
MysterD 204eae7380 Initial LUA support - MarioState read/write 2022-01-16 08:51:29 -08:00
MysterD 1df9e9f5c5 Prevent bubble softlock by halting bubble popping for half a second after being bubbled 2022-01-15 21:50:35 -08:00
MysterD 4d8d6ae4f9 Add in-game player list 2022-01-15 20:44:11 -08:00
MysterD 578fdb1f8e Adjust waluigi_cap's compilation order 2022-01-15 20:43:49 -08:00
MysterD 216522d7a7 Made bubble-on-death a server setting 2022-01-14 20:33:06 -08:00
MysterD 3ada1eaaf6 Fix various bugs with spiny and lakitu 2022-01-14 20:06:26 -08:00
MysterD ae854328f9 Fixed home radius on many enemies, fixed draw distance bug 2022-01-14 16:33:22 -08:00
MysterD 51d3307cde Reverted: Removed player offset when changing areas 2021-09-05 15:55:39 -07:00
MysterD b7cb51cf6d Renamed waluigi textures so they can be committed 2021-09-05 15:39:50 -07:00
MysterD adfa9c4eba Bumped version to 12 2021-09-05 14:45:26 -07:00
MysterD 9709244a67 Resync bouncing fireball to only have one owner 2021-09-05 14:42:53 -07:00
MysterD 4f1104aa2a Removed player offset when changing areas 2021-09-05 14:34:17 -07:00
MysterD d224e85ed5 Added Waluigi - model provided by Super Keeberghrh 2021-09-05 14:23:47 -07:00
MysterD 8287154a7c Fixed rendering of metal-Luigi's held object 2021-09-01 18:25:19 -07:00
MysterD bf22b21bea Player bounce improvements: jump height depends on velocity, crouching players cause a twirl 2021-09-01 18:11:01 -07:00
MysterD ee29eb1fa0 Replace Shine's luigi voice pack with Andrat's 2021-08-31 23:17:07 -07:00