Commit Graph

24275 Commits (a12c78a5552eac33ebfa7062f54d17f14fb5aba0)
 

Author SHA1 Message Date
Jonathan G Rennison a12c78a555 Output a log, savegame and screenshot on desync events 4 years ago
Jonathan G Rennison 1106a55be4 Make server and all clients run desync checks if a client desyncs. 4 years ago
Jonathan G Rennison 89bc7b2a34 Check caches at desync level 1, every 500 ticks.
Also check aircraft cache.
4 years ago
Jonathan G Rennison 183f04ec55 Do not write desync messages to the console on Windows.
Windows seems unable to handle direction change characters in consoles.
4 years ago
Jonathan G Rennison 963e88c42f Fix false positive in FindNearestSafeTile desync check when path not reservable. 4 years ago
Jonathan G Rennison 198f51a0e7 Add debug category "yapfdesync" to enable desync checks for YAPF only. 4 years ago
Jonathan G Rennison 3a5bf2ea5e Log desync debug output to the console as well as the file.
Be fault tolerant if the desync and/or random file cannot be created,
and write to the console.
4 years ago
Jonathan G Rennison d4f093ed32 Increase thoroughness of vehicle and YAPF cache desync debug checks. 4 years ago
Jonathan G Rennison d32f9b799b Add console command to dump command log 4 years ago
Jonathan G Rennison 063ddf2d6e Add: List recently executed commands in crashlog output.
Maintain a circular buffer of info on recent commands.
4 years ago
translators 208614343f Update: Translations from eints
polish: 1 change by MaksOPENTTD1
danish: 1 change by beruic
4 years ago
Frédéric Simonis fb7723a9d7
Add: [CMake] Always export compile commands (#8199) 4 years ago
glx22 8ef3d8f584 Revert f51e66f6: creating zip bundle fails for MacOS 4 years ago
TechGeekNZ ee570e1b6d Cleanup: Fix typos in code comments. 4 years ago
TechGeekNZ 8652a4db76 Cleanup: Give `SetDirtyBlocks` a more descriptive name. 4 years ago
arikover caab095e4e Fix: [CMake] SDL2 Sound was not included 4 years ago
Miguel Horta 40436019fd Fix: Display banlist's indexes correctly
Bug introduced via commit ab711e6942
4 years ago
glx22 0b86bd8b03 Fix: CMake option values should be ON/OFF 4 years ago
glx22 1e01982a2e Fix: Restore compression of pdb 4 years ago
glx22 3d76677594 Fix: Generate windows installer only for stable releases 4 years ago
glx22 f51e66f697 Fix: Restore zip bundle for MacOS 4 years ago
Frédéric Simonis 90e849198f Fix: [CMake] Error when SDL2 provides SDL2Config 4 years ago
TechGeekNZ fe1925931d Cleanup: Correct typographic errors in code comments. 4 years ago
TechGeekNZ 3d8597d42e Cleanup: Add undocumented parameter to GetSpriteSize. 4 years ago
glx b145ee310c Fix: MacOS bundle creation 4 years ago
glx 877d196ef5 Fix: Incorrect REV_YEAR, and parsing of .ottdrev 4 years ago
Patric Stout 945508b854 Fix: update COMPILING.md stating what changed with CMake 4 years ago
Patric Stout 4d04009d12 Codechange: remove #ifdef from .cpp files to exclude features
With CMake, these files are simply not compiled to start with.
4 years ago
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.
4 years ago
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.
4 years ago
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.
4 years ago
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)
4 years ago
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)
4 years ago
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.
4 years ago
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.
4 years ago
TechGeekNZ 937b366546 Cleanup: StationCargoList::AreMergable doxygen comment references Vehicle instead of Station. 4 years ago
TechGeekNZ 012fea301d Cleanup: Add note explaining how settings.h is generated from source. 4 years ago
TechGeekNZ f246f8faef Cleanup: Fix typo in settings.h.preamble. 4 years ago
TechGeekNZ cdd2892c49 Codechange: Realign SDL driver with SDL2 driver to ease maintenance and emphasise differences. 4 years ago
Yexo 1507902d00 Codechange: remove has_newindustries global 4 years ago
Yexo ce618bf7e9 Codechange: replace custom timer and OnGameTick() with OnHundrethTick() 4 years ago
Yexo a82572d0f5 Codechange: remove has_newhouses global 4 years ago
Michael Lutz 1c0ba07c3c Add: [Script] Native priority queue; useful e.g. for pathfinders. 4 years ago
Niels Martin Hansen 764497206a Fix #8066: Try another fallback colourspace if first one fails 4 years ago
glx b3ddf2c907 Fix: [Win32] Crash message not fitting in crash dialog 4 years ago
glx b5ca2161d9 Fix #7970: [Win32] Disable event loop on crash to prevent recursive faults 4 years ago
Yexo f827bc8c1a Fix #8166: don't crash on loading an invalid roadtype newgrf
Initialization code for GRFFile::roadtype_map was copied from
railtype_map. But while RailType is a byte-sized enum and could thus
be initialized via memset, RoadType doesn't have a defined size.
4 years ago
Yexo a9b3312d1a Fix #8024: make online content gui more responsive while loading
Previously the internal content list was invalidated and sorted for
every new item added. Now the sorting is delayed until the GUI is
drawn, which means we only sort once per GUI tick.

Since the amount of incoming items per GUI tick is not controlled by
the GUI but rather by network speed, we were previously doing a lot
of duplicate work per tick, causing the mouse cursor to lag while
the list was initialized.
4 years ago
translators 281d93f600 Update: Translations from eints
croatian: 1 change by VoyagerOne
4 years ago
TechGeekNZ 16e5f610f7 Cleanup: Correct typographic errors in code comments. 4 years ago