Convert create scenario dialogs, reimplement part of the scenario creation process, and allow text edit fields to contain default values in the XML definition.
- Note: This does not mean that scenario creation is now possible, since it relies on scenario saving which is still not implemented.
This commit is contained in:
@@ -248,9 +248,10 @@ void handle_file_menu(int item_hit) {
|
||||
save_scenario();
|
||||
break;
|
||||
case 3: // new scen
|
||||
build_scenario();
|
||||
if (overall_mode == MODE_MAIN_SCREEN)
|
||||
if(build_scenario()) {
|
||||
overall_mode = MODE_MAIN_SCREEN;
|
||||
set_up_main_screen();
|
||||
}
|
||||
break;
|
||||
|
||||
case 5: // quit
|
||||
|
||||
Reference in New Issue
Block a user