mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-18 20:19:11 +00:00
Codechange: use fmt::format_to to format the help message
This commit is contained in:
@@ -112,9 +112,9 @@ public:
|
||||
static void Save(CompanyID company);
|
||||
|
||||
/** Wrapper function for AIScanner::GetAIConsoleList */
|
||||
static std::string GetConsoleList(bool newest_only = false);
|
||||
static void GetConsoleList(std::back_insert_iterator<std::string> &output_iterator, bool newest_only);
|
||||
/** Wrapper function for AIScanner::GetAIConsoleLibraryList */
|
||||
static std::string GetConsoleLibraryList();
|
||||
static void GetConsoleLibraryList(std::back_insert_iterator<std::string> &output_iterator);
|
||||
/** Wrapper function for AIScanner::GetAIInfoList */
|
||||
static const ScriptInfoList *GetInfoList();
|
||||
/** Wrapper function for AIScanner::GetUniqueAIInfoList */
|
||||
|
@@ -289,14 +289,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* static */ std::string AI::GetConsoleList(bool newest_only)
|
||||
/* static */ void AI::GetConsoleList(std::back_insert_iterator<std::string> &output_iterator, bool newest_only)
|
||||
{
|
||||
return AI::scanner_info->GetConsoleList(newest_only);
|
||||
AI::scanner_info->GetConsoleList(output_iterator, newest_only);
|
||||
}
|
||||
|
||||
/* static */ std::string AI::GetConsoleLibraryList()
|
||||
/* static */ void AI::GetConsoleLibraryList(std::back_insert_iterator<std::string> &output_iterator)
|
||||
{
|
||||
return AI::scanner_library->GetConsoleList(true);
|
||||
AI::scanner_library->GetConsoleList(output_iterator, true);
|
||||
}
|
||||
|
||||
/* static */ const ScriptInfoList *AI::GetInfoList()
|
||||
|
Reference in New Issue
Block a user