remove /include/twn_config.h, move defauls to relevant headers

This commit is contained in:
2024-10-11 20:21:02 +03:00
parent cfc9ac9583
commit 667b599c19
12 changed files with 19 additions and 31 deletions

View File

@ -11,6 +11,11 @@
#include <stdbool.h>
#define TEXTURE_ATLAS_SIZE_DEFAULT 2048
#define TEXTURE_ATLAS_BIT_DEPTH 32
#define TEXTURE_ATLAS_FORMAT SDL_PIXELFORMAT_RGBA32
typedef struct Texture {
Rect srcrect; /* position in atlas */
SDL_Surface *data; /* original image data */