Having a little trouble loading in a TiledMap with Baylej's C TMX Loader. I'm looking at his SDL example and the map is loading mostly okay. The only it that the tiles list under the map variable is NULL.
I'm using his example .tmx files. I tried in XML, CSV and zlib, all with the same result.
This is my barebones code. Just trying to attempt to get the tiles to show up under the map in the debugger.
(Sorry for copy pasting code, It's not letting me link a pastebin).
If anyone has had this problem I'd appreciate some insight, as I am pretty stumped.
Cheers.
Edit: Here is a picture of my debugger, if you look at the bottom of locals you can see that tiles in NULL after loading the map in.