Commit Graph

49330 Commits

Author SHA1 Message Date
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
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