From 30a49954e4cb434a1c47503c839feb20558a202b Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Fri, 16 Jan 2026 14:08:51 -0500 Subject: Rename enums to use Ada_Case --- tools/compile_assets/loaders.odin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/compile_assets/loaders.odin') 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, ) -- cgit v1.3-2-g0d8e