c9422762c0Tracerestrict: Add 0 enum value for TraceRestrictProgramActionsUsedFlags
Jonathan G Rennison
2024-01-20 12:58:38 +00:00
fa1c4f2be5Tracerestrict: Add bit allocation diagram for TraceRestrictItem
Jonathan G Rennison
2024-01-19 21:09:25 +00:00
1408b12249Tracerestrict: Add get/set to use auxiliary and cond op as a single field
Jonathan G Rennison
2024-01-19 21:09:08 +00:00
2d56c4d2e3Tracerestrict: Update comment for TraceRestrictItem enum
Jonathan G Rennison
2024-01-19 20:43:56 +00:00
6b21368bc2Codechange: replace FIND_FIRST_BIT/FindFirstBit2x64 with FindFirstBit
Rubidium
2024-01-18 19:40:49 +01:00
8faaedeff9Codechange: replace hand written function to find first/last bit with C++ variant
Rubidium
2024-01-18 18:40:52 +01:00
903119115bFix 9602de4: FinaliseCargoArray did nothing. (#11839)
Peter Nelson
2024-01-19 20:07:47 +00:00
db7697bcdfUpdate: Translations from eints chinese (simplified): 22 changes by WenSimEHRP romanian: 37 changes by bnegrut
translators
2024-01-19 18:40:43 +00:00
9cf47af490Change: Invalidate music volume when restarting music playback on Windows. (#11836)
Peter Nelson
2024-01-19 17:01:36 +00:00
6a2c37b4edFix 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
1c694e433dCodechange: use std::popcount instead of hand written loop
Rubidium
2024-01-18 21:45:42 +01:00
ae575a7a5bCodechange: Store text run positions in vector of points.
Peter Nelson
2024-01-18 21:06:43 +00:00
f7cc88f370Codechange: Return vector references instead of pointer to first item.
Peter Nelson
2024-01-12 01:39:44 +00:00
52d4a11dd3Fix: [HarfBuzz] make HarfBuzz use the same glyphs as we render
Patric Stout
2024-01-18 09:34:56 +01:00
7881264d6dCodechange: [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
19b23e43fdMerge branch 'master' into jgrpp
Jonathan G Rennison
2024-01-18 22:26:46 +00:00
2f8de227dcRemove: unused OTTD_ALIGNMENT define and ReadLE16(Un)aligned
Rubidium
2024-01-18 22:09:09 +01:00
ee00c7b159Codechange: use TO_LE16 directly when reading language file offsets
Rubidium
2024-01-18 22:08:22 +01:00
352513ace6Fix bde05ce7: also update the version in the OpenTTD docs to v0.4 (#11810)
Patric Stout
2024-01-16 23:37:05 +01:00
7a5e8dd991Linkgraph: Scroll overlay pixel cache instead of clearing it on scroll
Jonathan G Rennison
2024-01-18 01:57:13 +00:00
6c30e88890Use overlay layer for plan rendering in viewport map mode
Jonathan G Rennison
2024-01-17 20:19:19 +00:00
3d87cfeca5Plans: Cache whether any plans are currently visible
Jonathan G Rennison
2024-01-17 19:03:10 +00:00
1159224d6fPlans: Fix missing const specifiers on visibility getters
Jonathan G Rennison
2024-01-17 18:14:20 +00:00
a3c5084b29Viewport map mode: Scroll landscape cache instead of clearing it on scroll
Jonathan G Rennison
2024-01-18 03:09:32 +00:00
0bcbdef512Use overlay layer for link graph overlay in viewport map mode
Jonathan G Rennison
2024-01-17 02:05:49 +00:00
888b7b5dceAdd a simple 64 bit to 64 bit hash (from MurmurHash3)
Jonathan G Rennison
2024-01-18 01:11:10 +00:00
32b99bf77cUpdate: Translations from eints portuguese: 4 changes by azulcosta
translators
2024-01-18 18:40:14 +00:00
eb6c64cc04Fix ctrl-drag over new group button in group list window
Jonathan G Rennison
2024-01-17 18:13:09 +00:00
2d77cf9c80Codechange: replace StrStartsWith/StrEndsWith with starts_with and ends_with
Rubidium
2024-01-17 06:30:44 +01:00
384b804f9cUpdate: 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
fd0528a9b4Fix: Excessive switching of horizontal scale for FPS graph 60 Hz categories
Jonathan G Rennison
2024-01-16 22:23:31 +00:00
17d47ba06fFix 661bdae2: cargo_payment not cleared when aircraft loading cancelled
Jonathan G Rennison
2024-01-16 00:55:09 +00:00
81c2c4a881Slightly 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
e7ba42ad4bFix bde05ce7: also update the version in the OpenTTD docs to v0.4 (#11810)
Patric Stout
2024-01-16 23:37:05 +01:00
aa5ba5bd7fCodechange: allow certain enumeration to be added
Rubidium
2024-01-16 22:01:28 +01:00
4458d3b61cFPS graph: Fix excessive switching of horizontal scale for 60 Hz drawing
Jonathan G Rennison
2024-01-16 22:23:31 +00:00
7737aa6640Codechange: Make all NWidgetPart arrays constexpr.
Peter Nelson
2024-01-15 22:49:24 +00:00
71b7ba0daaCodechange: Allow constexpr NWidgetPart construction.
Peter Nelson
2024-01-15 22:49:24 +00:00
a5b6e17556Codechange: Make geometry methods constexpr.
Peter Nelson
2024-01-15 22:49:25 +00:00
68843e3a96Codechange: Move WidgetDimensions::unscaled to header to allow const use.
Peter Nelson
2024-01-15 22:49:59 +00:00
7eecd7512fCodechange: Remove redundant struct keyword.
Peter Nelson
2024-01-15 22:49:23 +00:00
6860a86d45Codechange: remove all u8 prefix in favour of compile-time option (#11807)
Patric Stout
2024-01-16 22:33:53 +01:00
6550682b49Codechange: minor bits and pieces related to fmt::format() (#11806)
Patric Stout
2024-01-16 22:10:34 +01:00
0b7410d979Codechange: compile-time validate the string format of IConsolePrint (#11804)
Patric Stout
2024-01-16 22:04:35 +01:00
8b4c5a6269Codechange: compile-time validate the string format of SlErrorCorruptFmt (#11805)
Patric Stout
2024-01-16 21:58:55 +01:00
d005e8f8bdFix 884b9e66: No need to include extra pixel for pressed state. (#11803)
Peter Nelson
2024-01-16 20:50:46 +00:00
4fa5992d33Merge branch 'master' into jgrpp
Jonathan G Rennison
2024-01-16 20:41:02 +00:00
6903e5c937Documentation: Update NewGRF road stops documents
Jonathan G Rennison
2024-01-16 20:25:54 +00:00
bde05ce79cUpdate: OpenTTD TTF font to v0.4 (#11799)
Patric Stout
2024-01-16 21:10:48 +01:00
3ab31f5518Add settings for town/industry cargo production scaling modes
Jonathan G Rennison
2024-01-16 19:12:10 +00:00
2efd897691Update: 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
53d29852e4Add SettingOnGuiCtrlType mode for setting value dparam overrides
Jonathan G Rennison
2024-01-16 17:47:07 +00:00
1e0bb019a7Change cargo scaling settings to be linear instead of logarithmic
Jonathan G Rennison
2024-01-16 18:02:34 +00:00
c8ff26f2b8Reset town/industry scaling settings when loading old games
Jonathan G Rennison
2024-01-16 17:43:05 +00:00
091fb0da44Fix crash which could occur when trying to extend invalidated reservation
Jonathan G Rennison
2024-01-16 17:31:23 +00:00
c8d82eb988Fix two rail types per tile with savegame versions before 24
Jonathan G Rennison
2024-01-16 00:48:56 +00:00
0df59defc4Merge 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
f99793547eFix 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
d5518f6263Fix 36a0818: TTO did not save company shares
Rubidium
2024-01-15 20:04:11 +01:00
51f1e939e8Change: 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
f5b320e502Codechange: use range based for loop, instead of tile numbers
Rubidium
2024-01-15 18:39:31 +01:00
b09a4384d9Codechange: remove need to use separate array for old_map3
Rubidium
2024-01-15 19:00:59 +01:00
8510f7bd00Fix: NWidgetParts must use unscaled dimensions. (#11794)
Peter Nelson
2024-01-15 23:02:25 +00:00
82d32fe40cFix AllocateMap call for TTO savegames
Jonathan G Rennison
2024-01-15 21:34:39 +00:00
42e07809d0Change: [CI] upgrade linux-generic to libc 2.28 and introduce linux-legacy (#11792)
Patric Stout
2024-01-15 22:30:52 +01:00
64bc07ff4eChange: Make "middle" the default stopping location for trains in platforms (#11605)
EmperorJake
2024-01-16 08:10:27 +11:00
7fd2c2d44fFix: [Linux] install all X11 dependencies in linux-generic (#11787)
Patric Stout
2024-01-15 21:59:19 +01:00
375074577fFix: [SDL] remove hint to avoid hardware acceleration (#11790)
Patric Stout
2024-01-15 21:57:55 +01:00