summaryrefslogtreecommitdiff
path: root/src/sector.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-10 22:23:26 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-10 22:23:26 +0300
commit685076399535d47e056eb2341baa18888d15482b (patch)
treed284bbbbd2d2f102520735dc7256e14d8911e749 /src/sector.h
parent80ead50951c8b0d2c60c9fd57b8a4c943634b084 (diff)
rendering one sector works
Diffstat (limited to 'src/sector.h')
-rw-r--r--src/sector.h4
1 files changed, 3 insertions, 1 deletions
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);