Commit Graph

27998 Commits (0c85ce29ea24e661c6f67f4516e5aeb54d1faa6c)
 

Author SHA1 Message Date
Patric Stout 53af20910b
Fix: [MSVC] generate static libraries / executables correctly with vcpkg -static target (#11208) 1 year ago
translators 7f5c0aab60 Update: Translations from eints
dutch: 2 changes by Afoklala
1 year ago
Patric Stout 5ac333c2cc
Fix: [MacOS] screen looks blue-ish when using newer SDKs (#11207)
The define kCGBitmapByteOrder32Host changed (around SDK 12?)
into an enum, which means an old #ifndef was triggering,
overwriting the value to 0. Sadly, 0 means Order16Big, causing
RGBA to become GRAB, which results in strange colours.

As we no longer support PPC, drop that piece of code completely.
1 year ago
Loïc Guilloux 2bf3c02fbf
Fix: no fast forward in network was ensured only from GUI side (#11206) 1 year ago
translators e8c49d3543 Update: Translations from eints
swedish: 1 change by joeax910
1 year ago
Jonathan G Rennison 9061fef59c
Fix #11203: [ICU] Glyph to char mapping with multiple runs (#11204) 1 year ago
translators db1a9f00c0 Update: Translations from eints
dutch: 1 change by Bouke
1 year ago
romw314 662f76bfc4
Docs: mention Windows 11 in directory_structure.md (#11200) 1 year ago
Patric Stout 07730584d7
Codechange: make explicit when a TileIndex is cast to its basetype (#11190)
This prevents people accidentially assigning a TileIndex to a Date
or any other type they shouldn't.
1 year ago
arikover 5d3f7939e2
Fix d42a78f: Show correct road speed in construction dropdowns (#11196) 1 year ago
Loïc Guilloux 7ef55bdfb0
Cleanup: [CMake] don't add strgen.h twice (#11199) 1 year ago
translators e652cd6434 Update: Translations from eints
swedish: 1 change by Brickblock1
english (us): 2 changes by 2TallTyler
1 year ago
Tyler Trahan 61dfd74e44
Codechange: Use correct type for max timetable start years constant (#11197) 1 year ago
translators 0726835735 Update: Translations from eints
english (au): 2 changes by krysclarke
french: 1 change by Lishouuu
portuguese (brazilian): 2 changes by pasantoro
1 year ago
Patric Stout 9dc2fbe4fa
Fix 0238a2b5: crash when news message is displayed (#11195) 1 year ago
Rubidium 40195e689d Change: improve wording of help (host instead of IP) and update man page 1 year ago
Rubidium a8e4d35bde Fix: crash when not passing parameter for -n 1 year ago
translators 56e0d0c7ef Update: Translations from eints
korean: 3 changes by telk5093
russian: 2 changes by Ln-Wolf
portuguese: 3 changes by azulcosta
1 year ago
Patric Stout 9624017fc2
Codechange: be more type-specific about types in NPFs queue (#11192) 1 year ago
Patric Stout 299570b2c1
Codechange: make TimerGameCalendar Date and Year types strongly typed (#10761) 1 year ago
Patric Stout 0238a2b567
Codechange: use std::variant instead of using bitflags in the value (#11191) 1 year ago
Patric Stout a9ed590ca7
Codechange: use TimerGameCalendar::Date for variables in linkgraph that are dates (#11187) 1 year ago
Patric Stout b7acf9e50e
Codechange: use TimerGameCalendar::Year and friends when working with years (#11188) 1 year ago
Patric Stout 01f55eb734
Codechange: introduce week/quarter triggers for TimerGameCalendar (#11189)
This simplifies code that triggers on these periods.
1 year ago
Loïc Guilloux 02be6ab6ba
Fix #11179, a979d9c: Don't start more competitors than allowed (#11185) 1 year ago
Tyler Trahan 8ea01c0bfb
Fix #11180: Use TileVirtXY for aircraft crash tile (#11184) 1 year ago
Tyler Trahan c7b51a8c3a
Codechange: Use proper date types in various places (#11177) 1 year ago
Patric Stout c9c9cfa4fd
Codechange: simplify the type of loaded_at_xy / next_station (#11182)
It was TileOrStationID, most likely to make sure both types in
the union are identical. But as TileIndex is a StrongTypeDef
that becomes a bit weird. So instead, still make sure they are
of equal size, but define their individual types better.
1 year ago
Patric Stout 5fba47b0f7
Codechange: make no assumptions on how the internals of TileIndex work (#11183)
Basically, avoid ".value", and just cast it to its original type
if you want to retrieve this.
1 year ago
Tyler Trahan 6190f48df0
Codechange: Add a DateToYear function instead of dividing each time (#11173) 1 year ago
Tyler Trahan 4928ccf916
Fix #10478: Clarify airport noise control setting texts (#11169) 1 year ago
Tyler Trahan e4fd99a33a
Codechange: Use DateAtStartOfYear() instead of multiplying by DAYS_IN_LEAP_YEAR (#11174) 1 year ago
Tyler Trahan 93069066f9
Codechange: Use auto type when sorting dates (#11175) 1 year ago
Tyler Trahan 6f057cbe6a
Codechange: Use proper date type in ClickChangeDateCheat (#11176) 1 year ago
Loïc Guilloux ba95764f1c
Fix 57717a2: VS2022 optimisation bug is fixed with MSVC 19.37 (#11172) 1 year ago
translators c2fc2d2ed5 Update: Translations from eints
romanian: 48 changes by bnegrut
1 year ago
translators 4daa00c22a Update: Translations from eints
slovak: 53 changes by legitalk
1 year ago
translators 2bc97fae66 Update: Translations from eints
swedish: 45 changes by joeax910
portuguese: 106 changes by azulcosta
1 year ago
Tyler Trahan 9a602ff304
Fix #10334: Store separate newgrf-safe version of date_of_last_service. (#11124)
This value is not changed when the date cheat is used, which caused issues with changing properties based on service date.

Co-authored-by: Peter Nelson <peter1138@openttd.org>
1 year ago
translators 77c00dfe98 Update: Translations from eints
slovak: 9 changes by legitalk
dutch: 3 changes by Afoklala
1 year ago
translators 9d376dc8e0 Update: Translations from eints
finnish: 1 change by hpiirai
portuguese (brazilian): 1 change by pasantoro
1 year ago
translators 11ba39b435 Update: Translations from eints
korean: 21 changes by telk5093
polish: 1 change by pAter-exe
1 year ago
Jonathan G Rennison 6a048bc168 Fix #11164: Duplicate town names when using the many random towns function 1 year ago
translators 4213a2c909 Update: Translations from eints
russian: 1 change by Ln-Wolf
turkish: 33 changes by densxd
danish: 1 change by bscargo
french: 1 change by Lishouuu
polish: 21 changes by pAter-exe
1 year ago
PeterN 4acb68e539
Fix #11162: Get colour map of correct train part. (#11163) 1 year ago
translators 43559524eb Update: Translations from eints
english (au): 1 change by krysclarke
english (us): 1 change by 2TallTyler
portuguese: 1 change by azulcosta
1 year ago
Tyler Trahan 9876c861e4 Remove: Unused ship pathfinder invalidation setting callback 1 year ago
Tyler Trahan 4decd2aa48 Change: Enable "Forbid 90 degree turns" setting by default 1 year ago
translators 5a2e9be9d3 Update: Translations from eints
vietnamese: 10 changes by KhoiCanDev
french: 15 changes by Lishouuu, 9 changes by ottdfevr
1 year ago
Tyler Trahan f57296a033
Change: Only show platform stopping location in orders when other than default (#11102) 1 year ago