c9422762c0
Tracerestrict: Add 0 enum value for TraceRestrictProgramActionsUsedFlags
Jonathan G Rennison
2024-01-20 12:58:38 +00:00
fa1c4f2be5
Tracerestrict: Add bit allocation diagram for TraceRestrictItem
Jonathan G Rennison
2024-01-19 21:09:25 +00:00
1408b12249
Tracerestrict: Add get/set to use auxiliary and cond op as a single field
Jonathan G Rennison
2024-01-19 21:09:08 +00:00
2d56c4d2e3
Tracerestrict: Update comment for TraceRestrictItem enum
Jonathan G Rennison
2024-01-19 20:43:56 +00:00
6b21368bc2
Codechange: replace FIND_FIRST_BIT/FindFirstBit2x64 with FindFirstBit
Rubidium
2024-01-18 19:40:49 +01:00
8faaedeff9
Codechange: replace hand written function to find first/last bit with C++ variant
Rubidium
2024-01-18 18:40:52 +01:00
903119115b
Fix 9602de4: FinaliseCargoArray did nothing. (#11839)
Peter Nelson
2024-01-19 20:07:47 +00:00
db7697bcdf
Update: Translations from eints chinese (simplified): 22 changes by WenSimEHRP romanian: 37 changes by bnegrut
translators
2024-01-19 18:40:43 +00:00
9cf47af490
Change: Invalidate music volume when restarting music playback on Windows. (#11836)
Peter Nelson
2024-01-19 17:01:36 +00:00
6a2c37b4ed
Fix 09f585b: Crash if font name ends with comma or comma and whitespace on Linux. (#11838)
Peter Nelson
2024-01-19 08:03:32 +00:00
1c694e433d
Codechange: use std::popcount instead of hand written loop
Rubidium
2024-01-18 21:45:42 +01:00
ae575a7a5b
Codechange: Store text run positions in vector of points.
Peter Nelson
2024-01-18 21:06:43 +00:00
f7cc88f370
Codechange: Return vector references instead of pointer to first item.
Peter Nelson
2024-01-12 01:39:44 +00:00
52d4a11dd3
Fix: [HarfBuzz] make HarfBuzz use the same glyphs as we render
Patric Stout
2024-01-18 09:34:56 +01:00
7881264d6d
Codechange: [HarfBuzz] hb-ft will set the scaling on its own
Patric Stout
2024-01-18 09:36:48 +01:00
8ab3b6b205Fix#11791, e1f5be62: Run missing-glyph detection after toggling sprite font. (#11812)
Michael Lutz
2024-01-17 00:00:26 +01:00
19b23e43fd
Merge branch 'master' into jgrpp
Jonathan G Rennison
2024-01-18 22:26:46 +00:00
eb6c64cc04
Fix ctrl-drag over new group button in group list window
Jonathan G Rennison
2024-01-17 18:13:09 +00:00
2d77cf9c80
Codechange: replace StrStartsWith/StrEndsWith with starts_with and ends_with
Rubidium
2024-01-17 06:30:44 +01:00
384b804f9c
Update: Translations from eints english (au): 1 change by krysclarke chinese (simplified): 21 changes by WenSimEHRP danish: 4 changes by bscargo french: 2 changes by ottdfevr portuguese (brazilian): 5 changes by pasantoro polish: 5 changes by pAter-exe
translators
2024-01-17 18:39:56 +00:00
341bdabc70Fix#11815, bb491127: Missing brackets prevented vehicles turning properly. (#11816)
Peter Nelson
2024-01-17 13:23:55 +00:00
fd0528a9b4
Fix: Excessive switching of horizontal scale for FPS graph 60 Hz categories
Jonathan G Rennison
2024-01-16 22:23:31 +00:00
17d47ba06f
Fix 661bdae2: cargo_payment not cleared when aircraft loading cancelled
Jonathan G Rennison
2024-01-16 00:55:09 +00:00
81c2c4a881
Slightly speed up unordered iteration of FlowStatMap
Jonathan G Rennison
2024-01-16 23:15:56 +00:00
fd59393899Fix#11791, e1f5be62: Run missing-glyph detection after toggling sprite font. (#11812)
Michael Lutz
2024-01-17 00:00:26 +01:00
e7ba42ad4b
Fix bde05ce7: also update the version in the OpenTTD docs to v0.4 (#11810)
Patric Stout
2024-01-16 23:37:05 +01:00
aa5ba5bd7f
Codechange: allow certain enumeration to be added
Rubidium
2024-01-16 22:01:28 +01:00
4458d3b61c
FPS graph: Fix excessive switching of horizontal scale for 60 Hz drawing
Jonathan G Rennison
2024-01-16 22:23:31 +00:00
7737aa6640
Codechange: Make all NWidgetPart arrays constexpr.
Peter Nelson
2024-01-15 22:49:24 +00:00
71b7ba0daa
Codechange: Allow constexpr NWidgetPart construction.
Peter Nelson
2024-01-15 22:49:24 +00:00
a5b6e17556
Codechange: Make geometry methods constexpr.
Peter Nelson
2024-01-15 22:49:25 +00:00
68843e3a96
Codechange: Move WidgetDimensions::unscaled to header to allow const use.
Peter Nelson
2024-01-15 22:49:59 +00:00
7eecd7512f
Codechange: Remove redundant struct keyword.
Peter Nelson
2024-01-15 22:49:23 +00:00
6860a86d45
Codechange: remove all u8 prefix in favour of compile-time option (#11807)
Patric Stout
2024-01-16 22:33:53 +01:00
6550682b49
Codechange: minor bits and pieces related to fmt::format() (#11806)
Patric Stout
2024-01-16 22:10:34 +01:00
0b7410d979
Codechange: compile-time validate the string format of IConsolePrint (#11804)
Patric Stout
2024-01-16 22:04:35 +01:00
8b4c5a6269
Codechange: compile-time validate the string format of SlErrorCorruptFmt (#11805)
Patric Stout
2024-01-16 21:58:55 +01:00
d005e8f8bd
Fix 884b9e66: No need to include extra pixel for pressed state. (#11803)
Peter Nelson
2024-01-16 20:50:46 +00:00
4fa5992d33
Merge branch 'master' into jgrpp
Jonathan G Rennison
2024-01-16 20:41:02 +00:00
6903e5c937
Documentation: Update NewGRF road stops documents
Jonathan G Rennison
2024-01-16 20:25:54 +00:00
bde05ce79c
Update: OpenTTD TTF font to v0.4 (#11799)
Patric Stout
2024-01-16 21:10:48 +01:00
3ab31f5518
Add settings for town/industry cargo production scaling modes
Jonathan G Rennison
2024-01-16 19:12:10 +00:00
2efd897691
Update: Translations from eints english (au): 4 changes by krysclarke english (us): 4 changes by 2TallTyler chinese (simplified): 8 changes by WenSimEHRP korean: 4 changes by telk5093 russian: 4 changes by Ln-Wolf finnish: 4 changes by hpiirai french: 8 changes by ottdfevr
translators
2024-01-16 18:39:39 +00:00
53d29852e4
Add SettingOnGuiCtrlType mode for setting value dparam overrides
Jonathan G Rennison
2024-01-16 17:47:07 +00:00
1e0bb019a7
Change cargo scaling settings to be linear instead of logarithmic
Jonathan G Rennison
2024-01-16 18:02:34 +00:00
c8ff26f2b8
Reset town/industry scaling settings when loading old games
Jonathan G Rennison
2024-01-16 17:43:05 +00:00
091fb0da44
Fix crash which could occur when trying to extend invalidated reservation
Jonathan G Rennison
2024-01-16 17:31:23 +00:00
c8d82eb988
Fix two rail types per tile with savegame versions before 24
Jonathan G Rennison
2024-01-16 00:48:56 +00:00
0df59defc4
Merge branch 'master' into jgrpp
Jonathan G Rennison
2024-01-16 00:38:56 +00:00
661bdae2e5Fix#11785, cf16f45: when bumping aircraft into the air, remove them from the loading vehicle list again
Rubidium
2024-01-15 22:12:55 +01:00
f99793547e
Fix fbd71a9: for TTO savegames, getting the savegame type left the file pointing to the wrong location
Rubidium
2024-01-15 20:58:24 +01:00
d5518f6263
Fix 36a0818: TTO did not save company shares
Rubidium
2024-01-15 20:04:11 +01:00
51f1e939e8
Change: be more resilient against missing towns in old loader
Rubidium
2024-01-15 19:22:51 +01:00
67b405d2f6Fix#11783, 953445a: TTO savegames are not 65536 by 65536
Rubidium
2024-01-15 19:10:13 +01:00
f5b320e502
Codechange: use range based for loop, instead of tile numbers
Rubidium
2024-01-15 18:39:31 +01:00
b09a4384d9
Codechange: remove need to use separate array for old_map3
Rubidium
2024-01-15 19:00:59 +01:00
8510f7bd00
Fix: NWidgetParts must use unscaled dimensions. (#11794)
Peter Nelson
2024-01-15 23:02:25 +00:00
82d32fe40c
Fix AllocateMap call for TTO savegames
Jonathan G Rennison
2024-01-15 21:34:39 +00:00
42e07809d0
Change: [CI] upgrade linux-generic to libc 2.28 and introduce linux-legacy (#11792)
Patric Stout
2024-01-15 22:30:52 +01:00
64bc07ff4e
Change: Make "middle" the default stopping location for trains in platforms (#11605)
EmperorJake
2024-01-16 08:10:27 +11:00
7fd2c2d44f
Fix: [Linux] install all X11 dependencies in linux-generic (#11787)
Patric Stout
2024-01-15 21:59:19 +01:00
375074577f
Fix: [SDL] remove hint to avoid hardware acceleration (#11790)
Patric Stout
2024-01-15 21:57:55 +01:00