I want to make a strategy game where the player will be able to conquer and manage multiple cities. Each city will have a number of statistics (location, population, type and location of building etc). I also like to give the player the opportunity to randomize the map when he starts a new game. To do this, I am thinking of using 1 array for each city, that will hold all this information inside.
Since my game will feature a lot of cities, I would like to ask if there is any way to dynamically produce arrays in the beginning of the game. The current way to generate arrays is to drag and drop them from the editor, which is not practical when I want to produce 100s of cities and distribute them on the map or when I want to give the player the opportunity to choose the size of the overall map (eg Small map/55 cities).
Any thoughts on the subject?