Commit Graph

  • 3d7f54472d Update: Translations from eints english (us): 3 changes by 2TallTyler danish: 3 changes by bscargo polish: 1 change by pAter-exe translators 2023-10-24 18:38:34 +00:00
  • 9cdf66d3a1 Update: Translations from eints czech: 18 changes by vladoschreiner german: 27 changes by Wuzzy2 translators 2023-10-23 18:38:04 +00:00
  • d1351fa0d2 Update: Translations from eints english (au): 3 changes by krysclarke russian: 3 changes by Ln-Wolf finnish: 3 changes by hpiirai turkish: 4 changes by BeratSJ french: 3 changes by ottdfevr portuguese: 3 changes by azulcosta portuguese (brazilian): 3 changes by pasantoro translators 2023-10-22 18:37:20 +00:00
  • 92ab114e13 Fix f49ffaa: Use DateAtStartOfYear() to calculate max timetable start date (#11388) Tyler Trahan 2023-10-22 10:51:06 -04:00
  • f32058e4e5 Update: Translations from eints translators 2023-10-21 18:37:29 +00:00
  • ac42dea7b2 Codechange: Remove unused parameter for Height() Bernhard Reutner-Fischer 2023-09-19 00:47:47 +02:00
  • 59a2abd298 Codechange: Use unified NWidgetContainer methods instead of duplicating. Peter Nelson 2023-10-19 19:58:43 +01:00
  • af41c5cb4e Codechange: Hide toolbar buttons by setting width to zero. Peter Nelson 2023-10-19 19:50:43 +01:00
  • 81ecbaaa33 Codechange: Hide multiplayer headers by setting width to zero. Peter Nelson 2023-10-19 15:24:47 +01:00
  • 2dd2910ab3 Feature: Cheat to fix station ratings at 100% (#11346) Tyler Trahan 2023-10-21 08:35:52 -04:00
  • 37f84b7372 Codechange: replace x.size() != 0 with !x.empty() Rubidium 2023-10-20 20:22:49 +02:00
  • f16399f4c9 Codechange: replace x.size() > 0 with !x.empty() Rubidium 2023-10-20 20:18:31 +02:00
  • c9276c2959 Codechange: replace x.size() == 0 with x.empty() Rubidium 2023-10-20 20:09:58 +02:00
  • f06b3e9846 Change: Use CARGO_LIST to show station cargo acceptance changes. (#11379) Peter Nelson 2023-10-20 20:14:46 +01:00
  • 4c24334fda Update: Translations from eints translators 2023-10-20 18:38:26 +00:00
  • fd6f1e844a Codechange: Avoid emplace_back(new()) into a unique_ptr. (#11384) Peter Nelson 2023-10-20 18:40:48 +01:00
  • 429a6f58e7 Codechange: Use max_element to find best cargo (sub-)type in NewGRF var 42. (#11370) Peter Nelson 2023-10-20 18:40:26 +01:00
  • 90351578a6 Codechange: Use std::map instead of fixed array to store refit options. Peter Nelson 2023-10-02 08:12:56 +01:00
  • e4f94747f3 Codechange: Use comparator struct to sort cargo ID by predefined sort order. Peter Nelson 2023-10-14 21:20:23 +01:00
  • bc8e26f4e7 Codechange: Simplify usage of GRFFile cargo_map. (#11349) Peter Nelson 2023-10-20 18:38:54 +01:00
  • 69e20e79ab Codechange: Add const versions of GetItem/GetGroup, and sprinkle liberally. Peter Nelson 2023-10-11 00:38:57 +01:00
  • 17ba9d8c96 Codechange: Use range-for instead of nullptr-terminated list in settingsgen. Peter Nelson 2023-10-10 19:26:49 +01:00
  • 233aac567b Codechange: Use std::list instead of C-linked list for ini files. Peter Nelson 2023-10-10 19:26:00 +01:00
  • ec1cf96b62 Codechange: Move initialization of group-type to CreateGroup function. Peter Nelson 2023-10-10 19:26:00 +01:00
  • 8bd06807e4 Codechange: Pass initializer list instead of null-terminated list of group types. Peter Nelson 2023-10-10 19:25:59 +01:00
  • 1fecbeff76 Codechange: Remove create parameter from IniLoadFile::GetGroup. Peter Nelson 2023-10-10 19:25:59 +01:00
  • c47a0e1578 Codechange: Correct scope of IniItem for for-loop. Peter Nelson 2023-10-10 19:25:58 +01:00
  • 6ce7195ef1 Codechange: Split GetGroup into GetGroup/GetOrCreateGroup. Peter Nelson 2023-10-10 19:25:58 +01:00
  • 54b1a067eb Codechange: Test for nullptr instead of treating pointer as boolean. Peter Nelson 2023-10-10 19:25:57 +01:00
  • d3c5ae2648 Codechange: Add CreateGroup/CreateItem methods for ini files. Peter Nelson 2023-10-10 19:25:57 +01:00
  • 0c85ce29ea Codechange: Pass ini file by reference and prefer automatic storage. Peter Nelson 2023-10-10 19:25:56 +01:00
  • 3961318974 Codechange: Accept std::string in RemoveGroup(). Peter Nelson 2023-10-11 12:31:12 +01:00
  • bb6fa9bf3b Change: Display cargo lists in sorted cargo order. (#11383) Peter Nelson 2023-10-20 17:32:17 +01:00
  • 088db62dba Change: Always allow expanding towns in Scenario Editor to build new roads (#11377) Tyler Trahan 2023-10-19 17:01:45 -04:00
  • 4df2640f87 Fix: Tile slope missing from road stops varact2 variable 0x42 Jonathan G Rennison 2023-10-15 22:35:24 +01:00
  • e1c83869ed Fix: Scale minimum width for server name by interface scale. (#11381) Peter Nelson 2023-10-19 18:06:47 +01:00
  • 9602de474d Codechange: Use iterators and/or range-for on cargo related loops. Peter Nelson 2023-10-18 20:49:01 +01:00
  • 2a88e0fab3 Codechange: Use bitmask instead of array for cargo consistency check. Peter Nelson 2023-10-18 20:49:00 +01:00
  • a1c6923c63 Fix: Assertion in sprite aligner window (#11371) Jonathan G Rennison 2023-10-17 21:25:48 +01:00
  • ab805c4e9e Fix #11375, 7c37dcb: Use STRING2 when the passed string can have 2 parameters (#11376) Loïc Guilloux 2023-10-16 19:49:44 +02:00
  • f49ffaaaea Fix e4fd99a, Fix #11270: Vehicle max age is not subject to leap years (#11372) Tyler Trahan 2023-10-15 18:34:03 -04:00
  • 356a5d5773 Codechange: Use std::vector in fallback layouter, and shorten accessors. (#11355) Peter Nelson 2023-10-15 21:59:10 +01:00
  • 2be1b72a5b Update: Translations from eints hungarian: 50 changes by Norodix translators 2023-10-15 18:36:51 +00:00
  • a73ef95a2b Update: Translations from eints chinese (simplified): 5 changes by WenSimEHRP translators 2023-10-14 18:37:25 +00:00
  • adad078b55 Fix #11367, 7c37dcb: use STRING1 when the passed string can have a parameter Rubidium 2023-10-14 09:48:54 +02:00
  • bdcf6b6acd Fix: Treat closing network relay window as a choice of "No". Peter Nelson 2023-10-13 12:59:30 +01:00
  • f379b31e28 Add: data parameter in Window::Close method. Peter Nelson 2023-10-13 12:59:15 +01:00
  • cda6f24fe8 Change: Filter duplicate paths from valid search path list. (#11363) Peter Nelson 2023-10-09 22:38:13 +01:00
  • 0458c15060 Cleanup: [MacOS] Remove unneeded WITH_SDL checks (#11360) Loïc Guilloux 2023-10-09 19:35:15 +02:00
  • ac9db3f5aa Codechange: Don't use bit-field in Yapf rail node. (#11362) Peter Nelson 2023-10-09 13:11:55 +01:00
  • 84201a8520 Update: Translations from eints chinese (traditional): 80 changes by wpi3 chinese (simplified): 1 change by WenSimEHRP translators 2023-10-07 18:37:44 +00:00
  • 2fd3d943aa Fix 94167dfd: Don't shade the currently selected engine in autoreplace window. (#11354) Peter Nelson 2023-10-06 21:09:24 +01:00
  • 89acfc7ff9 Update: Translations from eints chinese (simplified): 1 change by WenSimEHRP indonesian: 12 changes by liimee translators 2023-10-04 18:39:06 +00:00
  • d1a94d75e1 Fix: Incorrect include path for timers. (#11351) Peter Nelson 2023-10-04 17:02:16 +01:00
  • 7145b7060a Update: Translations from eints romanian: 3 changes by bnegrut translators 2023-10-03 18:39:41 +00:00
  • c794676928 Fix #10763, Fix #11168: Display variant groups that consist only of unavailable sub-groups (#11342) merni-ns 2023-10-03 18:13:15 +05:30
  • 5869f790d8 Fix: Check for engine variant loops during NewGRF initialization. (#11343) Peter Nelson 2023-10-03 12:14:32 +01:00
  • 077b08bbfa Fix #11261: Set number of items correctly when choosing available airport set (#11344) merni-ns 2023-10-03 16:28:44 +05:30
  • 82c8720814 Fix #8846: When upgrading NewGRF presets, copy NewGRF parameters only if the NewGRF are compatible. Otherwise reset to defaults. frosch 2023-10-01 15:21:57 +02:00
  • d75a5e1a9a Fix: Upgrading NewGRF presets could result in incomplete display of NewGRF parameters until restart. frosch 2023-10-01 14:15:05 +02:00
  • c84219a42e Update: Translations from eints english (us): 1 change by 2TallTyler vietnamese: 21 changes by KhoiCanDev translators 2023-09-30 18:37:10 +00:00
  • b5dc9328f2 Change: Store station blocked/wires/pylons flags in map. (#11337) Peter Nelson 2023-09-30 12:30:25 +01:00
  • fd79d34ba9 Update: Translations from eints korean: 1 change by telk5093 translators 2023-09-27 18:39:05 +00:00
  • beafdadde4 Update: Translations from eints italian: 25 changes by Rivarossi translators 2023-09-26 18:39:04 +00:00
  • 890146fecb Codechange: Add -Wsuggest-override compilation flag. Peter Nelson 2023-09-25 13:02:51 +01:00
  • 015fbafe34 Codechange: Add missing override specifiers to squirrel. Peter Nelson 2023-09-25 13:02:51 +01:00
  • 49dae08a3b Codechange: Add missing override specifiers. Peter Nelson 2023-04-13 07:23:18 +01:00
  • a454773a73 Doc: Link 3rdparty licenses from README. (#11333) frosch 2023-09-25 22:11:20 +02:00
  • a650194227 Update: Translations from eints finnish: 1 change by hpiirai translators 2023-09-25 18:38:49 +00:00
  • 976f8c474f Update: Translations from eints chinese (simplified): 139 changes by BYXxiaonanhui catalan: 23 changes by J0anJosep portuguese (brazilian): 1 change by pasantoro translators 2023-09-24 18:36:59 +00:00
  • f8303b0397 Update: Translations from eints english (au): 1 change by krysclarke russian: 1 change by Ln-Wolf danish: 1 change by bscargo dutch: 1 change by Afoklala french: 1 change by ottdfevr portuguese: 1 change by azulcosta polish: 68 changes by pAter-exe translators 2023-09-22 18:37:34 +00:00
  • bec36c1f98 Cleanup ba67f39: CodeQL's dependency was forgotten to be removed Rubidium 2023-09-21 20:54:01 +02:00
  • 398c7e5f9d Codechange: Use new function to get a bitmask of empty cargo types. Peter Nelson 2023-09-21 08:38:46 +01:00
  • 69ee38bd43 Codechange: Use GetAcceptanceMask() instead of duplicating it. Peter Nelson 2023-09-21 08:29:10 +01:00
  • 6d675c8acf Fix: #11329: Don't assert vehicle list length is non-zero when only asked to set string parameter. (#11330) PeterN 2023-09-21 13:24:53 +01:00
  • cef6a5f79c Fix #11326: Update autoreplace scrollbar count after clearing engine list. (#11327) PeterN 2023-09-21 07:42:49 +01:00
  • 6b7537646d Fix: Allow NewGRF inspection of road tiles. (#11323) Joan Josep 2023-09-20 23:54:34 +02:00
  • 122bfa2afd Codechange: Use less locals for station free names bitmask. Peter Nelson 2023-09-20 20:59:32 +01:00
  • aeaa552385 Codechange: Use std::bitset instead of bool array. Peter Nelson 2023-09-20 20:59:31 +01:00
  • 2eacf36d0a Codechange: List fallback station names by ID instead of magic number. Peter Nelson 2023-09-20 20:59:25 +01:00
  • f40816503f Codechange: Add enum items for dynmically created setting dropdowns. frosch 2023-09-20 21:26:42 +02:00
  • 39e67b6f4c Codechange: Use existing widget ids instead of raw numbers. frosch 2023-09-20 21:25:37 +02:00
  • e0df937247 Fix b5885295: NewGRF preset dropdown was broken. frosch 2023-09-20 21:23:42 +02:00
  • 72323ae9e6 Update: Translations from eints danish: 20 changes by bscargo translators 2023-09-20 18:38:51 +00:00
  • b9a1cb5d7c Fix: Spelling of NIHAirport. (#11322) Joan Josep 2023-09-20 20:22:37 +02:00
  • a0c6259e33 Codechange: Don't access cargo filter before it is initialized. (#11321) PeterN 2023-09-20 08:58:08 +01:00
  • 48dc4219ea Codechange: Don't pass GUI cargo filter constants to command system. (#11320) PeterN 2023-09-20 08:56:53 +01:00
  • 6b586dddad Cleanup: TransmitNotesOff is only called with buffer==_buffer. frosch 2023-09-17 20:49:22 +02:00
  • c84fd30317 Codechange: Add missing 'override'. frosch 2023-09-17 19:56:54 +02:00
  • 2ff4248032 Codechange: Enable more warnings. frosch 2023-09-17 01:08:15 +02:00
  • a7707302e6 Codechange: silence false warning. frosch 2023-09-17 01:35:33 +02:00
  • 55da426d44 Codechange: All ParagraphLayoutFactory::AppendToBuffer assume that the buffer has at least some space. Assert on that. frosch 2023-09-17 00:33:35 +02:00
  • baf7cc858b Codechange: Rename ship docking tile related functions. frosch 2023-09-16 23:51:49 +02:00
  • 5733145c59 Cleanup: Remove unneeded parameters. frosch 2023-09-16 23:27:16 +02:00
  • b5885295f0 Codechange: Use parameters, which should be used. frosch 2023-09-16 23:25:17 +02:00
  • b6c8f301be Codechange: Silence warnings about intentionally unused parameters. frosch 2023-09-16 22:20:53 +02:00
  • df400ef84a Fix: only count distance traveled in vehicles for cargo payment (#11283) Patric Stout 2023-09-19 22:16:31 +02:00
  • 710722e3c1 Update: Translations from eints korean: 1 change by telk5093 translators 2023-09-19 18:38:46 +00:00
  • 6fb89b189f Fix #11315: Sort industries and cargoes by name* in industry chain window. Peter Nelson 2023-09-18 22:34:55 +01:00
  • 106f29f761 Codechange: Use iteration to copy cargo list into CFT_CARGO. Peter Nelson 2023-09-18 21:55:31 +01:00