Commit Graph

651 Commits

Author SHA1 Message Date
dP 4b727dc447 Build preview for road stations 2021-03-20 13:54:01 +03:00
dP 5d512a4445 Add tool type to _thd when placing objects 2021-03-19 22:23:23 +03:00
dP ef9f3ff86f Fall back to regular(non-improved)) station joining if distant join is not allowed 2021-03-19 17:56:30 +03:00
dP 1a961a0600 Merge branch 'master' into 1.11 2021-03-18 00:21:09 +03:00
dP c36ef2b3f3 Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-03-15 20:11:52 +03:00
dP 595606287d Update to 1.11.0-RC1 2021-03-15 12:57:26 +03:00
Didac Perez Parera e708fb38da Feature: allow filtering on name in rail station window (#8706) 2021-03-13 10:00:36 +01:00
frosch d9b4413bc9 Codechange: rename sound ids to make more sense. (#8701) 2021-02-20 19:01:04 +01:00
dP f095a420d1 Add hotkey for blueprint rotation 2021-01-27 22:51:26 +03:00
dP 5b6f8646c3 Merge branch 'master' into blueprints 2021-01-27 19:08:02 +03:00
dP 688410e6ce Add rotate hotkey to station building window 2021-01-27 14:55:07 +03:00
dP 583f8a2a87 Add object highlight types from blueprint branch 2021-01-27 01:31:41 +03:00
dP 363cfa7e8c Add hotkey to rotate depot while building, default to middle mouse button (SDL2 only for now) 2021-01-27 01:13:37 +03:00
dP c47930887b Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-01-25 22:53:44 +03:00
dP 5e4506f493 Update to 1.11.0-beta1 2021-01-23 17:31:11 +03:00
Patric Stout b6ac5a3ab9 Fix 85a49a0d3: hotkeys were enabled outside of GM_NORMAL (#8534) 2021-01-08 23:28:46 +01:00
Patric Stout 85a49a0d36 Change: always allow to click on the toolbar icons for road/rail/dock/airport
This change allows a user to see what is available and what will become
available before it is available, instead of only disabling the button
with no further explanation. It also always allows building roads and
canals, even if no vehicles are available for road / water.

For rail/road/tram, a dropdown with available types is shown. If
none are available, it reads "None". If the type is not yet available,
it is greyed out.

For dock/airport, this always open the toolbar, but building airports,
docks, and depots buttons are disabled till vehicles are available
for those.

Road is the only exception, with the primary road always being
available. Here too, stations and depots are disabled till vehicles
become available. It does mean you can now always build roads to
for example help towns grow.
2021-01-08 16:43:51 +01:00
Charles Pigott 9b800a96ed Codechange: Remove min/max functions in favour of STL variants (#8502) 2021-01-08 11:16:18 +01:00
Kuhnovic a3a7928372 Feature: option to auto remove signals when in the way during rail construction (#8274) 2021-01-07 10:17:05 +01:00
dP feebf5499a Initial version of blueprints (copy/paste) 2020-12-22 02:35:34 +03:00
dP 4c16fd967e Merge remote-tracking branch 'upstream/master' 2020-08-09 22:02:18 +03:00
dP d3c06c25c8 Update to 1.10.3 2020-08-09 21:34:52 +03:00
dP bc4ce66ee2 Show preview when building a rail depot 2020-08-09 02:44:10 +03:00
dP aeb264bf5a Enable funding window in toolbar menu for spectators 2020-07-31 16:46:25 +03:00
Łukasz Hryniuk 3effad0bea Fix: Properly invalidate mouse-over station coverage highlight (#8263) 2020-07-27 17:37:47 +01:00
dP 495192890a Make rail building tools invert remove mode when buttons are fn-clicked 2020-07-13 21:44:31 +03:00
dP 7441767ed8 Make modifier key functions configurable 2020-07-13 01:35:07 +03:00
dP 2380beede6 Fix joining station selection in new ui when using fixed size station placement 2020-06-20 02:08:31 +03:00
dP 499bc8e5e6 Generate VS projects 2020-03-18 02:39:04 +03:00
dP 5201c504f4 Add experimental station building mechanics 2020-03-18 01:40:40 +03:00
Pavel Stupnikov 0455a24b30 Take over and improve default station building highlight 2020-02-07 01:42:54 +03:00
dP 1492a22027 Update to 1.10.0-beta2 2020-01-06 19:06:51 +03:00
dP c7c3966eec Update to 1.10.0-beta2 2020-01-06 18:49:34 +03:00
frosch b769eb30c4 Fix: Setting the default railtype to 'first/last available' did not work with NewGRF defined railtypes. 2019-12-23 17:23:20 +00:00
frosch 6fa217dfc8 Codechange: Use RAILTYPE_BEGIN instead of RAILTYPE_RAIL when the intention is iteration. 2019-12-23 17:23:20 +00:00
frosch 3d29c9483b Codechange: Use a switch with fall-through instead of a if-sequence with context data between cases. 2019-12-23 17:23:20 +00:00
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
dP 9774d7dbc5 Show closest town and adv zone when building station 2019-11-04 18:56:01 +03:00
dP ceea4c88be Merge 1.10.0-beta1 2019-11-01 16:08:44 +03:00
dP 599ccf0c2b Update to 1.10.0-beta1 2019-10-31 22:24:28 +03:00
dP b84a475e14 Initialize with OpenTTD 1.9.3 2019-10-31 21:58:04 +03:00
Pavel Stupnikov 95a6ff73cb Update to 1.9.3-RC1 2019-09-08 02:37:38 +03:00
Pavel Stupnikov 5131281a31 Update to 1.9.3-RC1
--HG--
branch : openttd
2019-09-08 02:22:38 +03:00
glx22 b3fd787959 Fix #7188: check the validity of command callback for scripts (#7701) 2019-09-07 17:37:01 +01:00
peter1138 c02ef3e456 Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
peter1138 81f0f97406 Feature: Add existing station coverage area display when placing new station parts. 2019-04-25 09:14:01 +02:00
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Michael Lutz c7b9987d08 Codechange: Switch DropDownList to directly use std::vector, thus making AutoDeleteSmallVector obsolete.
DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use
of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate
copy-free code for most situations.
2019-04-09 22:45:15 +02:00
Pavel Stupnikov 65d5d318e7 Close depot building tools after placement (with setting) 2019-04-01 18:09:36 +03:00
PeterN 6d1cc142c2 Change: Shorten engine rail type drop down in autoreplace window. (#7448)
In the autoreplace window, the rail type drop down is for choosing engines
of the given time. Many rail types do not have engines specifically designed for them,
and are merely compatible with other rail types. This list is thus unwieldy and many
options have no engines available.

As this drop down is for choosing _engine_ rail type rather than compatible rail types,
we can list just the rail types explicitly listed by engines.
2019-03-31 02:05:23 +01:00