Commit Graph

35868 Commits

Author SHA1 Message Date
Charles Pigott
6378a78817 Codechange: Explicitly move a few variables to avoid a copy constructor (fixes warning from clang) 2019-09-30 14:00:06 +01:00
Charles Pigott
150884a93f Fix: Remove workaround for clang-3.8, now that GCC9 warns about it 2019-09-30 14:00:06 +01:00
Charles Pigott
73a2cee779 Fix: Quiet a bogus -Wmaybe-unitialized warning from GCC9 2019-09-30 14:00:06 +01:00
Charles Pigott
71a3e83468 Fix: GCC9's warnings about deprecated implicit assignment operators 2019-09-30 14:00:06 +01:00
frosch
041088d317 Fix fbbbc6e193: Crash when creating orders to stations with relocated station sign. (#7755)
Station::xy is the position of the station sign, and not necessarily a tile of the station.
2019-09-29 22:48:19 +02:00
JMcKiern
04f659e768 Fix: Some typos found using codespell 2019-09-29 21:27:32 +01:00
Michael Lutz
316e4e9417 Fix: [OSX] Macro name conflict when trying to compile the QuickTime music driver. 2019-09-29 20:31:48 +02:00
Michael Lutz
61d6fa97cc Fix: [OSX] Wrong allocator usage for creating a CFString. 2019-09-29 20:31:48 +02:00
Jonathan G Rennison
02bd91477d Merge branch 'cpp-btree' into jgrpp 2019-09-29 12:06:18 +01:00
Jonathan G Rennison
9176d9a284 cpp-btree: Update to match upstream
Add noexcept to swap-based move constructors and copy/move assignment operator
2019-09-29 12:03:12 +01:00
Jonathan G Rennison
ca4db69f12 Fix OrderDestinationIsAllowed not handling nearest depot orders 2019-09-27 08:19:24 +01:00
Jonathan G Rennison
5008a09fe9 Avoid unnecessary calls to SettingsDisableElrail in AfterLoadGame 2019-09-25 02:54:36 +01:00
Jonathan G Rennison
13138bd97b Bump FIO buffer size 2019-09-25 02:54:36 +01:00
Jonathan G Rennison
b6d755221a Add load filter to perform savegame decompression in a separate thread 2019-09-25 02:54:36 +01:00
Jonathan G Rennison
9354b5c15c Avoid iterating vehicle list to release disaster vehicles if there are none 2019-09-25 02:54:07 +01:00
Jonathan G Rennison
1391f8fc59 Use insert hints for station flow/share map insertion 2019-09-25 02:54:07 +01:00
Jonathan G Rennison
725ff47267 Avoid quadratic behaviour in updating nearby lists in RecomputeCatchmentForAll 2019-09-25 02:54:07 +01:00
Jonathan G Rennison
158f063a38 Avoid redundant re-scans for AI and game script files 2019-09-25 02:54:07 +01:00
Jonathan G Rennison
66b32df7cc Use multiple threads for NewGRF scan MD5 calculations, on multi-CPU machines 2019-09-25 02:54:07 +01:00
Jonathan G Rennison
8b8a97c248 Update line height cache in Win32FontCache::SetFontSize 2019-09-22 11:06:49 +01:00
Jonathan G Rennison
000f86f23d Fix town growth to correctly follow custom bridge heads 2019-09-21 23:13:53 +01:00
Jonathan G Rennison
e040ea1ce6 Fix road/tram catenary not being drawn on custom bridge heads 2019-09-21 11:52:08 +01:00
Jonathan G Rennison
fc5df15b77 Fix fbbbc6e193: Assumption that Station::xy is a station tile 2019-09-21 11:39:42 +01:00
Jonathan G Rennison
e0b33324a5 Fix 4bd33c6bd0: Assertion failure on non-road tiles 2019-09-21 11:39:06 +01:00
translators
ceb29cef85 Update: Translations from eints
chinese (simplified): 12 changes by ww9980
2019-09-20 19:45:40 +02:00
translators
23168ff3d8 Update: Translations from eints
chinese (simplified): 6 changes by ww9980
2019-09-19 19:45:39 +02:00
nikolas
2d27e8e685 Add #6173: New SDL 2 based video and sound drivers (#7086) 2019-09-19 17:18:50 +02:00
translators
b18a58d5e1 Update: Translations from eints
spanish (mexican): 9 changes by Absay
2019-09-18 19:45:40 +02:00
Jonathan G Rennison
1f535915d1 Merge branch 'master' into jgrpp-nrt
# Conflicts:
#	config.lib
#	src/core/bitmath_func.hpp
#	src/lang/korean.txt
#	src/main_gui.cpp
#	src/order_gui.cpp
#	src/script/api/script_object.cpp
#	src/station_cmd.cpp
#	src/video/cocoa/wnd_quartz.mm
2019-09-18 01:18:28 +01:00
Jonathan G Rennison
ef9f6f769e Improve logging of vehicle details in CheckCaches 2019-09-18 00:46:37 +01:00
Jonathan G Rennison
be0ea1b03f Increase desync msg ring buffer size, improve DumpDesyncMsgLog format 2019-09-17 21:39:34 +01:00
Jonathan G Rennison
0ce032339e Improve formatting of CompanyInfrastructure::Dump 2019-09-17 21:17:02 +01:00
glx
1f418555a1 Fix #7742, 66dd7c3: widget position can be negative 2019-09-17 20:11:34 +02:00
Jonathan G Rennison
4bd33c6bd0 Fix convert tool on road depots updating infra totals incorrectly 2019-09-17 00:45:47 +01:00
Jonathan G Rennison
a30638bc4a Merge branch 'jgrpp' into jgrpp-nrt 2019-09-16 22:28:35 +01:00
Jonathan G Rennison
d77c2d380f Add VehicleCache fields to vehicle debug inspect window 2019-09-16 21:06:55 +01:00
Michael Lutz
ed6a427fcc Change: [OSX] Recreate backing store if the colour profile of the screen (or the screen) the game window is one changes.
This will result in changing colours if moving OpenTTD from one screen to another, but should avoid performance problems if the window is moved.
2019-09-16 19:11:08 +01:00
Michael Lutz
994664dec5 Fix #7644: [OSX] Try to use system colour space to avoid video output performance degradation. 2019-09-16 19:11:08 +01:00
Jonathan G Rennison
ee812922b6 Fix mass order destination change of orders with load/unload by cargo 2019-09-16 01:02:50 +01:00
Jonathan G Rennison
e4b9eeee71 Set VRF_CONSIST_SPEED_REDUCTION flag in NormaliseTrainHead 2019-09-16 00:58:04 +01:00
Jonathan G Rennison
f9a8c3da46 Fix locked wait times not being preserved when moving orders to new station 2019-09-15 11:37:10 +01:00
Jonathan G Rennison
57337b76bd Fix false positives in order destination refcount mismatch check 2019-09-15 11:35:49 +01:00
Jonathan G Rennison
eb8ef65a0b CheckCaches: Indicate incorrect fields in vehicle cache mismatch message 2019-09-15 00:41:45 +01:00
Jonathan G Rennison
6792495705 Add -K switch to write savegame debug data and exit 2019-09-15 00:34:32 +01:00
Jonathan G Rennison
dd13f24804 Merge branch 'save_ext' into jgrpp 2019-09-14 21:27:15 +01:00
Jonathan G Rennison
c83dc67767 Fix -q switch error path failing as language data not yet loaded 2019-09-14 21:27:03 +01:00
Jonathan G Rennison
1e059d1a48 Increase text buffer size in WriteSavegameInfo 2019-09-14 21:04:21 +01:00
Niels Martin Hansen
d35254139a Fix #7479: Don't close construction windows when changing client name 2019-09-14 19:16:39 +01:00
Johannes E. Krause
1978b9122b Fix #7737, afbf6a5: missing return 2019-09-14 17:36:34 +02:00
glx22
2ed88d6898 Fix: inconsistent description for 32bpp-sse4-anim blitter (#7740) 2019-09-14 16:52:35 +02:00