Add tileset loading

This commit is contained in:
2026-06-05 12:02:40 +01:00
parent 419e95ac89
commit 821255a065
6 changed files with 118 additions and 6 deletions
+2
View File
@@ -116,6 +116,8 @@ DEF_SYM(pass)
DEF_SYM(block)
DEF_SYM(ignore)
DEF_SYM(call)
DEF_SYM(padding)
DEF_SYM(offset)
DEF_SYM(x)
DEF_SYM(y)
DEF_SYM(w)
+1
View File
@@ -98,6 +98,7 @@ public:
~Window();
// Rendering functions
std::vector<uint64_t> load_image_set(const char *path, Vec2<float> tile_size, Vec2<float> padding, Vec2<float> offset, bool pixel_art);
uint64_t load_image(const char *path, bool pixel_art);
uint64_t create_image(Vec2<float> size, bool pixel_art);
Vec2<float> get_image_size(uint64_t image_id);