Add keyboard enumeration function. Make image layers work.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#define AKGL_TILEMAP_LAYER_TYPE_TILES 1
|
||||
#define AKGL_TILEMAP_LAYER_TYPE_OBJECTS 2
|
||||
#define AKGL_TILEMAP_LAYER_TYPE_IMAGE 3
|
||||
|
||||
typedef struct {
|
||||
float x;
|
||||
@@ -43,6 +44,7 @@ typedef struct {
|
||||
int x;
|
||||
int y;
|
||||
int id;
|
||||
SDL_Texture *texture;
|
||||
int data[AKGL_TILEMAP_MAX_WIDTH * AKGL_TILEMAP_MAX_HEIGHT];
|
||||
akgl_TilemapObject objects[AKGL_TILEMAP_MAX_OBJECTS_PER_LAYER];
|
||||
} akgl_TilemapLayer;
|
||||
|
||||
Reference in New Issue
Block a user