summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-12Add: [CMake] Always export compile commands (#8199)Frédéric Simonis
2020-06-10Revert f51e66f6: creating zip bundle fails for MacOSglx22
2020-06-09Cleanup: Fix typos in code comments.TechGeekNZ
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-06-09Fix: [CMake] SDL2 Sound was not includedarikover
2020-06-08Fix: Display banlist's indexes correctlyMiguel Horta
Bug introduced via commit ab711e6942
2020-06-08Fix: CMake option values should be ON/OFFglx22
2020-06-08Fix: Restore compression of pdbglx22
2020-06-08Fix: Generate windows installer only for stable releasesglx22
2020-06-08Fix: Restore zip bundle for MacOSglx22
2020-06-07Fix: [CMake] Error when SDL2 provides SDL2ConfigFrédéric Simonis
2020-06-07Cleanup: Correct typographic errors in code comments.TechGeekNZ
2020-06-07Cleanup: Add undocumented parameter to GetSpriteSize.TechGeekNZ
2020-06-06Fix: MacOS bundle creationglx
2020-06-05Fix: Incorrect REV_YEAR, and parsing of .ottdrevglx
2020-06-05Fix: update COMPILING.md stating what changed with CMakePatric Stout
2020-06-05Codechange: remove #ifdef from .cpp files to exclude featuresPatric Stout
With CMake, these files are simply not compiled to start with.
2020-06-05Fix: [AzurePipelines] switch the CI / CD to CMake tooPatric Stout
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-05Add: create bundles via CPackPatric Stout
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-05Add: introduce CMake for project managementPatric Stout
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-05Codechange: rework how grf and ob[msg] are generatedPatric Stout
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-05Codechange: move regression outside of bin and make it work via CMake scriptPatric Stout
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-05Remove: all existing project filesPatric Stout
This prepares for the switch to CMake, which takes over all current exisiting forms of project files.
2020-06-05Fix: unbreak building with ICU on macOSMarcus Calhoun-Lopez
A symbol clash breaks building ICU on macOS, and although it isn't necessary, it might as well be possible.
2020-06-05Cleanup: StationCargoList::AreMergable doxygen comment references Vehicle ↵TechGeekNZ
instead of Station.
2020-06-05Cleanup: Add note explaining how settings.h is generated from source.TechGeekNZ
2020-06-05Cleanup: Fix typo in settings.h.preamble.TechGeekNZ
2020-06-04Codechange: Realign SDL driver with SDL2 driver to ease maintenance and ↵TechGeekNZ
emphasise differences.
2020-06-01Codechange: remove has_newindustries globalYexo
2020-06-01Codechange: replace custom timer and OnGameTick() with OnHundrethTick()Yexo
2020-06-01Codechange: remove has_newhouses globalYexo
2020-06-01Add: [Script] Native priority queue; useful e.g. for pathfinders.Michael Lutz
2020-06-01Fix #8066: Try another fallback colourspace if first one failsNiels Martin Hansen
2020-06-01Fix: [Win32] Crash message not fitting in crash dialogglx
2020-06-01Fix #7970: [Win32] Disable event loop on crash to prevent recursive faultsglx
2020-06-01Fix #8166: don't crash on loading an invalid roadtype newgrfYexo
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.
2020-06-01Fix #8024: make online content gui more responsive while loadingYexo
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.
2020-05-30Update: Translations from eintstranslators
croatian: 1 change by VoyagerOne
2020-05-28Cleanup: Correct typographic errors in code comments.TechGeekNZ
2020-05-27Fix: Compilation warnings in story_gui and script_story_pageJonathan G Rennison
See: #7896
2020-05-27Update: Translations from eintstranslators
chinese (traditional): 2 changes by ww9980 chinese (simplified): 1 change by ww9980
2020-05-26Fix: Inconsistency in handling of SDL2 in source.listglx
2020-05-26Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine>glx
2020-05-22Feature: Push-buttons on storybook pages (#7896)Niels Martin Hansen
Allow more direct player-initiated interaction for Game Scripts, by letting the GS put push-buttons on storybook pages. These buttons can either trigger an immediate event, or require the player to first select a tile on the map, or a vehicle. Additionally this reworks how the storybook pages are layouted and rendered, to allow for slightly more complex layouts, and maybe speeding drawing up a bit.
2020-05-21Codechange: Store info about the dedicated server log file in globals with ↵Michael Lutz
automatic destruction to simplify control flow in openttd_main.
2020-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-05-21Codechange: Store base set related texts in std::strings.Michael Lutz
2020-05-21Codechange: Use std::string in INI file parsing.Michael Lutz
2020-05-21Add: Optional implementation of std::optional for pre-C++17 compilers.Michael Lutz
Sourced from https://github.com/akrzemi1/Optional, Boost Software License, Version 1.0.
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz