Rename engine to cubi

This commit is contained in:
2026-11-03 17:17:37 -03:00
parent 68b78f053a
commit 98fa45ebd1
109 changed files with 643 additions and 788 deletions
+2 -2
View File
@@ -333,10 +333,10 @@ async function write_world(dir: string, save: { level: string; chunks: SavedChun
Deno.renameSync(`${level}.tmp`, level);
}
// the engine's textures, listed by the build next to the client's assets. engine:missing is drawn by code
// the engine's textures, listed by the build next to the client's assets. cubi:missing is drawn by code
export function engine_texture_ids(build_dir: string): string[] {
const names: string[] = JSON.parse(Deno.readTextFileSync(join(build_dir, ENGINE_TEXTURES_INDEX)));
return ["engine:missing", ...names.map((name) => `engine:${name}`)];
return ["cubi:missing", ...names.map((name) => `cubi:${name}`)];
}
// the client and the engine's assets. pages on other origins load the engine's textures from here too