Commit Graph

48425 Commits

Author SHA1 Message Date
Jonathan G Rennison
7332c0b673 Tracerestrict: Add load percentage conditional 2019-10-08 18:42:18 +01:00
Jonathan G Rennison
34a6f3c72a Fix text input when not in edit box mode, fix backtick handling 2019-10-08 02:28:09 +01:00
Jonathan G Rennison
5d1578bb7f Fix IME positioning with SDL2 2019-10-08 01:44:18 +01:00
Jonathan G Rennison
400f75bafb Add IME related info on SDL2 to CrashLog::LogLibraries 2019-10-08 01:08:14 +01:00
Jonathan G Rennison
6c21c93192 Add command line switch -Z to write detailed version information 2019-10-08 00:05:44 +01:00
Jonathan G Rennison
3b178b6f07 Scheduled dispatch: Add order backup support 2019-10-07 21:22:31 +01:00
Jonathan G Rennison
0472327ef1 Scheduled dispatch: Simplify schedule copying 2019-10-07 21:21:43 +01:00
Jonathan G Rennison
ef4055a7dc Scheduled dispatch: Mark read accessers as const 2019-10-07 20:50:19 +01:00
Jonathan G Rennison
94761b3fcd Fix order backup not saving/restoring timetable automate/separation state 2019-10-07 20:19:13 +01:00
Jonathan G Rennison
3e8b091913 Linkgraph: MCF: Skip source node Dijkstra when all demand satisfied 2019-10-06 17:55:04 +01:00
Jonathan G Rennison
04cf7d5500 Fix modifier key window not always updating 2019-10-06 05:21:16 +01:00
Jonathan G Rennison
9742a161b3 Clear _focused_window in window destructor before calling OnFocuLost
This is such that EditBoxInGlobalFocus does not return true
within any OnFocusLost handlers
2019-10-06 04:57:38 +01:00
Jonathan G Rennison
b77484c930 Merge branch 'master' into jgrpp 2019-10-06 01:45:38 +01:00
Jonathan G Rennison
a4c677a571 Add basic IME support to SDL2 video driver 2019-10-06 01:42:06 +01:00
Jonathan G Rennison
edfd378e93 Merge branch 'master' into jgrpp
# Conflicts:
#	source.list
#	src/blitter/32bpp_anim.cpp
#	src/linkgraph/linkgraphjob.cpp
#	src/order_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_type.h
2019-10-05 21:45:54 +01:00
Jonathan G Rennison
4438413f48 Linkgraph: Replace RB-tree with B-tree in MCF Dijkstra 2019-10-05 12:31:56 +01:00
Jonathan G Rennison
455e694e79 Refactor effect vehicle cache to reduce cost of inserts/removes 2019-10-05 12:28:23 +01:00
glx22
4154cf00f4
Fix 71a3e8346: decode_params need to be copied too (#7760) 2019-10-04 23:42:17 +02:00
translators
875419e4ee Update: Translations from eints
estonian: 12 changes by henrikp
2019-10-04 19:45:37 +02:00
Jonathan G Rennison
ac5139343a Maintain free list for text effect entries 2019-10-04 18:32:18 +01:00
Jonathan G Rennison
627cdf83eb Pool: Add a free bitmap, use for finding free slots 2019-10-04 02:48:14 +01:00
Jonathan G Rennison
23ad4ec879 YAPF: Reduce need to scan open list queue when moving best node to closed list 2019-10-04 02:12:45 +01:00
Jonathan G Rennison
33f5e00700 Null video driver: Add driver parameter to run until exit 2019-10-02 19:15:04 +01:00
translators
865eea8173 Update: Translations from eints
indonesian: 2 changes by fanioz
french: 3 changes by arikover
hungarian: 4 changes by Brumi
2019-10-02 19:45:39 +02:00
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