- 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:
parent
0ad84a6920
commit
ebbdf2d2c2
|
@ -191,7 +191,10 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM
|
||||||
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
|
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
|
||||||
listBoxPathFinderType.init(xoffset+450, aPos, 150);
|
listBoxPathFinderType.init(xoffset+450, aPos, 150);
|
||||||
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRegular"));
|
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.setSelectedItemIndex(0);
|
||||||
listBoxPathFinderType.setEditable(false);
|
listBoxPathFinderType.setEditable(false);
|
||||||
|
|
||||||
|
|
|
@ -307,7 +307,9 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu, b
|
||||||
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
|
listBoxPathFinderType.registerGraphicComponent(containerName,"listBoxPathFinderType");
|
||||||
listBoxPathFinderType.init(xoffset+650, aPos, 150);
|
listBoxPathFinderType.init(xoffset+650, aPos, 150);
|
||||||
listBoxPathFinderType.pushBackItem(lang.get("PathFinderTypeRegular"));
|
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.setSelectedItemIndex(0);
|
||||||
|
|
||||||
// Advanced Options
|
// Advanced Options
|
||||||
|
|
Loading…
Reference in New Issue
Block a user