summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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
2020-05-21Codechange: Store GS lang texts in std::strings.Michael Lutz
2020-05-21Codechange: Use std::string for storing GRF error messages.Michael Lutz
2020-05-21Codechange: Use std::string when translating TTDP NewGRF string codes.Michael Lutz
2020-05-21Codechange: Consistently use WChar when passing characters around, and also ↵Michael Lutz
define it as char32_t.
2020-05-21Codechange: Replace custom linked list for GRF texts with STL vectors and ↵Michael Lutz
strings.
2020-05-21Codechange: Replace SmallPair with std::pair.Michael Lutz
std::pair is already the smallest possible pair, and it already handles non-POD types correctly.
2020-05-20Update: Translations from eintstranslators
latvian: 9 changes by Tranzistors
2020-05-20Fix: Trees disappear completely after a few years when they're not allowed ↵dP
to spread
2020-05-19Fix #8155: Roadtype speed limit in toolbar dropdown in scenario editor was ↵Yexo
doubled
2020-05-18Update: Translations from eintstranslators
latvian: 35 changes by Tranzistors
2020-05-18Fix: Desync after house replacementdP
2020-05-17Update: Translations from eintstranslators
spanish (mexican): 7 changes by Absay
2020-05-16Update: Translations from eintstranslators
latvian: 13 changes by Tranzistors
2020-05-15Update: Translations from eintstranslators
indonesian: 1 change by fanioz dutch: 1 change by JanWillem latvian: 39 changes by Tranzistors spanish (mexican): 1 change by Absay
2020-05-14Update: Translations from eintstranslators
spanish (mexican): 16 changes by Absay russian: 3 changes by Lone_Wolf
2020-05-13Update: Translations from eintstranslators
latvian: 21 changes by Tranzistors korean: 5 changes by telk5093
2020-05-13Fix #8137: New clients can't join (desync) after funding an industrydP
2020-05-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
2020-05-12Update: Translations from eintstranslators
latvian: 45 changes by Tranzistors spanish (mexican): 9 changes by Absay
2020-05-12Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143)glx22
2020-05-12Add: stations_near and industries_near cache check (#8139)glx22
2020-05-11Update: Translations from eintstranslators
latvian: 54 changes by Tranzistors spanish (mexican): 4 changes by Absay
2020-05-11Add: INR currency (#8136)Ilayaraja
Co-authored-by: ilayarja97 <ilayarja97@gmail.com>
2020-05-10Fix #8119: Update docking area when clearing a shore rail tileglx