(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next

This commit is contained in:
truebrain
2009-01-13 14:00:26 +00:00
parent 60d4900381
commit ee17e1e7b8
4 changed files with 41 additions and 7 deletions

View File

@@ -156,10 +156,10 @@ void AIFileInfo::CheckMethods(SQInteger *res, const char *name)
config.description = strdup("The amount of months after the start of the last AI, this AI will start (give or take).");
config.min_value = 0;
config.max_value = 120;
config.easy_value = 48;
config.medium_value = 24;
config.hard_value = 12;
config.custom_value = 24;
config.easy_value = AI::START_NEXT_EASY;
config.medium_value = AI::START_NEXT_MEDIUM;
config.hard_value = AI::START_NEXT_HARD;
config.custom_value = AI::START_NEXT_MEDIUM;
config.flags = AICONFIG_NONE;
info->config_list.push_back(config);