aboutsummaryrefslogtreecommitdiff
path: root/src/resources.odin
blob: 61208126546320bfaa3a53fbeb2a8f1e22121648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 {
}