Commit Graph

49304 Commits

Author SHA1 Message Date
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
Michael Lutz
de4dc792a9 Fix: [CMake] Re-enable multi-threaded compilation for MSVC project files. 2020-07-05 21:11:09 +02: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
e39a1d2b6e CMake: Copy bin/ subdirs to build directory 2020-07-04 21:04:16 +01: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
glx22
97592c4093 Add: [CMake] Allow renaming of openttd binary 2020-07-02 21:18:14 +02:00
glx22
53de5b5c55 Fix: [CMake] Restore man file compression 2020-07-02 21:18:14 +02: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
903b0fdd39 CMake: Windows: Add usp10 lib 2020-07-02 00:04:44 +01:00
Jonathan G Rennison
15d32bcd19 CMake: Disable stripping in bundle 2020-07-01 21:52:21 +01: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
efaf935cbf CMake: Remove reference to empty bin/data dir 2020-07-01 00:36:10 +01:00
Jonathan G Rennison
1304d7c8b6 CMake: Add DbgHelp define for MinGW 2020-07-01 00:25:50 +01:00
Jonathan G Rennison
610f8b9eca Crashlog: Unix: Fix getting symbols using BFD 2020-06-30 23:53:51 +01:00
Jonathan G Rennison
fa42151290 CMake: Enable debug line tables if BFD found 2020-06-30 22:30:29 +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
Jonathan G Rennison
5075d8cdca CMake: Fix builtins compiler condition 2020-06-30 21:04:20 +01:00
glx22
909c9656ce Fix: [CMake] cross-compiling requires native tools
(cherry picked from commit fdaf0d0b2f82701c8ea1e9a1125415351cf49e57)
2020-06-30 20:56:45 +01:00
Dan Villiom Podlaski Christiansen
7fd7b51593 Fix: don't search for SDL, etc., on macOS 2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
e6be8be19d Fix: remove remainining usages of FALSE in CMake files 2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
70905ee82e Fix: fix building release tags
I tried building a tag, and got this error:

CMake Error at cmake/scripts/FindVersion.cmake:85 (string):
  string sub-command REGEX, mode REPLACE: regex "^[0-9.]*$" matched an empty
  string.
2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
c593893b56 Fix: set Mac deployment target
This silences an awful lot of warnings.
2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
241e3adae8 Fix: use proper flags for suppressing warnings in Clang 2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
0d46e20bd4 Add: add option for forcing coloured compiler output (useful for Ninja) 2020-06-30 09:43:00 +01:00
Dan Villiom Podlaski Christiansen
04c050f93e Fix: don't use ICU on macOS 2020-06-30 09:43:00 +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
33c2150c49 CMake: Add demangle and BFD to MinGW 2020-06-29 12:04:05 +01:00
Jonathan G Rennison
10aab3e3a3 CMake: Add BFD, support new BFD API 2020-06-28 21:57:02 +01:00
Jonathan G Rennison
378a405b0c CMake: Move built in GRfs to baseset dir 2020-06-28 21:57:02 +01:00
Jonathan G Rennison
ecc9eb4df1 CMake: Set optimisation flags if no build type specified 2020-06-28 21:57:02 +01:00