Commit Graph

48601 Commits

Author SHA1 Message Date
Jonathan G Rennison
170e71787b Add console commands to dump station flow stats 2019-10-01 02:34:37 +01:00
Jonathan G Rennison
0246d59c8d FlowStat: Replace btree_map with flat map which is inlined in small case
Inline storage for size <= 2
Size = 1 is ~90%
Size = 2 is ~9%
Size >=3 is ~1% and gets a separate allocation
2019-10-01 02:34:15 +01:00
Jonathan G Rennison
90550d9642 FlowStatMap: Replace RB-tree with btree-indexed vector 2019-10-01 02:13:33 +01:00
Jonathan G Rennison
0a1c1809ab Save/load: Pre-filter SaveLoad descriptor arrays for current version/mode, for chunks with many objects 2019-10-01 02:13:33 +01:00
translators
2e30601b9c Update: Translations from eints
czech: 91 changes by djst, 6 changes by belaseoci
spanish (mexican): 2 changes by Absay
2019-09-30 19:45:38 +02:00
Charles Pigott
3cc6b7f725 Fix: Signedness issue in midi driver 2019-09-30 14:00:06 +01:00
Charles Pigott
fe9731d32c Fix: clang and MSVC warnings (glx) 2019-09-30 14:00:06 +01:00
Charles Pigott
7b400d43c1 Codechange: Fix warning about discarding qualifiers by *really* casting the variable 2019-09-30 14:00:06 +01:00
Charles Pigott
b839e355ba Fix: Compilation error on MinGW due to usage of C++17 template deduction 2019-09-30 14:00:06 +01:00
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
99f5e29484 Doc: Update list of supported compilers 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
Charles Pigott
acf0242961 Change: [AzurePipelines] Use clang 3.9 instead of 3.8 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
6dd1f5c22d Version: Committing version data for tag: jgrpp-0.32-rc5 2019-09-22 11:08:18 +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
5c839ba8f3 Version: Committing version data for tag: jgrpp-0.32-rc4 2019-09-18 01:50:25 +01: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