[patch]Run-to (fast go-to order creation)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
adf88
Chief Executive
Chief Executive
Posts: 644
Joined: 14 Jan 2008 15:51
Location: PL

[patch]Run-to (fast go-to order creation)

Post by adf88 »

run-to_r27741.diff
(10.48 KiB) Downloaded 78 times
This patch aims to make creating a list of vehicles orders to be faster and less cumbersome. With it you can configure via hotkeys.cfg how different combinations of special keys (CTRL, SHIFT, ALT, META) influence the type of being inserted vehicle orders.

This is a new reveal of "transfer" with shift, "go via" with ctrl+shift patch.

Standard OpenTTD already uses CTRL key as a modifier for some orders. These combinations are preserved and some new combinations were added:

Code: Select all

                  CTRL  | SHIFT | CTRL+SHIFT
--------------------------------------------
fullload           *    |       |
--------------------------------------------
no_load                 |   +   |
--------------------------------------------
unload                  |       |
--------------------------------------------
transfer                |   +   |
--------------------------------------------
no_unload               |       |
--------------------------------------------
go_via                  |       |     +
--------------------------------------------
nonstop_station         |       |
--------------------------------------------
nonstop_waypoint   *    |       |
--------------------------------------------
nonstop_depot           |       |
--------------------------------------------
service_depot      *    |       |
* standard OpenTTD modifers
+ added modifiers
this table might be updated in the feature

Above table shows only the default set. Each row is configurable and other key combinations are possible. Combinations are mutually exclusive e.g. if you assign CTRL to "go non-stop" and SHIFT to "go via", you won't get "go non-stop via" when CTRL+SHIFT is pressed. You would have to define CTRL+SHIFT as an alternative combination for both modifiers.

Looking forward on suggestions especially what modifiers to add or change and what the default set should be.
:] don't worry, be happy and checkout my patches
User avatar
adf88
Chief Executive
Chief Executive
Posts: 644
Joined: 14 Jan 2008 15:51
Location: PL

Re: [patch]Run-to (fast go-to order creation)

Post by adf88 »

New version released. Improved ALT key handling.
:] don't worry, be happy and checkout my patches
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 10 guests