Commit Graph

  • 4f8d06ff73 Codechange: Use uint8_t instead of byte for numeric values. Peter Nelson 2023-09-18 20:31:01 +01:00
  • 9457bda614 Codechange: Use std::fill instead of memset when initializing GUI cargo fields. Peter Nelson 2023-09-18 20:30:09 +01:00
  • 18e75dbc88 Fix: Don't produce invalid cargo. (#11314) PeterN 2023-09-18 22:43:03 +01:00
  • fd2dd4397f Codechange: Use range-for and iterator to populate default cargo table. Peter Nelson 2023-09-17 17:53:13 +01:00
  • 280dce9543 Codechange: Reorder CargoSpec to reduce alignment padding. Peter Nelson 2023-09-17 17:42:34 +01:00
  • e8cbc3c2c7 Codechange: Simplify initialization of default cargoes. Peter Nelson 2023-04-27 13:26:10 +01:00
  • c6864637fb Add: [GitHub] also test if release builds without asserts are warning-free (#11309) Patric Stout 2023-09-17 19:47:55 +02:00
  • 3a2509198f Codechange: use better location for the "invalid" action sentinel value Rubidium 2023-09-17 16:24:29 +02:00
  • 09a7902d36 Fix 8ab0936: missed WIDGET_LIST_END removals Rubidium 2023-09-17 16:08:37 +02:00
  • 3afb732c37 Fix #11307: Incorrect GroupStatistics after selling leading wagon Jonathan G Rennison 2023-09-17 13:24:07 +01:00
  • 14bcfff6f5 Codechange: Rename INVALID_CARGO to INVALID_CARGO_BITNUM Peter Nelson 2023-05-23 08:35:47 +01:00
  • 9d1b131c44 Codechange: Use correct constant for invalid cargo type. Peter Nelson 2023-05-23 08:33:49 +01:00
  • 7ef22af2bb Codechange: introduce and use function to raise and dirty a set of widgets when they are lowered Rubidium 2023-09-17 06:40:28 +02:00
  • 6580ff1adb Fix #11230: Widget layout also failed for group-less vehicle list window. (#11310) PeterN 2023-09-17 11:03:24 +01:00
  • 4cf88e068a Remove: unused include of cstdarg/stdarg.h Rubidium 2023-09-16 21:55:21 +02:00
  • 8ab0936491 Codechange: use parameter pack/folding instead of va_arg macros for widget states Rubidium 2023-09-16 21:56:09 +02:00
  • 30eba33f1e Update: Translations from eints english (us): 20 changes by 2TallTyler translators 2023-09-16 18:37:38 +00:00
  • c6f5b57f13 Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. (#11299) frosch 2023-09-15 21:25:25 +02:00
  • 39ef4b503f Fix: also apply cargo filters on shared groups in vehicle listing (#11294) Patric Stout 2023-09-15 21:22:58 +02:00
  • 8d90448153 Update: Translations from eints romanian: 18 changes by bnegrut turkish: 22 changes by densxd dutch: 20 changes by Afoklala portuguese: 21 changes by azulcosta translators 2023-09-15 18:37:57 +00:00
  • 42170e6c2b Codechange: Rename RoadType parameter of MakeRoadDepot Jonathan G Rennison 2023-09-15 16:15:02 +01:00
  • a3f661cb66 Fix: compilation failed on gcc 10.2 due to missing include. (#11300) frosch 2023-09-15 10:26:03 +02:00
  • ba51a34b4c Update: Translations from eints english (au): 20 changes by krysclarke korean: 25 changes by telk5093 russian: 20 changes by Ln-Wolf finnish: 20 changes by hpiirai french: 20 changes by glx22 portuguese (brazilian): 20 changes by pasantoro translators 2023-09-14 18:37:08 +00:00
  • 37e2f99c09 Change: store crash logs in JSON format (#11232) Patric Stout 2023-09-14 20:13:27 +02:00
  • a0353af223 Codechange: Shuffle Depot members to reduce padding. Peter Nelson 2023-09-12 00:40:49 +01:00
  • 2fdc22e7ea Codechange: Shuffle CargoPayment members to reduce padding. Peter Nelson 2023-09-11 22:33:27 +01:00
  • a3c70ee6fb Codechange: Pass by reference and use emplace-at-end for CargoSummary. (#11296) PeterN 2023-09-14 09:41:33 +01:00
  • 289d6ebc43 Doc: Replace plain URLs to OpenGFX/SFX/MSX with Markdown links. (#11295) PeterN 2023-09-14 00:17:08 +01:00
  • b4ff06b6ef Fix: marked text was not updated during text deletion (#11293) Loïc Guilloux 2023-09-13 22:59:34 +02:00
  • fca62c245f Update: Translations from eints translators 2023-09-13 18:38:58 +00:00
  • 220f93f552 Fix: IConsoleWindow:GetTextBoundingRect() is incorrect (#11292) Loïc Guilloux 2023-09-13 18:07:55 +02:00
  • 71c2878799 Fix #10600: 'Replace Vehicles' didn't show numbers >999 (#10680) Daniel Robinson 2023-09-13 16:19:44 +01:00
  • 9c49a61249 Fix: base cargo payment on load/unload tile, instead of station sign location (#11281) Patric Stout 2023-09-13 16:41:09 +02:00
  • ba67f39db6 Codechange: vendor the nlohmann-json library (#11290) Patric Stout 2023-09-13 16:11:34 +02:00
  • 41de0d46f3 Feature: Help and manuals access window Niels Martin Hansen 2023-06-18 17:10:08 +02:00
  • 2cff43251e Add: Install additional documentation files with the game Niels Martin Hansen 2021-04-03 12:01:29 +02:00
  • 4765d0f8c2 Change: Text Layouter support querying all lines for character at pixel Niels Martin Hansen 2021-04-03 00:49:57 +02:00
  • d1a0ca67be Codechange: simplify splitting of CargoPacket (#11286) Patric Stout 2023-09-13 15:40:01 +02:00
  • a16aa3ef7d Update: Translations from eints swedish: 1 change by joeax910 translators 2023-09-12 18:38:00 +00:00
  • b389d45d55 Doc: Add more hyperlinks within the included documentation (#11288) Patric Stout 2023-09-11 20:55:23 +02:00
  • 3fd50c2949 Update: Translations from eints swedish: 2 changes by optiedev vietnamese: 11 changes by KhoiCanDev romanian: 5 changes by bnegrut danish: 2 changes by bscargo dutch: 2 changes by Afoklala portuguese: 2 changes by azulcosta polish: 15 changes by pAter-exe translators 2023-09-11 18:38:29 +00:00
  • acd7d3c913 Codechange: Rename *Railtype* to *RailType* for consistency. (#11287) PeterN 2023-09-11 09:55:12 +01:00
  • a0b2f28f9c Codechange: Use std::copy/fill pattern to initialize rail and road specs. (#11285) PeterN 2023-09-11 00:01:08 +01:00
  • 7e3cdbaf62 Fix: mark next_station as INVALID_STATION when loading from older savegames Patric Stout 2023-09-10 22:35:24 +02:00
  • 9e3763cfb3 Fix b0e73277: save/load next_station for CargoPacket again Patric Stout 2023-09-10 22:35:03 +02:00
  • 1243c331b6 Fix: don't compare next_station when trying to merge CargoPackets Patric Stout 2023-09-10 22:34:26 +02:00
  • 9f8c1ea552 Codechange: rename next_station to next_hop to avoid confusing with another next_station Patric Stout 2023-09-10 22:33:33 +02:00
  • a0f6983be4 Codechange: remove parameter from VehicleCargoList::Reassign that is always INVALID_STATION Patric Stout 2023-09-10 22:34:02 +02:00
  • 6643c010bd Fix: NewGRF house class mappings were not reset between games. (#11279) PeterN 2023-09-10 18:55:37 +01:00
  • 1c620b349f Feature: [NewGRF] Related Act2 objects for airports and airport tiles. Michael Lutz 2023-09-10 17:28:53 +02:00
  • a6f2f3c042 Add: [NewGRF] Inspection window for airports. Michael Lutz 2023-09-10 17:09:31 +02:00
  • e6c02ebee6 Fix b0e73277: cargodist information got lost when splitting of cargo (#11280) Patric Stout 2023-09-10 15:20:58 +02:00
  • 701a61c9af Codechange: Delete date_type.h Tyler Trahan 2023-08-16 10:10:50 -04:00
  • 77173a6a10 Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes Tyler Trahan 2023-08-16 09:43:31 -04:00
  • fca2b37726 Codechange: Move Ticks into their own class Tyler Trahan 2023-08-16 09:01:24 -04:00
  • 30172fc037 Codechange: cleanup CargoPacket in terms of variable/function names (#11278) Patric Stout 2023-09-09 23:21:21 +02:00
  • b0e73277d6 Codechange: remove loaded_at_xy from CargoPacket as it was unused (#11276) Patric Stout 2023-09-09 21:24:46 +02:00
  • f3b4f9d640 Codechange: Reduce size of TextEffectMode and TextEffectID. Peter Nelson 2023-09-09 16:40:59 +01:00
  • f6939d6c4d Codechange: Make INVALID_TE_ID a TextEffectID instead of a TextEffectMode. Peter Nelson 2023-09-09 16:38:59 +01:00
  • 3c61c642a9 Codechange: Don't allocate a text effect with INVALID_TE_ID. Peter Nelson 2023-09-09 16:38:12 +01:00
  • 78b841d14e Codechange: Take reference to text effect instead of pointer when updating. Peter Nelson 2023-09-09 16:36:46 +01:00
  • 7519f7ad79 Codechange: Use std::find_if to find or assign a text effect slot. Peter Nelson 2023-09-09 16:36:07 +01:00
  • 7bd019df90 Codechange: Use std::array for TemporaryStorageArray. Peter Nelson 2023-09-08 20:41:46 +01:00
  • 9040d7813d Codechange: Use std::array and std::unique_ptr for PersistentStorageArrays. Peter Nelson 2023-09-08 20:34:20 +01:00
  • c3918838f6 Fix: crash when opening a damaged base-graphics (#11275) Patric Stout 2023-09-09 16:06:00 +02:00
  • afc1ea8135 Codechange: Using alias and std::array for company expense storage. (#11273) PeterN 2023-09-09 14:15:53 +01:00
  • 00f13282a9 Codechange: keep how we convert string <-> JSON private (#11269) Patric Stout 2023-09-08 19:03:10 +02:00
  • d725fa14a2 Fix: asserts unintentially being partially disabled in release-builds (#11268) Patric Stout 2023-09-08 12:11:37 +02:00
  • 8c742b456f Codechange: use Textbuf directly, instead via several virtual functions in Window Rubidium 2023-07-01 22:05:07 +02:00
  • 0316940fe8 Fix: Inaccurate waiting cargo total in station window when using cargodist (#11213) Jonathan G Rennison 2023-09-06 20:36:26 +01:00
  • 21bd5fb991 Fix: [CI] preview flow can't install latest version of npm (#11265) Loïc Guilloux 2023-09-06 18:29:34 +02:00
  • 5f9b8aaa95 Codechange: [Script] use nlohmann for Squirrel <-> JSON conversion (#11251) Patric Stout 2023-09-06 13:14:12 +02:00
  • 6e8d7964ed Update: Translations from eints english (us): 4 changes by 2TallTyler translators 2023-09-05 18:38:17 +00:00
  • 9d2920e9c5 Update: Translations from eints french: 2 changes by ottdfevr translators 2023-09-04 18:38:09 +00:00
  • 337b7b0c63 Fix 8c9ecde9: actually remove autosave_interval from setting window (#11260) Patric Stout 2023-09-04 13:18:47 +02:00
  • 152b0cac34 Codechange: Return update nwid_begin instead of count. Peter Nelson 2023-09-03 21:55:30 +01:00
  • e8015e497d Codechange: Use begin/end of nwidget parts of begin/length. Peter Nelson 2023-09-03 21:54:13 +01:00
  • e4613fc04c Codechange: Allow using more than 65536 NewGRF string IDs. Peter Nelson 2023-09-04 08:12:51 +01:00
  • 3e762af2d1 Change: Replace fixed length _grf_text array with vector. Peter Nelson 2023-09-03 20:33:24 +01:00
  • dadf5182d8 Update: Translations from eints english (au): 2 changes by krysclarke russian: 3 changes by Ln-Wolf finnish: 2 changes by hpiirai portuguese (brazilian): 2 changes by pasantoro translators 2023-09-03 18:38:15 +00:00
  • bd150df914 Codechange: Reorder some high-use structs to reduce their size. (#11201) PeterN 2023-09-02 21:56:36 +01:00
  • 5c2e4ee6fe Update: Translations from eints translators 2023-09-02 18:38:13 +00:00
  • b0f8890ba5 Codechange: [CMake] detect source files with duplicate names glx22 2023-08-14 19:26:43 +02:00
  • c77184aa35 Codechange: [CMake] reduce code duplication glx22 2023-08-14 19:25:26 +02:00
  • 7e54418022 Codechange: workaround CMake/Xcode duplicate file name issue (#11186) Bouke Haarsma 2023-09-02 19:46:52 +02:00
  • 0089323542 Add: [Script] Custom news message text for industry SetProductionLevel. Michael Lutz 2023-08-06 16:05:04 +02:00
  • 1c56991213 Add: [Script] Game script control of industry production level. Michael Lutz 2023-07-16 21:34:42 +02:00
  • a5c8365aa4 Feature: Setting to disallow level crossings with competitors (#10755) mrmbernardi 2023-09-02 12:46:24 +02:00
  • 236ec41fa2 Fix #11230: Group list widget layout failed, if dropdown widgets were higher than the font height. (#11231) frosch 2023-09-02 12:45:19 +02:00
  • 6ab169fbe0 Update: Translations from eints dutch: 1 change by Afoklala translators 2023-09-01 18:38:57 +00:00
  • 7afd686541 Codechange: add tests for GS <-> AdminPort JSON conversion (#11252) Patric Stout 2023-08-31 21:38:15 +02:00
  • 993e7be707 Fix: [Script] GSAdmin.Send() could generate invalid JSON (#11250) Patric Stout 2023-08-31 18:52:52 +02:00
  • 4eddec9e79 Add: [Emscripten] Support for bootstrapping glx22 2023-07-06 18:20:33 +02:00
  • 3d1c4a8589 Codechange: [Emscripten] Improve syncfs synchronisation on exit/abort glx22 2023-07-06 18:18:03 +02:00
  • 75d3dc0a19 Codechange: [Emscripten] remove "relative_mode" parameter from -vsdl as it doesn't exist (#11249) Patric Stout 2023-08-31 12:04:22 +02:00
  • 502414b567 Fix: [Emscripten] config not saved on exit game (#11248) Patric Stout 2023-08-31 11:10:11 +02:00
  • 2f96ccc18a Add: [CI] Create and store breakpad symbols for releases (#11247) Patric Stout 2023-08-30 20:27:15 +02:00
  • ecb4bb5161 Change: for surveys capture more information about the OpenTTD version (#11244) Patric Stout 2023-08-30 12:14:32 +02:00
  • 5e75afb628 Update: Translations from eints catalan: 2 changes by J0anJosep translators 2023-08-28 18:38:07 +00:00
  • a3d631ffed Change: make nlohmann a mandatory library to build OpenTTD (#11235) Patric Stout 2023-08-28 19:04:36 +02:00