Commit Graph

  • 0841978304 Codechange: Use vector and iterators to store old/new vehicles during autoreplace. (#11851) Peter Nelson 2024-01-21 09:21:22 +00:00
  • 66a16d5ddf Fix: [CI] wait for all targets to succeeded before uploading to any (#11845) Patric Stout 2024-01-21 00:51:50 +01:00
  • 526a0db956 Fix: [CI] don't share Rust cache between legacy and generic linux (#11848) Patric Stout 2024-01-20 23:05:56 +01:00
  • 2d77f09a81 Codechange: use std::shared_ptr for vector of TCPConnecters Rubidium 2024-01-20 21:04:49 +01:00
  • 71b8801b61 Fix bd85f61a: [Linux] don't include sys/random.h on older glibc systems (#11844) Patric Stout 2024-01-20 21:43:06 +01:00
  • fa479c4a7c Cleanup: Describe modifier keys more consistently in tooltips (#11716) Tyler Trahan 2024-01-20 14:26:39 -05:00
  • 500870627d Change: Rewrite a few main toolbar tooltips (#11717) Tyler Trahan 2024-01-20 13:49:34 -05:00
  • 4d79d86812 Update: Translations from eints catalan: 18 changes by J0anJosep translators 2024-01-20 18:38:38 +00:00
  • d6ccfdbbd9 Fix #11827: Make Layouter::GetCharPosition() aware of ligatures. (#11831) Peter Nelson 2024-01-20 17:16:42 +00:00
  • 086cbd0d72 Codechange: add constexpr to math functions where applicable Rubidium 2024-01-20 16:11:43 +01:00
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • bde05ce79c Update: OpenTTD TTF font to v0.4 (#11799) Patric Stout 2024-01-16 21:10:48 +01: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
  • 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
  • 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
  • a1690d5b7b Update: Translations from eints portuguese (brazilian): 1 change by pasantoro translators 2024-01-15 18:39:20 +00:00
  • 94e74a45c2 Fix: Viewport virt coords not updated when sprite font toggled (#11784) Jonathan G Rennison 2024-01-15 18:16:04 +00:00
  • 53fa54f8e9 Fix e1f5be62: Clear font cache when toggling sprite font. (#11780) Peter Nelson 2024-01-15 00:21:11 +00:00
  • 32fc740582 Fix: [SDL2] fullscreen always used the resolution of the first display (#11779) Patric Stout 2024-01-14 23:41:51 +01:00
  • 302ba93471 Fix: [SDL2] only resolutions of the first display were shown (#11778) Patric Stout 2024-01-14 23:25:54 +01:00
  • 994bdff81e Codechange: [CMake] Use timestamps to copy non-generated baseset files. Michael Lutz 2023-12-17 22:13:49 +01:00
  • e1f5be6244 Add: GUI options to select sprite font and AA mode for all fonts. Michael Lutz 2023-12-16 18:28:49 +01:00
  • 20f1a0dc57 Fix: [OSX] Spurious log message when a sprite glyph was layouted. Michael Lutz 2023-12-16 02:30:12 +01:00
  • 36cf6b1d13 Feature: Scalable OpenTTD TrueType font made by Zephyris. Michael Lutz 2023-12-16 01:03:28 +01:00
  • 6e766a2e81 Change: Allow TrueType fonts to provide our private-use glyphs. Michael Lutz 2023-12-16 00:06:19 +01:00
  • 37610af0e4 Fix: Don't replace stripped characters with '?' in console (#11777) Loïc Guilloux 2024-01-14 22:49:42 +01:00
  • 564441e822 Remove: Debug redirect over network Rubidium 2024-01-14 21:07:35 +01:00
  • a6873ef7dd Codechange: Avoid repeatedly calling virtual methods in text drawing loop. (#11774) Peter Nelson 2024-01-14 19:06:50 +00:00
  • e8d6b496c2 Update: Translations from eints english (au): 1 change by krysclarke english (us): 1 change by 2TallTyler chinese (simplified): 9 changes by WenSimEHRP korean: 1 change by telk5093 russian: 1 change by Ln-Wolf finnish: 1 change by hpiirai danish: 2 changes by bscargo french: 2 changes by ottdfevr portuguese: 1 change by azulcosta translators 2024-01-14 18:39:10 +00:00
  • f219557cf2 Codechange: List functions in gui.h under correct source file. (#11775) Peter Nelson 2024-01-14 18:12:40 +00:00
  • 71aaed860b Codechange: Missing some conversions to WidgetID. (#11773) Peter Nelson 2024-01-14 16:47:10 +00:00
  • 93ba6d6776 Fix: compilation without precompiled headers (#11770) Loïc Guilloux 2024-01-14 13:27:03 +01:00
  • e3bb6497f7 Codechange: Don't assume game options widget is a dropdown list. Peter Nelson 2024-01-14 10:49:27 +00:00
  • 8ca867ef63 Codechange: Replace game options' style-breaking if-condition with switch. Peter Nelson 2024-01-14 10:48:19 +00:00
  • 341d022024 Update: Translations from eints chinese (simplified): 141 changes by WenSimEHRP russian: 3 changes by Ln-Wolf danish: 6 changes by bscargo latvian: 10 changes by lexuslatvia dutch: 16 changes by Afoklala french: 2 changes by ottdfevr translators 2024-01-13 18:38:17 +00:00
  • b3f31a6523 Fix #11696: Graphics set parameters missing from survey data (#11764) Jonathan G Rennison 2024-01-12 21:53:31 +00:00
  • 479490d7e8 Codechange: Remove unnecessary vector for writing GRF parameter JSON (#11763) Jonathan G Rennison 2024-01-12 21:38:31 +00:00
  • 54b57fbfeb Codechange: [Script] Use ScriptList::FillList() in more locations (#11762) Loïc Guilloux 2024-01-12 21:19:08 +01:00
  • 60da6b992e Fix #4415: Land info build date is also renovation date (#11759) Tyler Trahan 2024-01-12 14:27:33 -05:00
  • 03df70ce8a Fix #11752: [Win32] Wrong multi-line text layout due to incorrect partial run handling (#11761) Loïc Guilloux 2024-01-12 19:40:08 +01:00
  • 28efa65e0c Revert a2edf52: SQOpsLimiter does a more precise job (#11754) Loïc Guilloux 2024-01-12 17:04:43 +01:00