Add ReleaseFast SSE build unit, weather override Lua API, and research notes

build.zig: add clip_sse.zig as separate ReleaseFast compilation unit,
enable SSE/SSE2 target features, disable dpslog default.
main.zig: register SetWeatherOverride Lua func, call transform44.lateInit
for blit_hub hook capture.
RESEARCH.md: document GxDevice wrappers, weather control, RTQ batching.
This commit is contained in:
MarcelineVQ
2026-03-12 18:46:54 -07:00
parent fc7f6d637b
commit 0807612699
3 changed files with 164 additions and 1 deletions
+6
View File
@@ -96,6 +96,9 @@ fn registerLuaFunctions() void {
};
lua.openlib(lua.getContext(), "WeirdUtils", &lib, 0);
}
if (build_opts.transform44) {
registerFunction("SetWeatherOverride", @intFromPtr(&transform44.luaSetWeatherOverride));
}
if (build_opts.worldmarkers and markers.isActive()) {
// User-facing functions stay global
registerFunction("WorldMarker", @intFromPtr(&markers.luaWorldMarker));
@@ -546,6 +549,9 @@ fn engineInitDetour() callconv(hook.cc.stdcall) void {
if (build_opts.bigcursor) {
bigcursor.lateInit();
}
if (build_opts.transform44) {
transform44.lateInit();
}
}
// =============================================================================