Playertest: scene/script system refactor and Wii ABI fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 23:30:08 -05:00
parent 7c3386cf3e
commit 998601f722
104 changed files with 2855 additions and 3923 deletions
+11 -3
View File
@@ -50,12 +50,20 @@ errorret_t assetInitLinux(void) {
const char_t **path = ASSET_LINUX_SEARCH_PATHS;
int32_t error;
do {
sprintf(
searchPath,
char_t temp[ASSET_FILE_PATH_MAX];
snprintf(
temp,
ASSET_FILE_PATH_MAX,
*path,
ASSET.platform.systemPath,
ASSET_FILE_NAME
);
snprintf(
searchPath,
ASSET_FILE_PATH_MAX,
"%s/%s",
ASSET.platform.systemPath,
temp
);
// Try open
ASSET.zip = zip_open(searchPath, ZIP_RDONLY, &error);
-1
View File
@@ -10,7 +10,6 @@
#include "asset/assetfile.h"
static const char_t *ASSET_LINUX_SEARCH_PATHS[] = {
"%s/%s",
"%s",
"../%s",
"../../%s",
@@ -8,6 +8,6 @@
#pragma once
#include "script/scriptcontext.h"
void modulePlatformLinux(scriptcontext_t *ctx) {
scriptContextExec(ctx, "LINUX = true\n");
static void modulePlatformLinux(lua_State *L) {
luaL_dostring(L, "LINUX = true\n");
}