Commit Graph

36959 Commits

Author SHA1 Message Date
Jonathan G Rennison
3a65346abc Timetable auto: Skip congestion check for depot service orders 2020-07-07 20:20:12 +01:00
Jonathan G Rennison
21a4c97a8a Fix general transparency hotkey not updating vehicles in tunnels 2020-07-07 18:43:34 +01:00
Jonathan G Rennison
894fd6c609 Add separation state to DumpVehicleFlags 2020-07-07 18:22:06 +01:00
Jonathan G Rennison
b7a9f9901a Auto-separation: Do not clear separation on congestion
Clear timetable started, and do no separate using vehicles
without timetable started
2020-07-07 18:21:41 +01:00
Jonathan G Rennison
09a1a7ce1a Auto-separation: Tidy up Vehicle::InitSeparation 2020-07-07 18:14:50 +01:00
Jonathan G Rennison
fdd8ae2b9b Whitespace fix 2020-07-07 18:13:53 +01:00
Jonathan G Rennison
b520193831 Fix incorrect news parameters for vehicle too heavy advice message 2020-07-07 18:10:38 +01:00
Jonathan G Rennison
53f9fa139d Remove redundant year/month date globals 2020-07-07 17:53:54 +01:00
Jonathan G Rennison
c7f6a711b3 Departures board: Fix handling of via orders for arrivals 2020-07-07 17:41:34 +01:00
Jonathan G Rennison
8112e012b6 Fix station catchment overlay not being cleared when distant join window closed 2020-07-07 17:35:26 +01:00
Jonathan G Rennison
5e7f42154d Merge branch 'pr-8263' into HEAD 2020-07-07 17:29:15 +01:00
Jonathan G Rennison
737ced9f50 Merge branch 'master' into jgrpp 2020-07-07 17:28:19 +01:00
Jonathan G Rennison
641e682e3f Merge pull request #167 from internet-trains/gs-rivers
Gamescript river construction
2020-07-07 01:19:26 +01:00
Yourself
1330a9f59f Fix: allow deity company to always build river 2020-07-06 17:11:15 -07:00
Yourself
3927ec08c6 Feature: GSMarine.BuildRiver function 2020-07-06 14:32:18 -07:00
Jonathan G Rennison
4ac30471a3 Add debug console command to merge all linkgraph jobs ASAP 2020-07-06 19:51:26 +01:00
Jonathan G Rennison
cd89b246a7 Reset vehicle lateness when auto-timetable jam detected 2020-07-06 17:27:15 +01:00
Jonathan G Rennison
caa0f6a044 TBTR: Relax assert restriction on new train in TransferCargoForTrain 2020-07-06 17:21:24 +01:00
Jonathan G Rennison
c6f2edda06 Script: Increase verbosity of compat script not found error message 2020-07-06 17:20:18 +01:00
Jonathan G Rennison
e912e5dc63 Skip road vehicle cargo age period callback for known bad GRFs 2020-07-05 00:42:29 +01:00
Jonathan G Rennison
56c514f43b Fix max template param in CompanyFinancesWindow::OnHundredthTick 2020-07-04 23:47:48 +01:00
Jonathan G Rennison
bb8d2c3fe0 Fix 6821c0e9: Incorrect use of __builtin_mul_overflow
Fixes: #164
2020-07-04 23:46:36 +01:00
Łukasz Hryniuk
7bef7f86f3 Fix: refresh coverage on option switch 2020-07-04 22:13:40 +02:00
Jonathan G Rennison
5034421ee4 Never set stable tag bit in NewGRF version value 2020-07-04 21:04:16 +01:00
TechGeekNZ
716c883737 Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
2020-07-03 09:08:46 +02:00
Jonathan G Rennison
6288abae56 Saveload: Improve error messages for loading unsupported versions 2020-07-03 02:11:19 +01:00
Jonathan G Rennison
f4cf966167 Saveload: Add version label feature to SLXI chunk 2020-07-03 02:10:04 +01:00
Jonathan G Rennison
d5ada6a14b Add setting to control RV re-routing on road layout change
Default to road removal only
This is due to poor performance with many RVs when town growth is
continually adding to the road layout
2020-07-02 17:47:26 +01:00
stormcone
816fada2b1 Fix #8250: [NRT] Company infrastructure window always omits last road/tramtype 2020-07-02 12:35:28 +02:00
Jonathan G Rennison
38d42795c8 Add setting to disable vehicle expiry after a given year 2020-07-01 20:36:40 +01:00
Jonathan G Rennison
7ccbb6cf16 Debug: Show engine date properties in vehicle debug window 2020-07-01 19:10:14 +01:00
translators
94d5fcab4b Update: Translations from eints
czech: 3 changes by djst
2020-07-01 19:45:39 +02:00
Jonathan G Rennison
8f964ee637 Add day length compatibility fixup for BeeRewards GS 2020-07-01 18:21:19 +01:00
Jonathan G Rennison
501f7458db Script: Add method to get day length factor 2020-07-01 17:29:18 +01:00
Jonathan G Rennison
610f8b9eca Crashlog: Unix: Fix getting symbols using BFD 2020-06-30 23:53:51 +01:00
Jonathan G Rennison
22c3a01069 Comment out additional includes of <cassert>
This overrode our own assert handler in stdafx.h
2020-06-30 22:18:24 +01:00
Jonathan G Rennison
3adeff1883 Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	cmake/CompileFlags.cmake
#	src/bridge_gui.cpp
#	src/saveload/afterload.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/town_sl.cpp
#	src/screenshot.cpp
#	src/screenshot.h
#	src/toolbar_gui.cpp
#	src/town.h
#	src/town_cmd.cpp
2020-06-30 21:43:04 +01:00
Jonathan G Rennison
d6f785d125 Merge branch 'pr-163' into jgrpp 2020-06-30 21:05:00 +01:00
glx22
909c9656ce Fix: [CMake] cross-compiling requires native tools
(cherry picked from commit fdaf0d0b2f82701c8ea1e9a1125415351cf49e57)
2020-06-30 20:56:45 +01:00
Jonathan G Rennison
1958795a94 Fix comment for DivTowards*Inf functions 2020-06-30 08:10:21 +01:00
Jonathan G Rennison
1aefc9d010 Use malloc instead of calloc for MemoryDumper::AllocateBuffer 2020-06-29 17:20:27 +01:00
Jonathan G Rennison
10aab3e3a3 CMake: Add BFD, support new BFD API 2020-06-28 21:57:02 +01:00
Jonathan G Rennison
9470ad050b CMake: Fix configure defines 2020-06-28 21:57:02 +01:00
TechGeekNZ
cf8ea74733 Update: Merge branch 'jgrpp_master_cmake' into jgrpp_cmake 2020-06-28 21:56:43 +01:00
dP
7045186594 Change #8159: Remove now unused town cargo caches without bumping the savegame version 2020-06-28 18:23:59 +02:00
dP
380fd8cab4 Fix: Make subsidies scan tiles for town acceptance and production instead of using desync-prone town caches 2020-06-28 18:23:59 +02:00
dP
ca2604c4e2 Revert #8157: Redundant change 2020-06-28 18:23:59 +02:00
Michael Lutz
6d3c2edc59 Add: [NewGRF] Industry behaviour flag to override second cargo production clamping for water industries when using smooth economy.
Smooth economy is only used when the corresponding setting is enabled and the industries does not use the production callback.
2020-06-28 15:33:37 +02:00
Jonathan G Rennison
7a09413a1a Fix: Incorrect save/load array size of Town::cargo_accepted
In 11ab3c4e the number of cargo types was changed from 32 to 64.
The save/load of Town::cargo_accepted was not updated, such that
only half of the data structure is saved/loaded in savegame versions
199 to 218.
Discard and regenerate data from all savegame versions prior to 219.
2020-06-28 15:32:53 +02:00
Jonathan G Rennison
54237b0e98 Codechange: Move SlSkipBytes to saveload.h 2020-06-28 15:32:53 +02:00