#ifndef GUARD_15F247457902E371E05EB34544CB7598
#define GUARD_15F247457902E371E05EB34544CB7598

#include "types.h"

#define TILEMAP_MAX_SIZE 1024
#define MAX_TILEMAPS 4

struct gsa_map {
	u16 tiles[TILEMAP_MAX_SIZE][TILEMAP_MAX_SIZE];
	i32 w, h;
	i32 scrollx, scrolly;
	bool half_tile;
};

extern struct gsa_map maps[MAX_TILEMAPS];

void gsa_map_clear(u8 map);

#endif /* GUARD_15F247457902E371E05EB34544CB7598 */
