aboutsummaryrefslogtreecommitdiff
path: root/src/resources.odin
diff options
context:
space:
mode:
authorXander Swan <[hidden email]>2026-01-07 23:12:22 -0500
committerXander Swan <[hidden email]>2026-01-07 23:12:22 -0500
commit0988ab832bfc7a1b1c851125b6172cf68c6d9cb9 (patch)
tree460bc2d9f0bce463af273d6b2b2c20faa880ac29 /src/resources.odin
parentade0dc4d257d053b7064184f193f8168c496e308 (diff)
doesn't compile but i'm commiting anywya
Diffstat (limited to 'src/resources.odin')
-rw-r--r--src/resources.odin27
1 files changed, 27 insertions, 0 deletions
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 {
+}
+