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
Jonathan G Rennison
4cee6f3d79
CMake: Remove disabling asserts for release builds
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
73edc5aaba
CMake: Add ucontext on Mac/OSX
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
9470ad050b
CMake: Fix configure defines
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
f1a9d0d056
CMake: Fix .ottdrev-vc read and write
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
0fb31fd693
CMake: Add fcitx
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
e05fa5c1c3
CMake: Add builtins
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
39eaa94435
CMake: Add ucontext
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
6b7668dc83
CMake: Add sigaction, sigaltstack, self dbg
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
10626baaf2
CMake: Add -fno-stack-check for OSX
...
See: 0a027a27
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
a8c3ceb3c9
CMake: Add libdl and demangle support
2020-06-28 21:57:02 +01:00
Jonathan G Rennison
37e682cb07
gitignore: Add build directories
2020-06-28 21:57:02 +01:00
TechGeekNZ
6a29ddc2cc
Cleanup: Fix typo in jgrpp-low-level-changes.md
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
ilayaraja97
cf8ccf4b08
Fix #8131 : small bridges also have pillars drawn
2020-06-28 13:54:04 +01:00
TrevorShelton
a4a9908a51
Fix #8221 : Missing specific error message for bridge too long ( #8240 )
2020-06-28 12:53:56 +01:00
Jonathan G Rennison
a16d0b71b3
Fix handling of vehicles with no orders in departure board
...
See: #162
2020-06-28 11:53:58 +01:00
glx22
63d20c029b
Fix 887b912af
: MinGW requires an extra link flag with _FORTIFY_SOURCE ( #8246 )
...
see #7860
2020-06-28 01:18:28 +02:00
Charles Pigott
218db00c4c
Fix #8216 : Don't show floating text on autoreplace if cost is 0
2020-06-28 00:00:28 +01:00
duck
1bc7047af7
Doc: Acknowledge integer type mismatch in certain admin packets using AdminUpdateType ( #8238 )
2020-06-27 18:21:17 +02:00
Charles Pigott
75a2ae2f48
Change: Also make roadside trees match the tree transparency option
2020-06-27 16:07:17 +01:00
Charles Pigott
4c45448fa9
Fix #8129 : Crash if a news message expires while viewing the endgame screen
2020-06-27 16:07:08 +01:00
Charles Pigott
dc8d0089e9
Codechange: Make sure script enums are the same size as their normal counterparts
2020-06-27 14:51:14 +01:00
Charles Pigott
887b912af1
Codechange: Only apply FORTIFY_SOURCE in non-debug builds
...
It requires -O1 (or greater) and GCC spews out warnings if you try using it with -O0
2020-06-27 14:51:14 +01:00
Charles Pigott
e5f931ef42
Fix: Warning about using the wrong enum type
2020-06-27 14:51:14 +01:00
Charles Pigott
64b1c70fdd
Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings that followed
2020-06-27 14:51:14 +01:00
Charles Pigott
224acb78b0
Fix: Compiler warnings about memsetting non-trivial classes
2020-06-27 14:51:14 +01:00
Abdurrahmaan Iqbal
8a655c7fb6
Fix #8232 : 'Huge screenshot' warning being shown incorrectly
2020-06-27 14:19:35 +01:00
TechGeekNZ
3c8d0aa354
Cleanup: Give TakeScreenshot
a more sensible name
2020-06-27 14:19:35 +01:00
TechGeekNZ
ed6f31f601
Cleanup: Remove redundant implementation of TakeScreenshot
2020-06-27 14:19:35 +01:00