aboutsummaryrefslogtreecommitdiff
path: root/src/resources.odin
diff options
context:
space:
mode:
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 {
+}
+