1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 04:59:11 +00:00

Commit Graph

  • 33a8c1c6fc Codechange: Use default operator<=> to compare Linkgraph Hop. (#13944) Peter Nelson 2025-04-02 23:00:06 +01:00
  • 2f36e3e3a1 Fix #13075, #13893: Reversed all x-axis labels for company related and industry production graphs in wallclock mode. (#13894) John Taylor 2025-04-02 19:04:49 +02:00
  • 827b03a32c Fix: [Script] Prevent cloning of API instances (#13947) Loïc Guilloux 2025-04-02 12:30:57 +02:00
  • 2ae84f3c9e Codechange: CargoSpec::Iterate already tests cargo validity. (#13941) Peter Nelson 2025-04-01 18:23:26 +01:00
  • 8d0ba5649a Fix 667d0137: NewGRF details view does not show the "No information available", if the NewGRF sets an empty description. (#13939) stormcone 2025-04-01 16:10:59 +02:00
  • f8f76eb9f3 Fix 089c7a2: SDL2 application name hint was not effective. (#13926) stormcone 2025-04-01 16:07:38 +02:00
  • 3c15e0c889 Codefix: return right type to prevent casting Rubidium 2025-03-31 20:34:57 +02:00
  • 023bf38338 Codefix: std::string_view does not accept nullptr Rubidium 2025-03-31 20:22:43 +02:00
  • e200e9b401 Codechange: Use EnumBitSet for Linkgraph RefreshFlags. (#13930) Peter Nelson 2025-03-31 20:33:32 +01:00
  • 047497734b Cleanup: Remove redundant NewGRF clean up functions. (#13927) Peter Nelson 2025-03-31 20:33:09 +01:00
  • 6a3d17923b Codechange: Use range filter to simplify picking a random AI. (#13897) Peter Nelson 2025-03-31 20:32:16 +01:00
  • f719fa678f Fix: [CI] force a CMake minimum version of 3.5 for all dependencies (#13936) Patric Stout 2025-03-31 20:48:39 +02:00
  • dc956a758d Fix: Draw the bevel around the music track name as inset. (#13935) frosch 2025-03-31 18:54:02 +02:00
  • fe50f061a9 Fix #13923: Padding in music GUI was asymmetric, so it looked different for LTR and RTL languages. (#13933) frosch 2025-03-31 18:53:51 +02:00
  • 696fca1459 Change: make GOG more like MSStore/Steam for OpenGFX (#13920) Patric Stout 2025-03-31 18:41:30 +02:00
  • 6c569f36e6 Fix #13925, 667d0137: Ancient NewGRF have empty name and description, show the filename instead. (#13932) frosch 2025-03-31 14:25:47 +02:00
  • 0055e168f0 Update: Translations from eints translators 2025-03-31 04:46:08 +00:00
  • dc3e8a07e6 Fix #13928, 35e58f6: BuildOilRig did not properly set airport rotation (#13929) Loïc Guilloux 2025-03-31 00:33:01 +02:00
  • 99c6e85356 Codefix: Timetable display rows are not related to OrderID. (#13909) Peter Nelson 2025-03-30 20:25:55 +01:00
  • 68ff7e5209 Fix #13921, d95422561b: [Win32] Don't try close an already closed event handle during destruction. Michael Lutz 2025-03-30 13:54:54 +02:00
  • 56af0b29f5 Fix #13921, a908c7bed0: Don't reject MIDI files with a valid file magic value. Michael Lutz 2025-03-30 13:50:33 +02:00
  • 5ff1632fc1 Fix: [CI] Bump Fluidsynth to 2.4.4, fixing a compile error (#13919) Patric Stout 2025-03-30 11:02:58 +02:00
  • 993e4a457b Codefix: Update OpenTTD-TTF Github URL (#13917) Richard Wheeler 2025-03-29 23:07:17 +00:00
  • cc18f586f9 Update: Translations from eints translators 2025-03-29 04:46:36 +00:00
  • 319caef58f Fix #13912: Multitile buildings break apart in house picker. (#13914) Peter Nelson 2025-03-28 20:30:52 +00:00
  • 0829604b4f Fix #13908: Require double click on order to change stop location. (#13913) Peter Nelson 2025-03-28 20:23:18 +00:00
  • e49150f9ca Fix #13910: Invalidate content of house picker window if language is changed. (#13911) Peter Nelson 2025-03-28 19:57:43 +00:00
  • a361841848 Codechange: Store GameStrings as shared_ptr. (#13905) Peter Nelson 2025-03-28 17:44:43 +00:00
  • d95422561b Codechange: Use unique_ptr to manage drivers. Peter Nelson 2025-03-26 23:54:55 +00:00
  • c3457cd4c0 Update: Translations from eints translators 2025-03-28 04:44:47 +00:00
  • 529fb88325 Codechange: Use template specialisation and instantiation for BaseMedia methods. Peter Nelson 2025-03-26 18:11:55 +00:00
  • 3375dc3095 Codechange: Use traits to define BaseSet parameters. Peter Nelson 2025-03-26 18:11:55 +00:00
  • 6914d99778 Codechange: Split baseset type definitions into separate files. Peter Nelson 2025-03-26 18:11:54 +00:00
  • 9feaa6b7bc Codechange: Use vector/unique_ptr to manage network game information. (#13902) Peter Nelson 2025-03-27 18:48:41 +00:00
  • 0b3619ea35 Codechange: Use unique_ptr to manage blitters. (#13904) Peter Nelson 2025-03-27 08:38:58 +00:00
  • 65cabf4c87 Update: Translations from eints translators 2025-03-27 04:46:01 +00:00
  • 6bf405eb18 Codechange: Remove Game::GetGameInstance() (duplicate of Game::GetInstance()) (#13901) Loïc Guilloux 2025-03-26 23:41:41 +01:00
  • ff08a22aa4 Codechange: Simplify AI/GameConfig::GetConfig. (#13900) Peter Nelson 2025-03-26 21:53:05 +00:00
  • 325f7f9767 Codechange: Use EnumBitSet for GoodsEntry status. (#13899) Peter Nelson 2025-03-26 21:22:33 +00:00
  • 5331389765 Codechange: Pass NewsItem by reference. (#13898) Peter Nelson 2025-03-26 18:56:33 +00:00
  • 422ff9dbd8 Codechange: Use std::unique_ptr for ai/game config. Peter Nelson 2025-03-23 23:29:33 +00:00
  • 7f3820fa7e Codechange: Load check data is only interested in landscape and starting_year. Peter Nelson 2025-03-25 20:58:49 +00:00
  • df750d44fd Update: Translations from eints translators 2025-03-26 04:44:20 +00:00
  • d009bfc47b Codechange: Add vehicle owner to crash event (#13878) Björn Wärmedal 2025-03-25 22:53:44 +01:00
  • fb008436b8 Codechange: Use std::unique_ptr for script info/library instances. (#13892) Peter Nelson 2025-03-25 21:07:02 +00:00
  • 47d078c033 Codechange: Use EnumBitSet for RailTypes. Peter Nelson 2025-03-24 20:35:57 +00:00
  • 732109e444 Codechange: Use EnumBitSet for RoadTypes. Peter Nelson 2025-03-24 20:02:19 +00:00
  • 819e097d6e Codechange: Use separate RoadTypes mask to list road or tram roadtypes. Peter Nelson 2025-03-24 21:35:53 +00:00
  • c105adcd96 Codechange: Encode case/gender/plural choice lists without null termination, only length prefix. (#13876) frosch 2025-03-25 20:32:40 +01:00
  • 25005cff16 Codefix: std::string_view::data() is not necessarily null terminated. (#13891) frosch 2025-03-25 20:32:19 +01:00
  • 93016b9a92 Fix #13842: Close industry production graph if industry is removed. (#13890) Peter Nelson 2025-03-25 17:58:59 +00:00
  • 9f94cadd68 Codefix: GRF-local cargo id is not a CargoType. (#13888) Peter Nelson 2025-03-25 17:12:43 +00:00
  • adb20f99ea Fix: Autoreplace rail/road list only listed buildable types. (#13887) Peter Nelson 2025-03-25 08:22:30 +00:00
  • 1fb4c44bc7 Update: Translations from eints translators 2025-03-25 04:47:17 +00:00
  • 79ef4e98fe Codechange: Use std::swap() instead of Swap() (#13883) Peter Nelson 2025-03-24 23:47:34 +00:00
  • 8a53ccf8f1 Fix: Not enough parameters supplied for Autoreplace window caption. (#13886) Peter Nelson 2025-03-24 23:01:04 +00:00
  • 488cda728d Codechange: Use std::string and std::string_view instead of C strings. frosch 2025-03-24 19:30:00 +01:00
  • d7768f5f51 Codechange: Use more specific integer types than 'int'. frosch 2025-03-24 19:29:21 +01:00
  • b10433715d Codechange: Turn out parameters into return values. frosch 2025-03-24 19:16:02 +01:00
  • 77af1c89c8 Codechange: Split _show_todos into individual bool flags. frosch 2025-03-24 18:45:02 +01:00
  • f8292a8d11 Codechange: Remove unused/obscure strgen feature for relative offsets in plural/gender choice lists. frosch 2025-03-24 18:23:50 +01:00
  • 4fc0900865 Codechange: Reorder functions in strgen and reduce external symbols. frosch 2025-03-24 18:14:03 +01:00
  • b96b26ef15 Codechange: Rename short CargoType parameters cargo. (#13848) Peter Nelson 2025-03-24 18:18:21 +00:00
  • bdea29c414 Fix #13875: [Script] be less strict about empty constructor format for doxygen (#13882) Loïc Guilloux 2025-03-24 13:38:10 +01:00
  • 997f8abaec Update: Translations from eints translators 2025-03-24 04:46:50 +00:00
  • fc7b6c6cbb Codechange: Use .fill() to clear an array instead of assigning a new array. (#13880) Peter Nelson 2025-03-23 22:09:45 +00:00
  • ca801d55d5 Fix: [NewGRF] Display an error, if NewGRF reference out-of-bounds string parameters in gender/plural choices. (#13881) frosch 2025-03-23 20:43:12 +01:00
  • 42eb513897 Codechange: Make use of emplace_back's return value. (#13879) Peter Nelson 2025-03-23 18:34:04 +00:00
  • 5aa4ad5135 Codechange: Pass unformatted strings from GetStringPtr as std::string_view. (#13871) frosch 2025-03-23 19:23:31 +01:00
  • 234c9fb3bd Codechange: Use EnumBitSet for SpriteFlags. Peter Nelson 2025-03-22 21:07:24 +00:00
  • 5abe7c1386 Codechange: Use default initialisation for 32bpp_sse2's SpriteData. Peter Nelson 2025-03-23 16:35:36 +00:00
  • 828e808444 Codechange: Split NewGRF loader into separate Action handlers. Peter Nelson 2025-03-21 19:55:33 +00:00
  • 0b7fa11a5b Codechange: Move NewGRF string mapping to own file. Peter Nelson 2025-03-21 19:55:32 +00:00
  • 2cb389946d Codechange: Move GrfProcessingState to separate file. Peter Nelson 2025-03-21 19:55:32 +00:00
  • fe9dfa2b08 Codechange: Move NewGRF ByteReader to own file. Peter Nelson 2025-03-21 19:55:31 +00:00
  • 84f785b06b Codechange: Pass GRF name as std::string to UpdateNewGRFScanStatus. (#13870) frosch 2025-03-23 16:58:43 +01:00
  • 8b4114d709 Fix #13849: Settings in old saves could be overridden by defaults. (#13874) Peter Nelson 2025-03-23 15:55:55 +00:00
  • 21d2a94809 Codechange: Use EnumBitSet for GrfMiscBits. (#13873) Peter Nelson 2025-03-22 21:07:59 +00:00
  • af49320637 Fix: [NewGRF] Plurals and genders did not work in strings with cases. (#13853) frosch 2025-03-22 21:41:27 +01:00
  • d4ae0f70da Codechange: StringFilter now uses std::string_view entirely (#13869) frosch 2025-03-22 20:35:31 +01:00
  • 667d013726 Codechange: Return name, description and URL as std::string from GRFConfig. (#13868) frosch 2025-03-22 20:30:40 +01:00
  • ae2d7947d7 Fix #13562: Removed cost estimation message from money cheat John Taylor 2025-03-20 23:38:48 +01:00
  • be79099a6f Codechange: Use a std::span as input for GfxFillPolygon (#13866) Jonathan G Rennison 2025-03-22 15:16:14 +00:00
  • 5764eaaacf Fix: [NewGRF] Plurals and genders did not work in NewGRF substrings, and cases in substrings could mess up cases in the parent string. (#13852) frosch 2025-03-22 13:40:43 +01:00
  • 7abca5bb25 Update: Translations from eints translators 2025-03-22 04:46:31 +00:00
  • e47082bf7b Codefix: Don't look up NewGRF Action 6-modified data twice. (#13863) Peter Nelson 2025-03-21 18:13:31 +00:00
  • a4f3ddae5f Fix: [NewGRF] String parameter stack and case selection were not processed for control code 0x81. (#13851) frosch 2025-03-21 18:13:08 +01:00
  • a4f9977d18 Codechange: Don't reimplement DistanceManhattan. (#13850) Peter Nelson 2025-03-21 17:06:39 +00:00
  • 6297b49a00 Codechange: Remove table/strings include from header files. Peter Nelson 2025-03-21 01:26:04 +00:00
  • 3503082f19 Codechange: Move template class implementation includes. Peter Nelson 2025-03-20 23:58:19 +00:00
  • 2909a14374 Codechange: Include table/strings.h in files that use StringIDs. Peter Nelson 2025-03-20 23:54:54 +00:00
  • edb101d12f Codechange: Use free function get BaseSet list label. Peter Nelson 2025-03-21 00:10:15 +00:00
  • 762e2f76a3 Codechange: Avoid STR_NULL in header file. Peter Nelson 2025-03-20 23:55:39 +00:00
  • 4ffbf97770 Codechange: Move RawText::GetEncodedText() out of header. Peter Nelson 2025-03-20 23:56:13 +00:00
  • 3b178bf58d Fix: NewGRF string interpolation did not process all string parameters, if certain string control codes were present. frosch 2025-03-14 14:04:13 +01:00
  • 5d291317e7 Codechange: Two very different functions were named RemapNewGRFStringControlCode. frosch 2025-03-14 14:03:04 +01:00
  • a678bb263d Update: Translations from eints translators 2025-03-21 04:45:21 +00:00
  • 89948b941b Codechange: Use emplace_back instead of push_back. (#13855) Peter Nelson 2025-03-20 17:39:10 +00:00
  • b98a7ff303 Fix f214c81e97: Signed overflow in collision test on large map when road vehicles are at just the right coordinates. (#13847) Peter Nelson 2025-03-18 22:53:01 +00:00
  • 8e2ce35143 Fix: i circumflex width in TrueType small font (#13836) Richard Wheeler 2025-03-18 21:07:26 +00:00