diff options
author | 3gg <3gg@shellblade.net> | 2025-09-02 18:41:59 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-09-02 18:41:59 -0700 |
commit | e6bf7e77797103ee7ab0eda57c360c38f1b2089c (patch) | |
tree | b0cb40caf98c18e490b81feb59f9f26d47593670 /src | |
parent | 5278a117ee31c911106346e60018e13c8f3e79fc (diff) |
Add map orientation.
Diffstat (limited to 'src')
-rw-r--r-- | src/isogfx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/isogfx.c b/src/isogfx.c index c3a87bf..865ebb4 100644 --- a/src/isogfx.c +++ b/src/isogfx.c | |||
@@ -267,6 +267,8 @@ bool isogfx_load_world(IsoGfx* iso, const char* filepath) { | |||
267 | } | 267 | } |
268 | Tm_Map* const map = iso->map; | 268 | Tm_Map* const map = iso->map; |
269 | 269 | ||
270 | printf("Map orientation: %d\n", ((Tm_Flags*)&map->flags)->orientation); | ||
271 | |||
270 | // Load the tile set. | 272 | // Load the tile set. |
271 | // | 273 | // |
272 | // Tile set path is relative to the tile map file. Make it relative to the | 274 | // Tile set path is relative to the tile map file. Make it relative to the |