summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2020-05-10Fix #8132: Corrupted savegame crashing OpenTTD on loadglx
2020-05-10Fix: Stop any gamelog action when recovering from SlError()glx
2020-05-10Update: Translations from eintstranslators
latvian: 80 changes by Tranzistors spanish (mexican): 10 changes by Absay
2020-05-09Fix #8119, f538179: Update docking tile area when placing a diagonal rail ↵SamuXarick
next to a dock end (#8124)
2020-05-09Update: Translations from eintstranslators
latvian: 8 changes by Tranzistors spanish (mexican): 1 change by Absay
2020-05-08Fix: Two issues in MIDI file writerNiels Martin Hansen
Variable-length values would write threshold values with a byte too many. System Exclusive messages would cause write to fail since the end byte was treated as part of next message.
2020-05-07Update: Translations from eintstranslators
latvian: 38 changes by Tranzistors
2020-05-07Fix #8117: Memory leak in admin port (#8122)glx22
2020-05-07Add: docking tiles cache check (#8120)glx22
2020-05-06Fix #8021: limit savegame range for docking tiles fixingglx
2020-05-06Fix: reset roadtype/streetcartype info for non-road bridgesYexo
2020-05-06Update: Translations from eintstranslators