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:
@@ -743,8 +743,8 @@ void import_town(short /*which_town*/,fs::path /*temp_file_to_load*/) {
|
||||
}
|
||||
|
||||
// When this is called, the current town is the town to make town 0.
|
||||
void make_new_scenario(const char* /*file_name*/,short /*out_width*/,short /*out_height*/,short /*making_warriors_grove*/,
|
||||
short /*use_grass*/) {
|
||||
void make_new_scenario(std::string /*file_name*/,short /*out_width*/,short /*out_height*/,bool /*making_warriors_grove*/,
|
||||
bool /*use_grass*/) {
|
||||
// short i,j,k,num_outdoors;
|
||||
// FSSpec dummy_file;
|
||||
// NavReplyRecord reply;
|
||||
|
Reference in New Issue
Block a user