Commit Graph

  • dfe70181f1 Codechange: add constexpr to bitmath functions where applicable Rubidium 2024-01-20 16:09:30 +01:00
  • 4c51534b6a Remove: LeastCommonMultiple / GreatestCommonDivisor Rubidium 2024-01-20 15:59:53 +01:00
  • 1403f24fa9 Codechange: replace LeastCommonMultiple with std::lcm Rubidium 2024-01-20 15:58:37 +01:00
  • 5a731c04f3 Tracerestrict: Do not acquire slots a second time when front passes signal Jonathan G Rennison 2024-01-20 15:41:24 +00:00
  • 5e2a8861f9 Tracerestrict: Avoid prematurely acquiring slots on tunnel/bridge exits Jonathan G Rennison 2024-01-20 15:14:53 +00:00
  • ed59f6a8b9 Fix upgrading bridge type clearing custom signal style and routing restriction flags Jonathan G Rennison 2024-01-20 13:23:08 +00:00
  • bd85f61a40 Change: use a stronger hash and actual random information to generate Uids Patric Stout 2024-01-18 23:52:53 +01:00
  • 37244bc8c5 Codechange: MacOS already has MIN/MAX macros defined Patric Stout 2024-01-19 00:17:58 +01:00
  • 63a3d56b8a Add: monocypher 4.0.2 Patric Stout 2024-01-18 23:13:20 +01:00
  • 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
  • 8ab3b6b205 Fix #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
  • 2f8de227dc Remove: unused OTTD_ALIGNMENT define and ReadLE16(Un)aligned Rubidium 2024-01-18 22:09:09 +01:00
  • ee00c7b159 Codechange: use TO_LE16 directly when reading language file offsets Rubidium 2024-01-18 22:08:22 +01:00
  • 352513ace6 Fix bde05ce7: also update the version in the OpenTTD docs to v0.4 (#11810) Patric Stout 2024-01-16 23:37:05 +01:00
  • 7a5e8dd991 Linkgraph: Scroll overlay pixel cache instead of clearing it on scroll Jonathan G Rennison 2024-01-18 01:57:13 +00:00
  • 6c30e88890 Use overlay layer for plan rendering in viewport map mode Jonathan G Rennison 2024-01-17 20:19:19 +00:00
  • 3d87cfeca5 Plans: Cache whether any plans are currently visible Jonathan G Rennison 2024-01-17 19:03:10 +00:00
  • 1159224d6f Plans: Fix missing const specifiers on visibility getters Jonathan G Rennison 2024-01-17 18:14:20 +00:00
  • a3c5084b29 Viewport map mode: Scroll landscape cache instead of clearing it on scroll Jonathan G Rennison 2024-01-18 03:09:32 +00:00
  • 0bcbdef512 Use overlay layer for link graph overlay in viewport map mode Jonathan G Rennison 2024-01-17 02:05:49 +00:00
  • 888b7b5dce Add a simple 64 bit to 64 bit hash (from MurmurHash3) Jonathan G Rennison 2024-01-18 01:11:10 +00:00
  • 32b99bf77c Update: Translations from eints portuguese: 4 changes by azulcosta translators 2024-01-18 18:40:14 +00:00
  • bf4b669628 Fix: [Script] Improve ScriptText validation (#11721) Loïc Guilloux 2024-01-18 18:06:30 +01:00
  • 28ef5146ba Fix #11646: Non-thread safe shared buffer returned from GetLogPrefix(). Peter Nelson 2023-12-30 00:07:51 +00:00
  • 2b599c9d00 Fix: [HarfBuzz] make HarfBuzz use the same glyphs as we render Patric Stout 2024-01-18 09:34:56 +01:00
  • a24c2bf10a Codechange: [HarfBuzz] hb-ft will set the scaling on its own Patric Stout 2024-01-18 09:36:48 +01:00
  • dcb054d152 Add scoped helper to temporarily override screen pitch Jonathan G Rennison 2024-01-18 00:00:16 +00:00
  • ae701a3bd8 Add scoped helper to temporarily override current blitter Jonathan G Rennison 2024-01-17 23:59:53 +00:00
  • 0e581e0eeb Blitter: Add method to set rectangle colours, skipping D7 Jonathan G Rennison 2024-01-17 02:03:14 +00:00
  • 5c5057e0fc Fix #11801, 51f1e93: CalcClosestTownFromTile needs the kd-tree to be valid Rubidium 2024-01-17 22:45:33 +01:00
  • 7faa3848de Change: Mark whole screen dirty when toggling font AA. (#11825) Peter Nelson 2024-01-17 23:04:07 +00:00
  • 4cc97e04e6 Fix #11801, 51f1e93: CalcClosestTownFromTile needs the kd-tree to be valid Rubidium 2024-01-17 22:45:33 +01:00
  • 0be26f5856 Change: Remove extra padding from query text. (#11823) Peter Nelson 2024-01-17 22:17:14 +00:00
  • 47c0184a0b Codechange: replace ROR/ROL with std::rotr/rotl Rubidium 2024-01-17 20:58:06 +01:00
  • f457be5a27 Fix #11819, aa5ba5b: Out-of-bounds access in linkgraph GUI. (#11821) frosch 2024-01-17 22:26:33 +01: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
  • 341bdabc70 Fix #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
  • fd073a2810 Remove: replace custom span with std::span Patric Stout 2024-01-16 22:46:00 +01:00
  • bb49112784 Codechange: switch our codebase to C++20 Patric Stout 2024-01-16 20:38:42 +01:00
  • 81c2c4a881 Slightly speed up unordered iteration of FlowStatMap Jonathan G Rennison 2024-01-16 23:15:56 +00:00
  • fd59393899 Fix #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
  • 661bdae2e5 Fix #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
  • 67b405d2f6 Fix #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
  • b18e78e21d Change: Redesign script debug window (#11782) Loïc Guilloux 2024-01-15 21:41:44 +01:00
  • 68814bd912 Codechange: Rename SIGTYPE_NORMAL to SIGTYPE_BLOCK (#11788) Tyler Trahan 2024-01-15 15:27:48 -05:00
  • 4a194482ea Fix e1f5be6: Typo when selecting traditional sprite font (#11789) Tyler Trahan 2024-01-15 15:24:26 -05:00