mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
|
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
I didn't add standard Lua require() because I've always been afraid of it. I'm not sure we can guarantee which files it will read (or not read). Instead, here is a custom implementation. It should work more or less the same and allow for more modular code. For backwards compatibility reasons, all of the lua files in the base mod folder will be loaded as in the past. Aka one at a time and alphabetically. However, now coop will look for Lua files in subdirectories and will load them in when another Lua file calls require(). The file search order is more reasonable than normal Lua require(). It will first look for files relative to the currently running script. If there is no matching relative file, it will pick from any Lua file that is in any of the mod's subdirectories. --------- Co-authored-by: MysterD <myster@d> |
||
|---|---|---|
| .. | ||
| behavior_data.c | ||
| behavior_table.c | ||
| dynos.c.h | ||
| dynos.cpp.h | ||
| dynos.h | ||
| dynos_bin_actor.cpp | ||
| dynos_bin_ambient_t.cpp | ||
| dynos_bin_animation.cpp | ||
| dynos_bin_behavior.cpp | ||
| dynos_bin_col.cpp | ||
| dynos_bin_common.cpp | ||
| dynos_bin_compress.cpp | ||
| dynos_bin_geo.cpp | ||
| dynos_bin_gfx.cpp | ||
| dynos_bin_legacy.cpp | ||
| dynos_bin_light0.cpp | ||
| dynos_bin_light_t.cpp | ||
| dynos_bin_lights.cpp | ||
| dynos_bin_lvl.cpp | ||
| dynos_bin_lvl_validate.cpp | ||
| dynos_bin_macro_object.cpp | ||
| dynos_bin_movtex.cpp | ||
| dynos_bin_movtexqc.cpp | ||
| dynos_bin_pointer.cpp | ||
| dynos_bin_read.cpp | ||
| dynos_bin_rooms.cpp | ||
| dynos_bin_tex.cpp | ||
| dynos_bin_texlist.cpp | ||
| dynos_bin_trajectory.cpp | ||
| dynos_bin_utils.cpp | ||
| dynos_bin_vtx.cpp | ||
| dynos_c.cpp | ||
| dynos_cmap.cpp | ||
| dynos_cmap.cpp.h | ||
| dynos_gfx_init.cpp | ||
| dynos_level.cpp | ||
| dynos_main.cpp | ||
| dynos_mgr_actor.cpp | ||
| dynos_mgr_anim.cpp | ||
| dynos_mgr_bhv.cpp | ||
| dynos_mgr_builtin.cpp | ||
| dynos_mgr_builtin_externs.h | ||
| dynos_mgr_builtin_tex.cpp | ||
| dynos_mgr_col.cpp | ||
| dynos_mgr_gfx.cpp | ||
| dynos_mgr_lvl.cpp | ||
| dynos_mgr_moddata.cpp | ||
| dynos_mgr_moddata.hpp | ||
| dynos_mgr_models.cpp | ||
| dynos_mgr_movtexqc.cpp | ||
| dynos_mgr_pack.cpp | ||
| dynos_mgr_tex.cpp | ||
| dynos_misc.cpp | ||
| dynos_warps.cpp | ||