glest-source
glest-source copied to clipboard
Implement campaigns
One simple way I thought of to implement campaigns was to use existing scenario code.
So basically there would be a menu option for "Campaigns".
So once at the Campaigns menu, one would see
Campaign Foo Campaign Bar ...
The "Campaign Foo" directory would basically contain all the scenarios (each in it's own scenario directory, with the same format as we're using now) related to that campaign. If they were prefixed by a number I think would be best.
Or Foo_1_scenario_name
Using that method may be the simplest, but a better way would be to have a campaign.xml file that has the info about each scenario in that campaign.
But we'd still need separate directories for each campaign. If you had 5 campaigns, for example, each one with an average of 20 scenarios, you'd wind up with 100 sub-dirs. Better to separate them into their respective campaign folders.