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
+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);