mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 06:31:19 +02:00
- added support for translated techtrees. To produce a default techtree lng file in the proper techtree folder run:
megaglest --translate-techtrees=megapack where megapack is the name of the techtree
This commit is contained in:
@@ -50,6 +50,8 @@ const char *GAME_ARGS[] = {
|
||||
"--validate-scenario",
|
||||
"--validate-tileset",
|
||||
|
||||
"--translate-techtrees",
|
||||
|
||||
"--list-maps",
|
||||
"--list-techtrees",
|
||||
"--list-scenarios",
|
||||
@@ -123,6 +125,8 @@ enum GAME_ARG_TYPE {
|
||||
GAME_ARG_VALIDATE_SCENARIO,
|
||||
GAME_ARG_VALIDATE_TILESET,
|
||||
|
||||
GAME_ARG_TRANSLATE_TECHTREES,
|
||||
|
||||
GAME_ARG_LIST_MAPS,
|
||||
GAME_ARG_LIST_TECHTRESS,
|
||||
GAME_ARG_LIST_SCENARIOS,
|
||||
@@ -308,6 +312,11 @@ void printParameterHelp(const char *argv0, bool foundInvalidArgs) {
|
||||
printf("\n \t\texample:");
|
||||
printf("\n %s %s=desert2",extractFileFromDirectoryPath(argv0).c_str(),GAME_ARGS[GAME_ARG_VALIDATE_TILESET]);
|
||||
|
||||
printf("\n%s=x",GAME_ARGS[GAME_ARG_TRANSLATE_TECHTREES]);
|
||||
printf("\n \t\tProduces a deafult lng file for the specified techtree");
|
||||
printf("\n \t\tto prepare for translation into other languages.");
|
||||
printf("\n \t\tWhere x is a techtree name");
|
||||
|
||||
printf("\n%s=x",GAME_ARGS[GAME_ARG_LIST_MAPS]);
|
||||
printf("\n \t\tdisplay a list of game content: maps");
|
||||
printf("\n \t\twhere x is an optional name filter.");
|
||||
|
Reference in New Issue
Block a user