From 0988ab832bfc7a1b1c851125b6172cf68c6d9cb9 Mon Sep 17 00:00:00 2001 From: Xander Swan <[hidden email]> Date: Wed, 7 Jan 2026 23:12:22 -0500 Subject: doesn't compile but i'm commiting anywya --- src/resources.odin | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/resources.odin (limited to 'src/resources.odin') diff --git a/src/resources.odin b/src/resources.odin new file mode 100644 index 0000000..6120812 --- /dev/null +++ b/src/resources.odin @@ -0,0 +1,27 @@ +package demonchime + +import rl "vendor:raylib" + +Image_Resource :: struct { + texture: rl.Texture2D, + anim: Animation_Id, + data: []u8, +} + +Tag_Resource :: struct { + from: i32, + to: i32, +} + +Animation_Resource :: struct { + frame_count: i32, + frame_durations: []i32, + tags: map[string]Tag_Resource, +} + +Map_Resource :: struct { +} + +Tileset_Resource :: struct { +} + -- cgit v1.3-2-g0d8e