Rename bmod to just mod

This commit is contained in:
2026-11-04 22:07:45 -03:00
parent fe0d857021
commit 5baaf0239a
33 changed files with 253 additions and 253 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
// converted from the same mod find their textures. a .png.mcmeta becomes the .json next to the png: bworld reads the
// same animation format
import { join } from "@std/path";
import { png_size, texture_size_problem } from "@/common/bmod.ts";
import { png_size, texture_size_problem } from "@/common/mod.ts";
import { type TextureJson, validate_texture_json } from "@/common/texture_animation.ts";
import {
DEFAULT_REMAPS,
@@ -104,7 +104,7 @@ export function import_textures(input: string, options: ImportOptions = {}): Imp
for (const warning of result.warnings) report.warnings.push({ location, warning });
json = result.json;
}
// the limits a .bmod checks, like a title screen's 512×512 panorama being too big
// the limits a .cubi checks, like a title screen's 512×512 panorama being too big
const too_big = texture_size_problem(size, json);
if (too_big) {
report.skipped.push({ location, reason: `it ${too_big}` });