Difference between revisions of "EnhancedGraphicalUserInterface"

From TTWiki
Jump to navigationJump to search
m (9 revisions)
 
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Enhance the graphical user interface inside TTD'''''
 
   
 
=Enhanced Graphical User Interface=
 
=Enhanced Graphical User Interface=
Line 6: Line 5:
 
Enhance the graphical user interface inside TTD
 
Enhance the graphical user interface inside TTD
   
-=Switch=-
+
==Switch==
   
 
Configuration file: enhancegui
 
Configuration file: enhancegui
Line 12: Line 11:
 
Command line: -YG
 
Command line: -YG
   
-=Description=-
+
==Description==
   
This switch makes some changes to the graphical user interface in TTD.  For example, it modifies the station construction menu if largerstations is active and shows buttons for all 7 lengths and all 7 numbers of platforms.  It also makes the depot window slightly larger, to accomodate 14 wagons instead of just 10.
+
This switch makes some changes to the graphical user interface in TTD. For example, it modifies the station construction menu if largerstations is active and shows buttons for all 7 lengths and all 7 numbers of platforms. It also makes the depot window slightly larger, to accomodate 14 wagons instead of just 10.
   
It is a bit switch.  To find out how that works, see [[BitSwitches|Bit Switches]], or simply add up the values of the options you want:
+
It is a bit switch. To find out how that works, see [[BitSwitches| Bit Switches]], or simply add up the values of the options you want:
   
  +
{|
||Bit |Value |Meaning
+
!Bit !!Value !!Meaning
   
  +
|-
0 |1 |(reserved, do not use)
+
|0 ||1 ||(reserved, do not use)
   
  +
|-
1 |2 |Make depot window even larger (18 wagons)
+
|1 ||2 ||Make depot window even larger (18 wagons)
   
  +
|-
2 |4 |Dragging a railway vehicle outside the depot window sells the vehicle (i.e. acts as dragging to the trashcan)
+
|2 ||4 ||Dragging a railway vehicle outside the depot window sells the vehicle (i.e. acts as dragging to the trashcan)
   
  +
|-
3 |8 |Show horizontal trashcan bar instead of the standard vertical one||
+
|3 ||8 ||Show horizontal trashcan bar instead of the standard vertical one
  +
|}
   
The improved station construction menu and 14-wagon depot window are always  activated, other bits are off by default.
+
The improved station construction menu and 14-wagon depot window are always activated, other bits are off by default.
   
 
This patch was contributed by Oskar Eisemuth.
 
This patch was contributed by Oskar Eisemuth.
Line 42: Line 47:
 
2.0.1 alpha 9 or later
 
2.0.1 alpha 9 or later
   
-=Switch=-
+
==Switch==
   
 
Configuration file: enhancegui on|off
 
Configuration file: enhancegui on|off
Line 48: Line 53:
 
Command line: -YG
 
Command line: -YG
   
-=Description=-
+
==Description==
   
The enhancegui switch is an on/off switch since TTDPatch 2.0.1 alpha 9.  Instead of choosing bits for the features you want or don't want, you now get a new entry in the settings menu, which opens a window controlling the enhancegui settings.
+
The enhancegui switch is an on/off switch since TTDPatch 2.0.1 alpha 9. Instead of choosing bits for the features you want or don't want, you now get a new entry in the settings menu, which opens a window controlling the enhancegui settings.
   
 
{picture file=img/wiki_up//enhanced-gui-menu.png}
 
{picture file=img/wiki_up//enhanced-gui-menu.png}
Line 56: Line 61:
 
You can select the settings how you like them but normally there are lost when you restart, load or create a new game.
 
You can select the settings how you like them but normally there are lost when you restart, load or create a new game.
   
When you have a setting you like click "Save as Default". The new default settings will then be applied after restarting, loading or creating new games.
+
When you have a setting you like click "Save as Default". The new default settings will then be applied after restarting, loading or creating new games.
   
 
Sometimes, however, you want certain games to use different settings. That's what the grey buttons are for: you can stick the current settings to your game. When the game is saved, the GUI settings are saved with it, and everytime you load the savegame the settings are restored.
 
Sometimes, however, you want certain games to use different settings. That's what the grey buttons are for: you can stick the current settings to your game. When the game is saved, the GUI settings are saved with it, and everytime you load the savegame the settings are restored.
   
To return to the default settings for a savegame and not save special settings for the game, you may press the "unstick" button. After saving your savegame it will use the default settings next time you load it, just as before.
+
To return to the default settings for a savegame and not save special settings for the game, you may press the "unstick" button. After saving your savegame it will use the default settings next time you load it, just as before.
   
In addition the "Two Company Colours" Window will be available to use.
+
In addition the "Two Company Colours" Window will be available to use.
   
 
{picture file=img/wiki_up//twoccgui.png}
 
{picture file=img/wiki_up//twoccgui.png}

Revision as of 11:16, 15 June 2011


Enhanced Graphical User Interface

Enhance the graphical user interface inside TTD

Switch

Configuration file: enhancegui

Command line: -YG

Description

This switch makes some changes to the graphical user interface in TTD. For example, it modifies the station construction menu if largerstations is active and shows buttons for all 7 lengths and all 7 numbers of platforms. It also makes the depot window slightly larger, to accomodate 14 wagons instead of just 10.

It is a bit switch. To find out how that works, see Bit Switches, or simply add up the values of the options you want:

Bit Value Meaning
0 1 (reserved, do not use)
1 2 Make depot window even larger (18 wagons)
2 4 Dragging a railway vehicle outside the depot window sells the vehicle (i.e. acts as dragging to the trashcan)
3 8 Show horizontal trashcan bar instead of the standard vertical one

The improved station construction menu and 14-wagon depot window are always activated, other bits are off by default.

This patch was contributed by Oskar Eisemuth.

For the description of this feature in the latest alpha versions, please go to page 2.

...page...

Enhanced Graphical User Interface

Enhance the graphical user interface inside TTD

2.0.1 alpha 9 or later

Switch

Configuration file: enhancegui on|off

Command line: -YG

Description

The enhancegui switch is an on/off switch since TTDPatch 2.0.1 alpha 9. Instead of choosing bits for the features you want or don't want, you now get a new entry in the settings menu, which opens a window controlling the enhancegui settings.

{picture file=img/wiki_up//enhanced-gui-menu.png}

You can select the settings how you like them but normally there are lost when you restart, load or create a new game.

When you have a setting you like click "Save as Default". The new default settings will then be applied after restarting, loading or creating new games.

Sometimes, however, you want certain games to use different settings. That's what the grey buttons are for: you can stick the current settings to your game. When the game is saved, the GUI settings are saved with it, and everytime you load the savegame the settings are restored.

To return to the default settings for a savegame and not save special settings for the game, you may press the "unstick" button. After saving your savegame it will use the default settings next time you load it, just as before.

In addition the "Two Company Colours" Window will be available to use.

{picture file=img/wiki_up//twoccgui.png}

This Gui will replace the company colour window, it allow you to set a primary and second company colour (for newgrf sets which have support for it). It will also allow you to set colour themes for vehicle classes (Trains, Road Vehicles, etc.), as well as sub classes within them (Steam, Diesel, etc).

Please note that second company colours will only be shown on newgrf vehicles with support for them (UKRS for example), in addition to this, Multiple Unit colour schemes only work with newgrf vehicles which have been flagged as Multiple Unit.

Additional features this switch enables:

  • Draggable dynamite
  • Draggable diagonal tracks
  • Enhanced map window that follows main view
  • Resizeable windows
  • Pin-able Windows (stops a window closing if Del pressed)