Yesterday and today I spent working on the campaigns. I had most of the code in place, but it was jury-rigged with #ifdefs in the old screens, for testing purposes. So I had to move that code into the new screens where they belonged, taking it out of the old screens, and make sure that the code worked. I also made a test campaign, which had the additional bonus of testing the editors.
So now on the new opening menu, you click on Start Campaign, and it brings up the Select Campaign window. You select your campaign, and it takes you to the Mission Screen where it tells you about your first mission. Once you're done there, it takes you to the player setup screen so that you can modify your abilities, but not any attributes set by the maps or scenarios. From there, you proceed to the race setup screen as usual, but it's been set with data from the scenario. If you win the misison, after you submit your score, the Continue Campaign button will take you to the mission screen with the next mission, if there is one. If you lose, it will take you to the mission screen with the same mission. Once you've won all the missions, a dialog with the epilogue text will come up.
Things to do tomorrow:
*Check to see what happens when you try to increase the difficulty from the race setup screen and not all the alien races are enabled.
*Show saved games from the campaign on the Select Campaign window.
*Make sure that the default text works for missions winning + losing without victory/defeat text.