Commit Graph

51298 Commits

Author SHA1 Message Date
TELK
2892bdde2e Update: Korean translation for 9d4d72cd1e 2021-07-04 22:00:06 +09:00
Jonathan G Rennison
f90d7662d8 Increase verbosity of station docking mismatch check in CheckCaches 2021-07-03 23:16:57 +01:00
Jonathan G Rennison
158608442c Merge pull request #281 from VacuumBreather/train_speed_adaptation
# Conflicts:
#	src/saveload/extended_ver_sl.cpp
#	src/saveload/extended_ver_sl.h
2021-07-03 23:00:25 +01:00
Jonathan G Rennison
9edc13b889 Make sure setting set correctly on loading existing saves 2021-07-03 22:56:17 +01:00
Jonathan G Rennison
fb4e10626e Make look ahead distance vaiable with speed, within a reasonable range 2021-07-03 22:50:43 +01:00
Jonathan G Rennison
b23ba0c6c0 Fix founding towns not filling the nearby station cache, causing desyncs
See: https://github.com/OpenTTD/OpenTTD/issues/9407
2021-06-30 17:30:08 +01:00
Jonathan G Rennison
587039daba Use CMD_LOG_AUX for all goal/story related commands 2021-06-30 17:14:27 +01:00
Jonathan G Rennison
232cfee8b5 Fix house placing picking wrong town when placing outside town enabled 2021-06-30 17:14:05 +01:00
Jonathan G Rennison
1ef18caa9a Show town window debug button in scenario editor 2021-06-30 17:13:29 +01:00
Jonathan G Rennison
98e2cb2e3e Open routing restriction window on ctrl-click of any non-prog signal
See: #294
2021-06-30 17:10:08 +01:00
Jonathan G Rennison
0f73fe765f
Merge pull request #293 from VacuumBreather/station_cargo_history
Add station cargo history
2021-06-29 19:53:18 +01:00
Jonathan G Rennison
b438380a1e Add station cargo history save/load support 2021-06-29 19:37:20 +01:00
Jonathan G Rennison
37c7cf9899 Remove number of days from hard-coded X axis label string
To support later day number changes and/or translations
2021-06-29 19:37:20 +01:00
Jonathan G Rennison
5698507d0b Change station cargo history storage format
Use uint16 to avoid truncation issues
Don't reserve memory for unused cargoes
Store history as ring buffer
Update history graph immediately on storage date
Show total waiting cargo
2021-06-29 19:37:20 +01:00
Jonathan G Rennison
f901da344e Add CargoTypesBit helper method to CargoSpec 2021-06-29 18:06:12 +01:00
Jonathan G Rennison
0b4dc151d5 Rename to BuildVehicleWindowCommon to BuildVehicleWindowBase
See: #287
2021-06-29 00:56:11 +01:00
Jonathan G Rennison
0773dde669
Merge pull request #287 from VacuumBreather/advanced_train_purchase_window
Advanced train purchase window
2021-06-29 00:43:26 +01:00
Jonathan G Rennison
dd5866c2c2 Fix loco and wagon button rows having different heights 2021-06-29 00:29:19 +01:00
Jonathan G Rennison
5e418128da Add setting for whether to use dual pane train purchase window 2021-06-29 00:11:07 +01:00
Jonathan G Rennison
70f7509126 Create common base class for build vehicle windows 2021-06-29 00:08:49 +01:00
Jonathan G Rennison
d1114b6b79 Fix build wagon button building locomotives instead 2021-06-28 23:43:37 +01:00
Jonathan G Rennison
ab5cee70ec Fix whitespace/code style issues 2021-06-28 23:38:12 +01:00
Jonathan G Rennison
42d1987713 Fix crash when building template vehicles 2021-06-28 23:35:00 +01:00
Jonathan G Rennison
1a7ebfd06c Fix duplication of sorter functions 2021-06-28 23:13:50 +01:00
Jonathan G Rennison
b4856d3164 Trim trailing whitespace 2021-06-28 23:02:16 +01:00
Jonathan G Rennison
dab1501b7c
Merge pull request #292 from VacuumBreather/minor_additions
Minor additions
2021-06-28 22:41:26 +01:00
Jonathan G Rennison
906ee568d6 Use a lower resort interval in veh windows when sorting by timetable delay 2021-06-28 22:37:40 +01:00
Jonathan G Rennison
c9c6b4cd92 Make GUIList resort interval variable 2021-06-28 22:37:00 +01:00
Andreas Schmitt
0f07ae839d Make the sort order toggle button resort a vehicle list 2021-06-28 21:41:35 +01:00
Jonathan G Rennison
b94b6268da
Merge pull request #291 from VacuumBreather/fix_warnings
Fix a few compiler warnings
2021-06-28 20:33:46 +01:00
Jonathan G Rennison
11e49ef99e Only apply signal speed restrictions from the front direction 2021-06-28 00:04:12 +01:00
Jonathan G Rennison
5fb3eb0bb9 Adjust signal speed restriction timeouts when date or day length changed 2021-06-27 23:07:32 +01:00
Jonathan G Rennison
e16c29ef7d Use already found iterator for erasing from hash map 2021-06-27 23:06:41 +01:00
Jonathan G Rennison
62075c88de Apply ATC speed restriction as advisory to prevent instant braking
Remove redundant function
2021-06-27 22:26:57 +01:00
Jonathan G Rennison
93be763301 Update ticks per tile constant 2021-06-27 22:12:29 +01:00
Jonathan G Rennison
c4a596b756 Fix missing file from fb0403dc 2021-06-27 09:30:09 +01:00
Jonathan G Rennison
fb0403dcee Add save/load support for train speed adaptation 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
ee2d77ecab Move train speed adaptation structs to separate header file 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
84f973880b Add signal speed restriction to vehicle debug info 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
3bba9ef37a Fix setting name 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
879a23811f Clear state when setting changed 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
e15acd3af8 Avoid train speed adaption overhead when setting not enabled 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
1819a4218b Clear signal speed restriction at game shutdown 2021-06-27 04:41:46 +01:00
Jonathan G Rennison
4d0cda12bd Fix saving one byte at a time in Save_SPRG 2021-06-27 04:12:27 +01:00
Jonathan G Rennison
be9b18df59 Fix wrong string code in lang text in 6c07758c 2021-06-27 04:11:09 +01:00
Jonathan G Rennison
28e39c9045 Fix trailing whitespace 2021-06-27 03:09:24 +01:00
Jonathan G Rennison
fdf9257649 Merge pull request #285 from VacuumBreather/drag_drop_group_name 2021-06-27 02:57:38 +01:00
Jonathan G Rennison
d246ba1dd1 Lower create group button when vehicle dragged over it 2021-06-27 02:55:21 +01:00
Jonathan G Rennison
6c07758cc3 Do name generation at client, fix localisation
Use existing group creation command
2021-06-27 02:28:52 +01:00
Andreas Schmitt
9b1783809d Add station cargo history 2021-06-23 08:48:46 +02:00