mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- 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.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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user