Commit graph

144 commits

Author SHA1 Message Date
MysterD
ad6642a4bd Add support for custom HUD textures and faster texture packs w/o EXTERNAL_DATA 2022-05-06 22:03:12 -07:00
MysterD
e912636633 Automatically disable billboards on DynOS models with >6 vertices 2022-05-04 00:14:33 -07:00
PeachyPeach
92d3c19c51
[BUG FIX] DynOS Bin Vtx overflow (#79)
Vertex coords are saved as s16 instead of f32 inside DynOS .bin files,
causing unintended overflow for vertex coords outside of the range
[-32768, +32767]. The format cannot be changed without breaking all
existing DynOS models, so, when writing a .bin file, a sentinel value
is added at the top of the vertex buffer for buffers that need f32
coords. If that sentinel is detected during the reading process,
the next vertex coords will be read as f32 instead of s16.
2022-05-02 17:31:29 -07:00
MysterD
36f2b2218d Possible mac compile fix 2022-04-23 15:54:39 -07:00
MysterD
f8b8e80cf6 Revert DynOS auto-disable-billboard 2022-04-23 14:28:02 -07:00
MysterD
592df229b6 Prevent DynOS packs from being enabled then disabled on launch 2022-04-23 03:23:30 -07:00
MysterD
9e33ce39e6 Automatically disable billboards when a DynOS model uses more than 6 vertices 2022-04-23 03:05:16 -07:00
MysterD
f2ca0e18fc Fix crash when toggling dynos packs 2022-04-23 02:22:12 -07:00
MysterD
ba544d6e35 More performance improvements 2022-04-22 20:57:18 -07:00
MysterD
e7cd7ccd6d Fixed finding of renamed custom actors 2022-04-22 18:54:11 -07:00
MysterD
78bda75e45 Massive DynOS refactor for performance/organization 2022-04-19 21:06:18 -07:00
MysterD
8f773ea887 Make DynOS texture lookup use a set for performance 2022-04-19 18:24:26 -07:00
MysterD
2be9f7f0c3 Fix bug in dynos level gen of custom behaviors 2022-04-18 23:13:11 -07:00
MysterD
12ea360360 Display a message on screen when script errors are found 2022-04-16 22:47:16 -07:00
MysterD
1576d92734 Have level scripts prefer their local datanodes 2022-04-16 22:06:38 -07:00
Prince Frizzy
f51f1d6c4a
Merge in small changes. (#63) 2022-04-16 19:12:12 -07:00
MysterD
202315f260 Rewrite of hash/cache system 2022-04-16 13:05:10 -07:00
MysterD
493c5554b2 Stop music on dynos warp 2022-04-15 19:32:53 -07:00
MysterD
295183a0ff Prevent DynOS from attempting to generate lvls when they already exist 2022-04-15 18:24:17 -07:00
MysterD
93beb2001e Prevent generating extra geos for player models, allow referencing mario textures 2022-04-14 21:49:41 -07:00
MysterD
d275cbdd07 Fix buffer overrun 2022-04-13 21:24:38 -07:00
MysterD
1508f07fef Added actor textures to dynos builtin list; added shadow_spike_ext 2022-04-13 19:13:25 -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
2aec9f8e28 Re-fix movtexqc parsing 2022-04-11 22:56:44 -07:00
MysterD
cdb1bbe92a Fix DynOS vertex offset writing 2022-04-11 22:54:36 -07:00
MysterD
e037e3b65e Merge branch 'level-scripts' of github.com:sm64ex-coop-dev/sm64ex-coop into level-scripts 2022-04-11 22:14:20 -07:00
MysterD
a925acba6b Fix for dynos mod actors that replace other actors 2022-04-11 22:14:12 -07:00
MysterD
f2f911e5b0 Clang/mac fixes 2022-04-11 21:43:55 -07:00
Prince Frizzy
91920ea904
Smarter check for texture finding. (#61) 2022-04-11 21:24:35 -07:00
MysterD
456da82f2f Fix how DynOS loads custom actors 2022-04-11 18:15:54 -07:00
MysterD
4a89900a8b Fix error in LOAD_MODEL_FROM_GEO_EXT (level gen) 2022-04-10 16:20:02 -07:00
MysterD
87e772c8ea Fix level compiling with decimals 2022-04-10 14:51:13 -07:00
MysterD
7de32ee5bb Add SM74's geo_choose_area 2022-04-10 03:07:55 -07:00
MysterD
4f9a48620d Allow DynOS to warp to level with castle levels 2022-04-10 01:30:56 -07:00
MysterD
3db42f1700 Allow coop mods to use the backup save slot independently of the normal one 2022-04-10 00:30:47 -07:00
MysterD
653ab58a5d Allow course names/acts to be changed from Lua 2022-04-09 23:28:36 -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
defb7dc830 Made trajectories overridable from Lua 2022-04-08 23:01:41 -07:00
MysterD
403bf30be9 Added custom level script overrides, warps work now 2022-04-08 19:29:16 -07:00
MysterD
1a3bd3c685 Fixed up collision bug, added collision file validation, allowed lua to get builtin collisions 2022-04-08 19:17:57 -07:00
MysterD
8b4a5f6d6d Refactored actor geos in DynOS 2022-04-08 18:56:22 -07:00
MysterD
18835a588a Split dynos_misc stuff into mgr files 2022-04-08 08:18:06 -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