Commit Graph

57667 Commits (05e237f8d139443ff0148a4e8164e47541a268c3)
 

Author SHA1 Message Date
Patric Stout a05b7acec8
Change: position error window closer to cursor on large screens (#11923) 8 months ago
Jonathan G Rennison e987ceaa8b Version: Committing version data for tag: jgrpp-0.57.0 8 months ago
Jonathan G Rennison 8364ba3ce7 Fix getting information from JGRPP servers on local LAN 8 months ago
Jonathan G Rennison 63e6a9503a Fix 52128144: Parsing of version 7 network game info packets 8 months ago
Jonathan G Rennison 2cdd85c79c Use StrLastPathSegment in TarScanner::AddFile 8 months ago
Jonathan G Rennison a1c7d1bd30 Remove non-owning string pointer from StringParameter
(For the time being)

See: https://github.com/OpenTTD/OpenTTD/issues/11922
8 months ago
Jonathan G Rennison 5e29901d02 Tracerestrict: Allow nesting temporary slot states
Use a temporary state stack instead of passing the state directly
in TraceRestrictProgramInput

No longer exit early from ExtendTrainReservation to handle slots, this
fixes reservation failures when starting from a signal with a slot acquire

More thorough fix for 9e8a4314
8 months ago
Tyler Trahan 2b1f78d2ca
Fix: Use alternate timekeeping units in savegame title (#11912) 8 months ago
Peter Nelson 435d48e182
Fix: Sandbox window does not reduce height when interface scale is reduced. (#11924)
line_height was only ever made larger, and icon.height ignored.
8 months ago
Patric Stout 4024bb5554
Fix #11910: use economy timer for dmp_cmds files (#11925) 8 months ago
Patric Stout f1842f9144
Add: {CURRENCY_SHORT} only did k / m suffix. Add bn / tn and make translatable. (#11921)
64bit numbers are REALLY large, but our compact method was build
for 32bit numbers. Extend it to 64bit.
8 months ago
translators 1d4b10a8b8 Update: Translations from eints
english (au): 86 changes by krysclarke
english (us): 105 changes by 2TallTyler
chinese (simplified): 29 changes by WenSimEHRP
korean: 156 changes by telk5093
russian: 4 changes by Ln-Wolf
danish: 1 change by bscargo
spanish: 132 changes by lrlopez
portuguese: 52 changes by azulcosta
portuguese (brazilian): 181 changes by pasantoro
8 months ago
Jonathan G Rennison e148f7653b Use scaled.vsep_sparse for EXP_SPACING in company infrastructure window 8 months ago
dP acaceb45ba
Codechange: Make command constant names consistent with command proc (#11920) 8 months ago
Peter Nelson bf013097a7
Fix #11918: Houses should build only next to road stops, not any station type. (#11919) 8 months ago
Jonathan G Rennison 77f1655686 Disable MinGW std threads includes by default
In preparation for removal later
8 months ago
Jonathan G Rennison 31d87f6101 Fix 9e8a4314: Start signal state erroneously changed if it has slot acquire 8 months ago
Loïc Guilloux 90084dc74d
Codechange: ignore duplicate script messages in regression output (#11905) 8 months ago
Jonathan G Rennison efab96b82b Set default service interval and timetable flags for virtual trains
See: #636
8 months ago
Jonathan G Rennison 18739394e1 Fix paths of content in tar files 8 months ago
Jonathan G Rennison 9bea1e3cc3 Scheduled dispatch: Allow tagging departure slots, add to conditional order 8 months ago
Jonathan G Rennison be469405df Bitmath: Add utility functions for calculating bit masks
Add tests
8 months ago
translators 809b599c21 Update: Translations from eints
english (au): 48 changes by krysclarke
english (us): 32 changes by 2TallTyler
vietnamese: 10 changes by KhoiCanDev
chinese (simplified): 46 changes by WenSimEHRP, 2 changes by XiaoJi-Game
korean: 58 changes by telk5093
russian: 57 changes by Ln-Wolf
finnish: 22 changes by hpiirai
catalan: 30 changes by J0anJosep
danish: 12 changes by bscargo
dutch: 45 changes by Afoklala
spanish: 214 changes by lrlopez
french: 8 changes by glx22
portuguese: 23 changes by azulcosta
portuguese (brazilian): 30 changes by pasantoro
polish: 4 changes by pAter-exe
8 months ago
Koen Bussemaker 5a55c4a934 Feature: [NewGRF] Allow higher max speeds for ships 8 months ago
Loïc Guilloux 461d69a8f6
Fix #11907: Allow genders for time related {UNITS_XXX} (#11908) 8 months ago
frosch 17dfc1a49a Codechange: Replace SF_GUI_NEGATIVE_IS_SPECIAL with a settings value callback. 8 months ago
frosch 28c83089f6 Codechange: Remove TKM string code. 8 months ago
frosch 9344b50435 Codechange: Remove TKM from settings texts. 8 months ago
frosch 9e9a8ca7f6 Codechange: Add callbacks to IntSettingDesc to support dynamic strings for title, help and values. 8 months ago
frosch 022b9e92d2 Codechange: Move settings string formatting into IntSettingDesc members. 8 months ago
frosch a9d1078434 Codechange: Remove TKM from town action tooltips. 8 months ago
frosch abfeeea849 Codechange: Compose engine preview text from multiple strings. 8 months ago
frosch 68c64d2511 Codechange: Remove TKM string codes by duplicating strings. 8 months ago
frosch bd3d687bf9 Codechange: Merge all BaseGraphWindow widget enums into one.
Previously it relied on some enum entries using the same integer value.
8 months ago
frosch 69f47caf3f Codechange: Remove TKM from vehicle list sorting dropdowns. 8 months ago
frosch 9741510396 Fix: Wallclock setting should not affect percent-based service interval increments. 8 months ago
Jonathan G Rennison 0a16ba1bd7 Scheduled dispatch: Add dispatch slot tooltip 8 months ago
Tyler Trahan 86981c0983
Fix: Extra refit button when train/RV is in a depot (#11904) 8 months ago
Patric Stout 05b253b33b
Fix ea8c1d85: improve smoothness of smooth-scrolling for 60+Hz screens (#11884) 8 months ago
Jonathan G Rennison 6c329871f1 Scheduled dispatch: Add per dispatch slot flags field
Add flag for slot re-use
8 months ago
Jonathan G Rennison dee611f5f3 Remove incorrect check from CmdScheduledDispatchAdjust 8 months ago
Jonathan G Rennison 1edc828b76 Pre-filter object descriptors in order save/load 8 months ago
Jonathan G Rennison bd51b1b69a Remove pre-init of static vector in train speed adaptation map save/load 8 months ago
SamuXarick 0c4e509b60
Fix #10439: [GS] Validate story page button colour, flags, cursor and vehicle type (#11892)
Adds GSStoryPage::IsValidStoryPageButtonColour, GSStoryPage::IsValidStoryPageButtonFlags and GSStoryPage::IsValidStoryPageButtonCursor to the API.

Add missing enforced preconditions to validate parameters passed to MakePushButtonReference, MakeTileButtonReference and MakeVehicleButtonReference.
8 months ago
Jonathan G Rennison 3a4623c027 Scheduled dispatch: Add slot remove mode, label last/next slots otherwise 8 months ago
SamuXarick 76f0f9e386
Fix #10438: [GS] Validate story page element type for ScriptStoryPage::NewElement (#11888)
Fixes a crash that happens if an invalid StoryPageElementType is passed to ScriptStoryPage::NewElement.

Adds an enforced precondition that tests the validity of StoryPageElementType.

Adds GSStoryPage::IsValidStoryPageElementType to the API.
8 months ago
Jonathan G Rennison ae801818ed Scheduled dispatch: Adjust window/button layout
Split window vertically into sections
8 months ago
Peter Nelson 009fea0e14 Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895)
This function calls icu::BreakIterator::createLineInstance() but does not clean up after it.

Instead use a static instance that is cloned (for thread-safety) and deleted as necessary.

(cherry picked from commit 6d276698b6)
8 months ago
Peter Nelson 6d276698b6
Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895)
This function calls icu::BreakIterator::createLineInstance() but does not clean up after it.

Instead use a static instance that is cloned (for thread-safety) and deleted as necessary.
8 months ago
Jonathan G Rennison 5b052ff91a Avoid truncation when calculating AircraftCache::cached_max_range_sqr 8 months ago