From c353e0b095fb724ee50d6e09fb00cc82b51da250 Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Thu, 15 Jan 2026 20:23:41 -0500 Subject: unlockable abilities --- tools/compile_assets/main.odin | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'tools/compile_assets/main.odin') diff --git a/tools/compile_assets/main.odin b/tools/compile_assets/main.odin index 01fdb3f..b82b5f3 100644 --- a/tools/compile_assets/main.odin +++ b/tools/compile_assets/main.odin @@ -35,13 +35,6 @@ Tileset_Id :: enum { Object_Type :: enum { } -Resource_Id :: union { - Image_Id, - Animation_Id, - Room_Id, - Tileset_Id, -} - images: [Image_Id]Image_Resource = { } @@ -60,12 +53,15 @@ tiles: []Tile_Resource = { world: []Room_Position_Resource = { } -path_to_id: map[string]Resource_Id = { -} - -load_resources :: proc() { +Resource_Id :: union { + Image_Id, + Animation_Id, + Room_Id, + Tileset_Id, } +path_to_resource_id: map[string]Resource_Id = { +} ` images: map[string]string -- cgit v1.3-2-g0d8e