diff options
| author | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
| commit | 30a49954e4cb434a1c47503c839feb20558a202b (patch) | |
| tree | d18228602676dbc7cd9790e18444b15a8a2157d3 /tools/compile_assets/loaders.odin | |
| parent | 64e3dc9c109f4f76d5d1f65a9082340213985361 (diff) | |
Rename enums to use Ada_Case
Diffstat (limited to 'tools/compile_assets/loaders.odin')
| -rw-r--r-- | tools/compile_assets/loaders.odin | 6 |
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, ) |
