29 lines
390 B
C
29 lines
390 B
C
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <raylib.h>
|
|
|
|
#include "types.h"
|
|
|
|
typedef struct {
|
|
Texture2D texture;
|
|
uveci2 texture_dimentions;
|
|
uveci2 rows_and_collumns;
|
|
|
|
uveci2 tile_dimentions;
|
|
} al_tilemap_t, *ALTilemap;
|
|
|
|
typedef struct {
|
|
ALTilemap map;
|
|
umat2 source;
|
|
|
|
} al_tile_t, *ALTile;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|