@@ -81,7 +81,7 @@ public SingleMenu(AbstractMenu menu, MenuType menuType, int data = 0, double Max
81
81
//Don't allow quitting or customisation of the controls in kiosk mode
82
82
Items [ 1 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "options" , "title" } ) , MenuTag . Options , 0 ) ;
83
83
Items [ 2 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "menu" , "customize_controls" } ) , MenuTag . MenuControls , 0 ) ;
84
- Items [ 3 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "packages " , "title " } ) , MenuTag . Packages , 0 ) ;
84
+ Items [ 3 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "menu " , "tools " } ) , MenuTag . Tools , 0 ) ;
85
85
Items [ 4 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "menu" , "quit" } ) , MenuTag . MenuQuit , 0 ) ;
86
86
}
87
87
else
@@ -479,7 +479,16 @@ public SingleMenu(AbstractMenu menu, MenuType menuType, int data = 0, double Max
479
479
// method pictures mean we need top left at all times
480
480
Align = TextAlignment . TopLeft ;
481
481
break ;
482
-
482
+ case MenuType . Tools : // ask for quit confirmation
483
+ Items = new MenuEntry [ 5 ] ;
484
+ Items [ 0 ] = new MenuCaption ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "menu" , "tools" } ) ) ;
485
+ Items [ 1 ] = new MenuCommand ( menu , "Object Viewer" , MenuTag . ObjectViewer , 0 ) ;
486
+ Items [ 2 ] = new MenuCommand ( menu , "Route Viewer" , MenuTag . RouteViewer , 0 ) ;
487
+ Items [ 3 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "packages" , "title" } ) , MenuTag . Packages , 0 ) ;
488
+ Items [ 4 ] = new MenuCommand ( menu , Translations . GetInterfaceString ( HostApplication . OpenBve , new [ ] { "menu" , "back" } ) , MenuTag . MenuBack , 0 ) ;
489
+ Selection = 1 ;
490
+ Align = TextAlignment . TopLeft ;
491
+ break ;
483
492
case MenuType . Control :
484
493
//Refresh the joystick list
485
494
Program . Joysticks . RefreshJoysticks ( ) ;
0 commit comments