add tilemap/tilesheet

This commit is contained in:
asrael 2025-09-24 00:39:44 -05:00
parent c18896def0
commit ff698730f1
13 changed files with 841 additions and 28 deletions

View file

@ -81,3 +81,11 @@ static inline void pxl8_log_timestamp(char* buffer, size_t size) {
fprintf(stdout, __VA_ARGS__); \
fprintf(stdout, "\n"); \
} while(0)
#ifndef pxl8_min
#define pxl8_min(a, b) ((a) < (b) ? (a) : (b))
#endif
#ifndef pxl8_max
#define pxl8_max(a, b) ((a) > (b) ? (a) : (b))
#endif