
I've taken the map generator, published in an earlier tutorial and combined it with the main program in this SDL Empire tutorial. You can see it in action, it no longer loads the map from a predefined text file but one click of the New Map button and instantly there is a new map. I've temporarily removed the shroud so you can see the new maps in all their glory.
There was a fair bit of refactoring; the map generator had its own SDL code which has been ditched. It's now just a library that's called from the main program but adding it meant a bit of radical surgery, moving comon type declarations into a common.h header file and other changes.
Now I can progress towards the actual game play, adding armies etc.
- Read more about game tutorials in the Games Programming

