aboutsummaryrefslogtreecommitdiff
path: root/tools/compile_assets/loaders.odin
diff options
context:
space:
mode:
Diffstat (limited to 'tools/compile_assets/loaders.odin')
-rw-r--r--tools/compile_assets/loaders.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/compile_assets/loaders.odin b/tools/compile_assets/loaders.odin
index a7c31fd..097c483 100644
--- a/tools/compile_assets/loaders.odin
+++ b/tools/compile_assets/loaders.odin
@@ -39,7 +39,7 @@ load_qoi :: proc(path: string, qoi: ^os.File, output: ^os.File) {
)
}
- line := fmt.aprintf("{{data = #load(%w), anim = .NONE}}", rel_path)
+ line := fmt.aprintf("{{data = #load(%w), anim = .None}}", rel_path)
images[filepath.stem(path)] = line
paths_to_res_type[path] = "Image_Id"
@@ -97,7 +97,7 @@ load_png :: proc(path: string, png_file: ^os.File, output: ^os.File) {
)
}
- line := fmt.aprintf("{{data = #load(%w), anim = .NONE}}", rel_path)
+ line := fmt.aprintf("{{data = #load(%w), anim = .None}}", rel_path)
images[filepath.stem(path)] = line
paths_to_res_type[path] = "Image_Id"
@@ -178,7 +178,7 @@ _load_sprite_sheet :: proc(
)
}
- anim_name := strings.to_screaming_snake_case(
+ anim_name := strings.to_ada_case(
filepath.stem(path),
allocator = context.temp_allocator,
)