Ugly attempt part 2.
To bypass the whole two tile thing, I now pasted my ASCII fallback png right into the tile png:
Tiles Created: 5824
It loads fine, runs fine. Obviously the ASCII tiles aren’t being used, but at least they are indexed and accessible.
Now I’m trying to reverse engineer the tile_ids->find()
I’m guessing that in any case these functions are only looking into tile_config.json, so how the hell can we look into the data json to retrieve symbol+color?
Anyway, tile_ids are put into tile_id_iterator, and that’s tile_id_map::iterator
I can’ currently find where tile_ids->find() is defined.
What happens next is:
tile_type *display_tile = it->second;
then
draw_tile_at(display_tile,screen_x,screen_y,rota);
So I need a way to first check for symbol+color into the data json, then give a correct value to display_tile, since I have no idea what it contains until I find where it’s defined.
We are a LONG way to get this done. It doesn’t look like it will happen, at least if I have to do it myself.