From 685076399535d47e056eb2341baa18888d15482b Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 10 Apr 2023 22:23:26 +0300 Subject: rendering one sector works --- src/sector.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sector.h') diff --git a/src/sector.h b/src/sector.h index 8315ee6..438184b 100644 --- a/src/sector.h +++ b/src/sector.h @@ -19,7 +19,9 @@ typedef struct { player_t player; // the player (should be an array in the future) } map_t; -int map_draw(map_t *map, uint SW, uint SH); +int map_draw(map_t *map, int SW, int SH); // SW and SH should be uint +void map_player_sector(map_t *map); + int map_load(map_t *map, char *filename); void map_unload(map_t *map); -- cgit v1.2.3