Commit Graph

48519 Commits (ca3c72438e77032f2a327c17e2a3a0be59238d15)
 

Author SHA1 Message Date
Joe Stringer 66c32533ec Fix: [Cygwin] Fix missing definitions in stdafx
Fix the following compile errors:

In file included from openttd/src/debug.h:15:0,
                 from openttd/src/string.cpp:13:
openttd/src/cpu.h:35:19: error: 'uint' was not declared in this scope
 bool HasCPUIDFlag(uint type, uint index, uint bit);

openttd/src/string.cpp: In function 'char* strcasestr(const char*, const char*)':
openttd/src/string.cpp:548:7: error: 'strncasecmp' was not declared in this scope
   if (strncasecmp(haystack, needle, needle_len) == 0) return const_cast<char *>(haystack);

openttd/src/strgen/strgen_base.cpp: In function 'void EmitPlural(Buffer*, char*, int)':
openttd/src/core/alloc_func.hpp:136:6: error: 'alloca' was not declared in this scope
  (T*)alloca((num_elements) * sizeof(T)))

Signed-off-by: Joe Stringer <joe@wand.net.nz>
5 years ago
Jonathan G Rennison 94761b3fcd Fix order backup not saving/restoring timetable automate/separation state 5 years ago
Jonathan G Rennison 3e8b091913 Linkgraph: MCF: Skip source node Dijkstra when all demand satisfied 5 years ago
Michael Lutz dd11990ce0 Fix 71a3e8346: strings need to be copied too.
If it's not, iterating on it in a loop is quite pointless.
5 years ago
Jonathan G Rennison 04cf7d5500 Fix modifier key window not always updating 5 years ago
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
5 years ago
Jonathan G Rennison b77484c930 Merge branch 'master' into jgrpp 5 years ago
Jonathan G Rennison a4c677a571 Add basic IME support to SDL2 video driver 5 years ago
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
5 years ago
Jonathan G Rennison 4438413f48 Linkgraph: Replace RB-tree with B-tree in MCF Dijkstra 5 years ago
Jonathan G Rennison 455e694e79 Refactor effect vehicle cache to reduce cost of inserts/removes 5 years ago
glx22 4154cf00f4
Fix 71a3e8346: decode_params need to be copied too (#7760) 5 years ago
translators 875419e4ee Update: Translations from eints
estonian: 12 changes by henrikp
5 years ago
Jonathan G Rennison ac5139343a Maintain free list for text effect entries 5 years ago
Jonathan G Rennison 627cdf83eb Pool: Add a free bitmap, use for finding free slots 5 years ago
Jonathan G Rennison 23ad4ec879 YAPF: Reduce need to scan open list queue when moving best node to closed list 5 years ago
Jonathan G Rennison 33f5e00700 Null video driver: Add driver parameter to run until exit 5 years ago
translators 865eea8173 Update: Translations from eints
indonesian: 2 changes by fanioz
french: 3 changes by arikover
hungarian: 4 changes by Brumi
5 years ago
Jonathan G Rennison 170e71787b Add console commands to dump station flow stats 5 years ago
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
5 years ago
Jonathan G Rennison 90550d9642 FlowStatMap: Replace RB-tree with btree-indexed vector 5 years ago
Jonathan G Rennison 0a1c1809ab Save/load: Pre-filter SaveLoad descriptor arrays for current version/mode, for chunks with many objects 5 years ago
translators 2e30601b9c Update: Translations from eints
czech: 91 changes by djst, 6 changes by belaseoci
spanish (mexican): 2 changes by Absay
5 years ago
Charles Pigott 3cc6b7f725 Fix: Signedness issue in midi driver 5 years ago
Charles Pigott fe9731d32c Fix: clang and MSVC warnings (glx) 5 years ago
Charles Pigott 7b400d43c1 Codechange: Fix warning about discarding qualifiers by *really* casting the variable 5 years ago
Charles Pigott b839e355ba Fix: Compilation error on MinGW due to usage of C++17 template deduction 5 years ago
Charles Pigott 6378a78817 Codechange: Explicitly move a few variables to avoid a copy constructor (fixes warning from clang) 5 years ago
Charles Pigott 99f5e29484 Doc: Update list of supported compilers 5 years ago
Charles Pigott 150884a93f Fix: Remove workaround for clang-3.8, now that GCC9 warns about it 5 years ago
Charles Pigott 73a2cee779 Fix: Quiet a bogus -Wmaybe-unitialized warning from GCC9 5 years ago
Charles Pigott 71a3e83468 Fix: GCC9's warnings about deprecated implicit assignment operators 5 years ago
Charles Pigott acf0242961 Change: [AzurePipelines] Use clang 3.9 instead of 3.8 5 years ago
frosch 041088d317
Fix fbbbc6e1931: 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.
5 years ago
JMcKiern 04f659e768 Fix: Some typos found using codespell 5 years ago
Michael Lutz 316e4e9417 Fix: [OSX] Macro name conflict when trying to compile the QuickTime music driver. 5 years ago
Michael Lutz 61d6fa97cc Fix: [OSX] Wrong allocator usage for creating a CFString. 5 years ago
Jonathan G Rennison 02bd91477d Merge branch 'cpp-btree' into jgrpp 5 years ago
Jonathan G Rennison 9176d9a284 cpp-btree: Update to match upstream
Add noexcept to swap-based move constructors and copy/move assignment operator
5 years ago
Jonathan G Rennison ca4db69f12 Fix OrderDestinationIsAllowed not handling nearest depot orders 5 years ago
Jonathan G Rennison 5008a09fe9 Avoid unnecessary calls to SettingsDisableElrail in AfterLoadGame 5 years ago
Jonathan G Rennison 13138bd97b Bump FIO buffer size 5 years ago
Jonathan G Rennison b6d755221a Add load filter to perform savegame decompression in a separate thread 5 years ago
Jonathan G Rennison 9354b5c15c Avoid iterating vehicle list to release disaster vehicles if there are none 5 years ago
Jonathan G Rennison 1391f8fc59 Use insert hints for station flow/share map insertion 5 years ago
Jonathan G Rennison 725ff47267 Avoid quadratic behaviour in updating nearby lists in RecomputeCatchmentForAll 5 years ago
Jonathan G Rennison 158f063a38 Avoid redundant re-scans for AI and game script files 5 years ago
Jonathan G Rennison 66b32df7cc Use multiple threads for NewGRF scan MD5 calculations, on multi-CPU machines 5 years ago
Jonathan G Rennison 6dd1f5c22d Version: Committing version data for tag: jgrpp-0.32-rc5 5 years ago
Jonathan G Rennison 8b8a97c248 Update line height cache in Win32FontCache::SetFontSize 5 years ago