- by default route planner is disabled for release, need to add the following to the ini to get it to show up:

EnableRoutePlannerPathfinder=true
This commit is contained in:
Mark Vejvoda 2011-04-05 05:49:04 +00:00
parent 0ad84a6920
commit ebbdf2d2c2
2 changed files with 7 additions and 2 deletions

View File

@ -191,7 +191,10 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
listBoxPathFinderType.init(xoffset+450, aPos, 150);
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRegular"));
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRoutePlanner"));
if(config.getBool("EnableRoutePlannerPathfinder","false") == true) {
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRoutePlanner"));
}
listBoxPathFinderType.setSelectedItemIndex(0);
listBoxPathFinderType.setEditable(false);

View File

@ -307,7 +307,9 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu, b
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
listBoxPathFinderType.init(xoffset+650, aPos, 150);
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRegular"));
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRoutePlanner"));
if(config.getBool("EnableRoutePlannerPathfinder","false") == true) {
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRoutePlanner"));
}
listBoxPathFinderType.setSelectedItemIndex(0);
// Advanced Options