Jonathan G Rennison
b0f192abc4
Fix: Racy use of flags in TCPConnecter::CheckCallbacks
...
conected and aborted flags are used concurrently from multiple threads.
2020-06-18 19:57:34 +02:00
Jonathan G Rennison
d160536315
Fix has_packets in ServerNetworkGameSocketHandler::SendMap
2020-06-18 17:06:07 +01:00
Jonathan G Rennison
c167648d75
Fix: Violation of strict weak ordering in group name sorters
...
This could be caused by a group being renamed, and the old
name being cached from a previous sort.
See: #7838
2020-06-18 12:38:43 +02:00
Jonathan G Rennison
d830a34394
Fix: Violation of strict weak ordering in engine name sorter
...
This could be caused by an engine being renamed, and the old
name being cached from a previous sort.
See: #7838
2020-06-18 12:38:43 +02:00
Jonathan G Rennison
084b073e57
Codechange: Use template type for GUIList::Sort comparator
2020-06-18 12:38:43 +02:00
frosch
d8182b7e15
Change: Allow command cost-estimation while paused.
2020-06-18 08:59:27 +01:00
Niels Martin Hansen
9895ced6af
Fix: Silence some warnings when building with clang-cl on VS 2019
...
Clang-cl presents as both _MSC_VER and __clang__ in the preprocessor which makes some things confusing.
2020-06-18 08:56:27 +01:00
nikolas
c9aff698d0
Fix #8104 : Always add WINDOW_RESIZABLE flag to SDL2 ( #8211 )
...
This fixes a bug that can reproduced with these steps:
* Start openttd in fullscreen mode
* Turn off fullscreen mode
* Try to resize the window. The window can't be resized.
2020-06-18 08:53:06 +01:00
Jonathan G Rennison
147d9aef87
Crashlog: Remove unused variables
2020-06-18 00:54:18 +01:00
translators
208614343f
Update: Translations from eints
...
polish: 1 change by MaksOPENTTD1
danish: 1 change by beruic
2020-06-12 19:45:39 +02:00
Jonathan G Rennison
663886843c
Win32: Wine: Oversize buffer for WSAIoctl/SIO_GET_INTERFACE_LIST
...
This is a workaround for https://bugs.winehq.org/show_bug.cgi?id=49371
See also: 1e7a73b2
2020-06-12 17:15:03 +01:00
Frédéric Simonis
fb7723a9d7
Add: [CMake] Always export compile commands ( #8199 )
2020-06-12 16:33:04 +02:00
Jonathan G Rennison
3eb8d62148
Fix #157 : Integer overflow in town GetNormalGrowthRate
2020-06-11 17:12:47 +01:00
glx22
8ef3d8f584
Revert f51e66f6
: creating zip bundle fails for MacOS
2020-06-10 21:10:00 +02:00
TechGeekNZ
ee570e1b6d
Cleanup: Fix typos in code comments.
2020-06-09 13:15:47 +01:00
TechGeekNZ
8652a4db76
Cleanup: Give SetDirtyBlocks
a more descriptive name.
2020-06-09 13:15:47 +01:00
arikover
caab095e4e
Fix: [CMake] SDL2 Sound was not included
2020-06-09 13:06:33 +02:00
Miguel Horta
40436019fd
Fix: Display banlist's indexes correctly
...
Bug introduced via commit ab711e6942
2020-06-08 21:56:57 +01:00
glx22
0b86bd8b03
Fix: CMake option values should be ON/OFF
2020-06-08 09:49:26 +01:00
glx22
1e01982a2e
Fix: Restore compression of pdb
2020-06-08 09:49:26 +01:00
glx22
3d76677594
Fix: Generate windows installer only for stable releases
2020-06-08 09:49:26 +01:00
glx22
f51e66f697
Fix: Restore zip bundle for MacOS
2020-06-08 09:49:26 +01:00
Jonathan G Rennison
12c25be778
Debug: Add station delete counter to NewGRF debug
2020-06-07 19:50:37 +01:00
Jonathan G Rennison
271fac01a7
Add setting to scale station cargo capacity and rating tolerance by size
2020-06-07 19:50:37 +01:00
Jonathan G Rennison
1917a3e0f8
Station: Add field for number of station tiles
2020-06-07 14:37:59 +01:00
Frédéric Simonis
90e849198f
Fix: [CMake] Error when SDL2 provides SDL2Config
2020-06-07 13:36:57 +02:00
TechGeekNZ
fe1925931d
Cleanup: Correct typographic errors in code comments.
2020-06-07 01:04:41 +01:00
TechGeekNZ
3d8597d42e
Cleanup: Add undocumented parameter to GetSpriteSize.
2020-06-07 01:04:41 +01:00
glx
b145ee310c
Fix: MacOS bundle creation
2020-06-06 19:23:54 +02:00
Jonathan G Rennison
c552e08ffe
Version: Committing version data for tag: jgrpp-0.34.4
2020-06-05 22:03:15 +01:00
glx
877d196ef5
Fix: Incorrect REV_YEAR, and parsing of .ottdrev
2020-06-05 22:32:07 +02:00
Patric Stout
945508b854
Fix: update COMPILING.md stating what changed with CMake
2020-06-05 19:36:05 +02:00
Patric Stout
4d04009d12
Codechange: remove #ifdef from .cpp files to exclude features
...
With CMake, these files are simply not compiled to start with.
2020-06-05 19:36:05 +02:00
Patric Stout
4218ebc932
Fix: [AzurePipelines] switch the CI / CD to CMake too
...
This also means dropping Debian/jessie, as it has a CMake that is
too old (3.0), with no real path to upgrade.
2020-06-05 19:36:05 +02:00
Patric Stout
b7643b1d36
Add: create bundles via CPack
...
CPack works closely together with CMake to do the right thing in
terms of bundling (called 'package'). This generates all the
packaging we need, and some more.
2020-06-05 19:36:05 +02:00
Patric Stout
56d54cf60e
Add: introduce CMake for project management
...
CMake works on all our supported platforms, like MSVC, Mingw, GCC,
Clang, and many more. It allows for a single way of doing things,
so no longer we need shell scripts and vbs scripts to work on all
our supported platforms.
Additionally, CMake allows to generate project files for like MSVC,
KDevelop, etc.
This heavily reduces the lines of code we need to support multiple
platforms from a project perspective.
Addtiionally, this heavily improves our detection of libraries, etc.
2020-06-05 19:36:05 +02:00
Patric Stout
85315e2e31
Codechange: rework how grf and ob[msg] are generated
...
For grfs, it now uses CMake scripts to do its job, and both grf
files are split into their own folder to make more clear what is
going on. Additionally, it no longer builds in-source (although the
resulting grf is copied back in the source folder).
For ob[msg] it now uses CMake scripts to generate the translation
files; the result is no longer stored in-source (but in the build
folder).
Although all files are available to create the GRFs and basesets, it
won't really work till CMake is introduced (which will happen in a
few commits from here)
2020-06-05 19:36:05 +02:00
Patric Stout
203a77c1dc
Codechange: move regression outside of bin and make it work via CMake script
...
The tst_stationlist savegame had to be changed to start the correct
AI. In the old setup, all regression AIs had the same name, which
made it impossible to run both regressions in parallel. With the new
setup this is possible.
Although all files are available to run the regression, it won't
really work till CMake is introduced (which will happen in a few
commits from here)
2020-06-05 19:36:05 +02:00
Patric Stout
84b71f7962
Remove: all existing project files
...
This prepares for the switch to CMake, which takes over all current
exisiting forms of project files.
2020-06-05 19:36:05 +02:00
Jonathan G Rennison
43c538fa7d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/town_cmd.cpp
2020-06-05 17:07:58 +01:00
Marcus Calhoun-Lopez
eeed3a7613
Fix: unbreak building with ICU on macOS
...
A symbol clash breaks building ICU on macOS, and although it isn't
necessary, it might as well be possible.
2020-06-05 14:47:33 +01:00
TechGeekNZ
937b366546
Cleanup: StationCargoList::AreMergable doxygen comment references Vehicle instead of Station.
2020-06-05 14:27:09 +01:00
TechGeekNZ
012fea301d
Cleanup: Add note explaining how settings.h is generated from source.
2020-06-05 08:38:40 +02:00
TechGeekNZ
f246f8faef
Cleanup: Fix typo in settings.h.preamble.
2020-06-05 08:38:40 +02:00
TechGeekNZ
cdd2892c49
Codechange: Realign SDL driver with SDL2 driver to ease maintenance and emphasise differences.
2020-06-04 09:05:21 +01:00
Yexo
1507902d00
Codechange: remove has_newindustries global
2020-06-01 22:46:06 +02:00
Yexo
ce618bf7e9
Codechange: replace custom timer and OnGameTick() with OnHundrethTick()
2020-06-01 22:46:06 +02:00
Yexo
a82572d0f5
Codechange: remove has_newhouses global
2020-06-01 22:46:06 +02:00
Jonathan G Rennison
677940cfc6
Merge branch 'master' into jgrpp
2020-06-01 20:39:46 +01:00
Michael Lutz
1c0ba07c3c
Add: [Script] Native priority queue; useful e.g. for pathfinders.
2020-06-01 21:35:13 +02:00