Import LDTK maps

This commit is contained in:
2024-02-26 19:51:26 -08:00
parent f6d942c614
commit 055b3dd7b1
7 changed files with 2282 additions and 4 deletions

View File

@ -10,6 +10,7 @@
typedef int32_t sys_i32;
typedef uint8_t sys_color;
typedef uint8_t sys_maptile;
typedef uint32_t sys_screen_color;
typedef uint64_t sys_glyph;
typedef struct {
@ -20,6 +21,11 @@ typedef struct {
uint32_t width;
uint32_t height;
} sys_spritesheet;
typedef struct {
sys_maptile* tiles;
uint32_t width;
uint32_t height;
} sys_map;
sys_screen_color sys_make_screen_color(uint8_t r, uint8_t g, uint8_t b);
@ -28,4 +34,4 @@ sys_i32 sys_min_i32(sys_i32 x, sys_i32 y);
sys_i32 sys_abs_i32(sys_i32 x);
sys_i32 sys_sgn_i32(sys_i32 x);
#endif // CROCPARTY_SYS_DATA_H
#endif // CROCPARTY_SYS_DATA_H