Commit Graph

  • d19832569e Cleanup: No need to cast const Font * to itself. (#11395) Peter Nelson 2023-10-25 14:08:07 +01:00
  • 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
  • 3da9f521a5 Documentation: Fix stray HTML tag in road stops documentation Jonathan G Rennison 2023-10-23 22:49:07 +01: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
  • 6b649f668e Documentation: Fix table for road stops var 42/roadstop_terrain_type Jonathan G Rennison 2023-10-19 17:44:54 +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
  • 39247b0120 Road stops: Add tile slope to varact2 variable 0x42 Jonathan G Rennison 2023-10-15 22:27:28 +01:00
  • 356a5d5773 Codechange: Use std::vector in fallback layouter, and shorten accessors. (#11355) Peter Nelson 2023-10-15 21:59:10 +01:00
  • b9654985ad Fix crash in sprite aligner window Jonathan G Rennison 2023-10-15 21:51:41 +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
  • adbbbd14b6 Update simplified_chinese.txt WenSimEHRP 2023-09-30 10:37:44 -07: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
  • e3ccc54670 Adjust setting text for departure board conditional order handling Jonathan G Rennison 2023-10-04 18:29:55 +01:00
  • cd091e04f5 Add settings filter to only show non-vanilla settings Jonathan G Rennison 2023-10-04 18:20:25 +01:00
  • d1a94d75e1 Fix: Incorrect include path for timers. (#11351) Peter Nelson 2023-10-04 17:02:16 +01:00
  • 0620026d56 Tracerestrict: Add long reserve (unless stopping) mode Jonathan G Rennison 2023-10-03 20:59:28 +01:00
  • 7145b7060a Update: Translations from eints romanian: 3 changes by bnegrut translators 2023-10-03 18:39:41 +00:00
  • b299c4dce8 Tracerestrict: Add enum type for TRIT_LONG_RESERVE values Jonathan G Rennison 2023-10-03 18:11:41 +01: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
  • 4280c413a6 Fix: only count distance traveled in vehicles for cargo payment (#11283) Patric Stout 2023-09-19 22:16:31 +02:00
  • 05c35c8e31 Fix: base cargo payment on load/unload tile, instead of station sign location (#11281) Patric Stout 2023-09-13 16:41:09 +02:00
  • a15847cf4f Codechange: simplify splitting of CargoPacket (#11286) Patric Stout 2023-09-13 15:40:01 +02:00
  • 59d5270a8c Fix b0e73277: save/load next_station for CargoPacket again Patric Stout 2023-09-10 22:35:03 +02:00
  • a38b072e4b Fix: don't compare next_station when trying to merge CargoPackets Patric Stout 2023-09-10 22:34:26 +02:00
  • 4ee51442d2 Codechange: rename next_station to next_hop to avoid confusing with another next_station Patric Stout 2023-09-10 22:33:33 +02:00
  • 2037587c7c Codechange: remove parameter from VehicleCargoList::Reassign that is always INVALID_STATION Patric Stout 2023-09-10 22:34:02 +02:00
  • f5d685a525 Fix b0e73277: cargodist information got lost when splitting of cargo (#11280) Patric Stout 2023-09-10 15:20:58 +02:00
  • e5673a1756 Codechange: cleanup CargoPacket in terms of variable/function names (#11278) Patric Stout 2023-09-09 23:21:21 +02:00
  • 2890127675 Codechange: remove loaded_at_xy from CargoPacket as it was unused (#11276) Patric Stout 2023-09-09 21:24:46 +02:00
  • 186a082613 Codechange: Reorder some high-use structs to reduce their size. (#11201) PeterN 2023-09-02 21:56:36 +01:00
  • d17c949c22 Codechange: simplify the type of loaded_at_xy / next_station (#11182) Patric Stout 2023-08-11 14:55:55 +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
  • e0e4d7c07e Saveload: De-duplicate handling of wrong length SLXI extra data Jonathan G Rennison 2023-09-30 16:44:01 +01:00
  • df4c458c29 Add savegame flag for station tile cache flags Jonathan G Rennison 2023-09-30 12:19:05 +01:00
  • b2a1ec96f1 Change: Store station blocked/wires/pylons flags in map. Peter Nelson 2023-09-25 20:22:36 +01:00
  • b5dc9328f2 Change: Store station blocked/wires/pylons flags in map. (#11337) Peter Nelson 2023-09-30 12:30:25 +01:00
  • e162e7a331 Translation: Fix simplified Chinese routing restriction PF penalty strings Jonathan G Rennison 2023-09-30 11:22:45 +01:00
  • 8a0fab1d4c Add setting for whether water floods from map edges Jonathan G Rennison 2023-09-28 17:11:02 +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
  • aa4aee1d23 Remove NOT_REACHED from Layouter::GetCharPosition Jonathan G Rennison 2023-09-26 17:27:24 +01: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
  • d4ed088498 Version: Committing version data for tag: jgrpp-0.55.3 Jonathan G Rennison 2023-09-24 11:55:12 +01:00
  • ef91136633 Fix #10600: 'Replace Vehicles' didn't show numbers >999 (#10680) Daniel Robinson 2023-09-13 16:19:44 +01:00