aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-01-14 15:20:56 -0500
committeriamcheeseman <[hidden email]>2026-01-14 15:20:56 -0500
commit1b8553bf96017795dcf081b78371c3b2a8d5ecc5 (patch)
treea8ea1e994755b9b461f37b621106dd59daf25329 /tools
parent8d824c95f1b64bec6d7e298c7c7d925c4ba3422a (diff)
prefix private functions with underscore
Diffstat (limited to 'tools')
-rw-r--r--tools/compile_assets/loaders.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/compile_assets/loaders.odin b/tools/compile_assets/loaders.odin
index 648fe49..a7c31fd 100644
--- a/tools/compile_assets/loaders.odin
+++ b/tools/compile_assets/loaders.odin
@@ -104,7 +104,7 @@ load_png :: proc(path: string, png_file: ^os.File, output: ^os.File) {
}
@(private="file")
-load_sprite_sheet :: proc(
+_load_sprite_sheet :: proc(
path: string,
doc: ^ase.Document
) {
@@ -189,7 +189,7 @@ load_sprite_sheet :: proc(
}
@(private="file")
-load_animation :: proc(path: string, doc: ^ase.Document) {
+_load_animation :: proc(path: string, doc: ^ase.Document) {
tags: map[string]struct{
from: i32,
to: i32,
@@ -241,8 +241,8 @@ load_ase :: proc(path: string, ase_file: ^os.File, output: ^os.File) {
}
// Load animation
- load_animation(path, &doc)
+ _load_animation(path, &doc)
// Load sprite sheet
- load_sprite_sheet(path, &doc)
+ _load_sprite_sheet(path, &doc)
}