Commit graph

50 commits

Author SHA1 Message Date
Isaac0-dev
4aa2a20f72
fixes, clean up and some new features (#259)
- Only inited `smlua_audio_utils` if needed, since there will probably be plenty of people who play without ever using mods with custom audio.
- Fixed the pause anywhere setting - this ended up not being fully accurate to ex-coop, which it was originally intended to be.
- Stopped regenerating dynos collision bin on start up every time therefore giving a slight start up speed boost for some people.
- Added a config file setting that lets people choose to compress dynos bins on startup (disabled by default).
- Fixed a warning that shows on non macs during compiling.
- Properly fixed the chat box focus.
- Made the public lobby rules panel "temporary".
- Added a cleaner loading screen design.
- Added an ex-coop theme easter egg, can only be activated from the config file.
- Cleaned up the Lua traceback logging, now shows the folder and file the error occurred in, rather than the full path.
- Added a way to set `gCheckingSurfaceCollisionsForCamera`, so mods can specify to surface finding functions to ignore `SURFACE_FLAG_NO_CAM_COLLISION` internally.
- Rewrote the way smlua pushes CObjects/CPointers to Lua. Now using the C Lua API entirely to connect to Lua.
	- Fixed a use-after-free bug that could easily crash the game through Lua (explained further in one of my comments below).
- Fixed a common crash in `audio_sanity_check`.
2024-09-12 19:09:01 +10:00
Agent X
bc63f96f2b Disable DynOS compression for non-dev again 2024-07-03 18:38:06 -04:00
Agent X
4607405b0c Re-enable DynOS compression (Needs testing) 2024-06-21 13:51:06 -04:00
Agent X
29ad63f9f9 Fix some DynOS prints 2024-06-02 15:58:03 -04:00
Agent X
19b354fb2f Change around printing a little 2024-04-19 13:32:39 -04:00
Agent X
d15ebf29d3 Make WARP_NODE commands able to read custom Lua registered levels 2024-04-17 17:40:53 -04:00
Agent X
a2fd2983b2 Add crash preventions to DynOS_Tex_Get 2024-03-22 18:54:24 -04:00
Agent X
49bca1cc01 sm64coopdx
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com>
Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com>
Co-Authored-By: Gregory Heskett <gheskett@gmail.com>
Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com>
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2023-10-30 01:03:36 -04:00
djoslin
e3386d6622 Update for MacOS 2023-06-23 16:40:46 -07:00
MysterD
c82e45c0a0 Add level script pointer validation 2023-06-22 01:13:38 -07:00
MysterD
3331b5c98b Add Lights0 support to DynOS 2023-06-12 02:08:20 -07:00
MysterD
d043fdd22d Added in-game console for DynOS and Lua errors 2023-05-19 04:20:08 -07:00
MysterD
e8fa45cab4 Disable compressing lvl files on every boot (is this required anymore?) 2023-03-30 12:15:26 -07:00
Agent X
85afeb6402
Expose title screen geo functions to DynOS (#246)
* Expose title screen level/geo stuff

* Move builtin defines
2022-12-17 19:28:19 +01:00
PeachyPeach
f0c6668423
DynOS Bin Compression (#131) 2022-06-25 00:52:53 -07:00
MysterD
b2bdf8859c Cleanup ; recursive descent fixes ; fixed behavior override comparisons
Moved dynos parsing for bhvs and models to a common file
Fixed recursive descent to correctly parse the entire expression
Adjusted bhv generation to use recursive descent
Switched all known behavior comparisons to the overridden versions
Fixed issue with Chain Chomp in star road
2022-06-02 19:07:43 -07:00
Prince Frizzy
40e1fa9e58
Added a full new custom behavior system (#124) 2022-06-02 12:19:54 -07:00
MysterD
e912636633 Automatically disable billboards on DynOS models with >6 vertices 2022-05-04 00:14:33 -07:00
MysterD
2be9f7f0c3 Fix bug in dynos level gen of custom behaviors 2022-04-18 23:13:11 -07:00
MysterD
1576d92734 Have level scripts prefer their local datanodes 2022-04-16 22:06:38 -07:00
MysterD
202315f260 Rewrite of hash/cache system 2022-04-16 13:05:10 -07:00
MysterD
295183a0ff Prevent DynOS from attempting to generate lvls when they already exist 2022-04-15 18:24:17 -07:00
MysterD
8e20697f4f Change how DynOS generates actors - generate any geolayout that isn't referenced by another 2022-04-13 18:27:21 -07:00
MysterD
cdb1bbe92a Fix DynOS vertex offset writing 2022-04-11 22:54:36 -07:00
MysterD
4a89900a8b Fix error in LOAD_MODEL_FROM_GEO_EXT (level gen) 2022-04-10 16:20:02 -07:00
MysterD
defb7dc830 Made trajectories overridable from Lua 2022-04-08 23:01:41 -07:00
MysterD
8b4a5f6d6d Refactored actor geos in DynOS 2022-04-08 18:56:22 -07:00
MysterD
5d479165fb Renaming cleanup 2022-04-08 01:52:53 -07:00
MysterD
5baf650dd2 Function pointer cleanup 2022-04-08 01:46:29 -07:00
MysterD
2fda92a8de Added vanilla lvl cols to level gen, changed how pointer offsets are saved 2022-04-07 23:06:10 -07:00
MysterD
8085f53e5a Added support for SM76's JUMP_AREA, added missing lvl geos, reordered parsing 2022-04-07 18:34:44 -07:00
MysterD
4956f0dd95 Fixed token corruption in DynOS, added support for runtime LOAD_MODEL_FROM_GEO 2022-04-07 08:21:19 -07:00
MysterD
4aff26cf27 Added support for known models and unknown behaviors for level gen 2022-04-06 23:10:39 -07:00
MysterD
67f0afa80c Only force in movtexs and collisions within that levels subfolders 2022-04-06 22:14:40 -07:00
MysterD
b346054807 Refactored how vanilla data is stored/retrieved within DynOS 2022-04-06 21:32:55 -07:00
MysterD
6751829f91 Adjustments for Lua/Mods 2022-04-06 18:24:50 -07:00
MysterD
78a2e17d7c Added support for custom skyboxes in DynOS level gen 2022-04-05 22:56:03 -07:00
MysterD
d5770f1b55 Force Movtexs into compiled DynOS lvls 2022-04-05 08:15:08 -07:00
MysterD
8646b50ae5 Fixed how DynOS writes lua variables into level scripts, added all level geos 2022-04-05 00:22:09 -07:00
MysterD
2c11b8f686 Added Light_t, Ambient_t, and began adding vanilla lvl geos to DynOS level gen 2022-04-04 21:25:40 -07:00
MysterD
abce3b3afd Added ability for DynOS levels to call into lua for custom objects 2022-04-04 18:16:36 -07:00
MysterD
32388bf6ff All vanilla levels can be compiled through DynOS now 2022-04-04 01:11:02 -07:00
MysterD
c0b0debf0b Added rooms parsing to DynOS level gen 2022-04-03 23:42:25 -07:00
MysterD
df346a902a Added Movtex and MovetexQC to DynOS level gen 2022-04-03 22:12:17 -07:00
MysterD
03b0520504 More DynOS custom level progress - BOB can now compile 2022-04-03 03:30:47 -07:00
MysterD
4d59da2500 Added trajectories to custom DynOS levels 2022-04-02 16:08:19 -07:00
MysterD
2bd4d4da36 Recursively parse DynOS level folders 2022-04-02 15:55:06 -07:00
MysterD
046c595f92 More progress toward custom DynOS levels 2022-04-02 15:14:04 -07:00
MysterD
df3618f521 More DynOS refactoring 2022-04-01 20:04:24 -07:00
MysterD
2f56594e45 DynOS level parsing - phase 1 2022-04-01 17:19:26 -07:00
Renamed from data/dynos_lvl_read.cpp (Browse further)