Michael Lutz
6d3c8cc601
Fix #12387 , eabb9db: [NewGRF] Wrong tile offset passed to rail station CB 149 (slope check)
2024-04-01 00:20:07 +02:00
Jonathan G Rennison
7fcc5de374
Fix #12388 : Vehicle::CopyVehicleConfigAndStatistics not releasing unit number ( #12389 )
2024-04-01 00:20:07 +02:00
Rubidium
3b614d0650
Fix: inconsistent check for client authorized status
2024-04-01 00:20:07 +02:00
Rubidium
ffb795e52f
Fix: do not send chat to clients that have not authorized yet
2024-04-01 00:20:07 +02:00
Tyler Trahan
cdb86b6ecc
Fix #12268 : Capitalize "Wait to unbunch" order string ( #12375 )
2024-04-01 00:20:07 +02:00
Peter Nelson
d60e586925
Fix #12368 : Incorrect offset for click position within industry chain window. ( #12370 )
2024-04-01 00:20:07 +02:00
Peter Nelson
26dc82feb1
Fix 2fd9096: Label for fruit incorrectly changed to `FRUI` from `FRUT`. ( #12367 )
2024-04-01 00:20:07 +02:00
Peter Nelson
940b66322c
Fix: Don't let CT_INVALID map to valid cargo type. ( #12364 )
2024-04-01 00:20:07 +02:00
glx22
d4f704d029
Change: [Script] Use economy time for ScriptDate
2024-04-01 00:20:07 +02:00
glx22
4a3d444ad6
Revert bbdbf9a: ScriptTimeMode was not the best solution for economy/calendar support
2024-04-01 00:20:07 +02:00
Rubidium
d46a5df1dd
Update: Backport language changes
2024-03-23 15:32:22 +01:00
Rubidium
5212229f94
Fix: crash to desktop when attempting to join a company while not joined (yet)
2024-03-23 15:32:22 +01:00
Jonathan G Rennison
2cc5f35871
Fix #12092 : Incorrect x-axis in cargo payment graph window
2024-03-23 15:32:22 +01:00
Tyler Trahan
32a94fe3eb
Change: Show unbunching action in timetable window ( #12351 )
2024-03-23 15:32:22 +01:00
Peter Nelson
f82e5f1107
Fix #12347 : Crash attempting to find catchment tiles of a station with no catchment area. ( #12348 )
2024-03-23 15:32:22 +01:00
merni-ns
411fe34915
Codefix: Incorrect pluralisation in last service/service interval texts ( #12352 )
2024-03-23 15:32:22 +01:00
Jonathan G Rennison
5f47b472cb
Codechange: Reduce size of class WaterRegion
...
The tile patch array is 256 bytes and is not needed for the majority
of water regions, change it to be optional via std::unique_ptr
2024-03-23 15:32:22 +01:00
Jonathan G Rennison
56d5243e4a
Fix #12305 : Crash with large positive sprite x offset in engine preview window
2024-03-23 15:32:22 +01:00
Tyler Trahan
17076c0c05
Fix #12342 : Add missing ellipsis to town generation error string ( #12343 )
2024-03-23 15:32:22 +01:00
Peter Nelson
34e74af1af
Fix #12302 : Allow empty train engines to use an invalid cargo type. ( #12325 )
...
The cargo type will be forced to the first available type (usually passengers) instead of the engine being disabled.
2024-03-23 15:32:22 +01:00
frosch
48df48832e
Fix #12319 , 3a676a5: Some SSE blitters were broken due to ODR violations ( #12322 )
2024-03-23 15:32:22 +01:00
Patric Stout
06e323964a
Codefix f1e999ec: use RandomRange(l) instead of _random.Next(l) ( #12274 )
2024-03-23 15:32:22 +01:00
Jonathan G Rennison
ef14d3e361
Fix #12166 : Crash when opening tram road stop build window ( #12168 )
2024-03-23 15:32:22 +01:00
Michael Lutz
e5a886a153
Update: Backport language changes
2024-03-16 14:37:57 +01:00
Patric Stout
e8b314afc2
Add: track savegame size to report with survey ( #12304 )
2024-03-16 14:37:57 +01:00
SamuXarick
c947f754bf
Fix #12280 : Allow ships 90 degree turns if only choice
...
If there is no path found, a random path is created which forbids 90 degrees.
Allow 90 degrees if they're the only choice.
2024-03-16 14:37:57 +01:00
SamuXarick
fcf079e287
Fix #12279 : Update random path each step ( #12286 )
2024-03-16 14:37:57 +01:00
Michael Lutz
3d588a1760
Update: Backport language changes
2024-03-12 00:29:50 +01:00
Peter Nelson
adbf456fc7
Change: Use (at least) standard toolbar button size for signal selection buttons. ( #12265 )
...
Signal selection buttons could be very narrow, with a very wide spacer, depending on loaded signal types and fonts.
2024-03-12 00:29:50 +01:00
Rubidium
3ea10f81a1
Fix #12255 : inconsistent punctuation in English
2024-03-12 00:29:50 +01:00
Michael Lutz
072e0b3d5e
Update: Backport language changes
2024-03-11 20:40:57 +01:00
Loïc Guilloux
c8f9e6085b
Fix ab315d0: Don't show "insert order" errors in the console ( #12245 )
2024-03-11 20:40:57 +01:00
rubidium42
f2d0fa5065
Revert #11606 : Don't auto-build past tunnelbridge ends
...
This reverts commit 59f6c199bf
.
2024-03-11 20:40:57 +01:00
Tyler Trahan
a3ce25b487
Fix #12010 : Use economy timer for vehicle stats minimum age, not calendar ( #12142 )
2024-03-11 20:40:57 +01:00
Tyler Trahan
79f0bfe75e
Fix #12118 : When adding an unbunching order, properly check for unsafe conditions ( #12136 )
2024-03-11 20:40:57 +01:00
glx22
2b7e5e7ae5
Change: [Script] Match FormatString behaviour more closely
2024-03-11 20:40:57 +01:00
glx22
a5e73aac9f
Fix 0858377: [Script] Don't output parameters more than once
2024-03-11 20:40:57 +01:00
Kuhnovic
df5e183461
Fix #12236 : Ship pathfinder causes crash when ship is already at destination ( #12238 )
2024-03-11 20:40:57 +01:00
Kuhnovic
110925b6a8
Update: Developer credits ( #12235 ) ( #12235 )
2024-03-11 20:40:57 +01:00
Tyler Trahan
935a2e5d53
Fix #12203 : When unbunching at a depot, don't overlook implicit orders ( #12220 )
2024-03-11 20:40:57 +01:00
merni-ns
5176d586df
Fix #12134 : Use correct error messages if clearing drive-through road stops fails ( #12139 )
2024-03-11 20:40:57 +01:00
rubidium42
280c24143f
Codefix #12162 , 3105d0b: Textbuf::Assign read beyond std::string_view ( #12177 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
eeb655d52d
Fix #12225 , 977aba7: [Script] Missing AI:ResetConfig support for running AI config ( #12226 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
af17e6538d
Remove: [Script] random_deviation from setting description table ( #12221 )
2024-03-11 20:40:57 +01:00
Kuhnovic
450296897f
Fix #12176 : Ships are circling in one place ( #12181 )
2024-03-11 20:40:57 +01:00
Jonathan G Rennison
24d31d4dfe
Fix #12154 : Incorrect calendar day lengths with minutes per year setting ( #12158 )
2024-03-11 20:40:57 +01:00
Patric Stout
21b4e6d348
Fix #12147 : reset all saved settings to their default before loading a game ( #12210 )
2024-03-11 20:40:57 +01:00
Rubidium
8ecb465bc0
Fix #12076 : Do not allow 'join' command on dedicated servers
2024-03-11 20:40:57 +01:00
Loïc Guilloux
a3eb42cd68
Fix #12195 : Reset cursor when no Object is selected ( #12207 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
c15af03b69
Codechange: Don't use NOT_REACHED() when catching unhandled thread exceptions ( #12199 )
2024-03-11 20:40:57 +01:00
Tyler Trahan
b6a7b299a6
Fix f6dd505: Only reset unbunching departure data in the correct depot ( #12155 )
2024-03-11 20:40:57 +01:00
Patric Stout
0f65bef04d
Fix #12196 : disable "select upgrade" button when filtering
2024-03-11 20:40:57 +01:00
Patric Stout
34dda9e81a
Fix #12196 : always show selected content, even when filtering
2024-03-11 20:40:57 +01:00
Tyler Trahan
fb30e46a7e
Update: Developer credits ( #12173 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
6353d3637e
Fix f6dd505: Missing savegame conversion for current_order ( #12188 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
d970d238e1
Fix bf4b6696: [Script] Broken ScriptText circular reference detection ( #12187 )
2024-03-11 20:40:57 +01:00
Patric Stout
30716c476f
Fix: initialize _switch_mode_time so crash-logs before first game have a realistic time ( #12184 )
2024-03-11 20:40:57 +01:00
Peter Nelson
b64ad26068
Change: Use bitmap for free unit ID generation. ( #12165 )
...
This improves performance of finding the next free unit number for a vehicle.
Based loosely on pool's used slot bitmap.
2024-03-11 20:40:57 +01:00
Peter Nelson
9d0c548f55
Fix d3c673e: Don't defer OnResize() after ReInit() ( #12174 )
...
Some windows resize themselves during painting and issue ReInit(). In this case deferred OnResize() causes a visible glitch as the event is handled on the next redraw.
2024-03-11 20:40:57 +01:00
Tyler Trahan
5b9aa5f176
Fix fd9e72a: Helptext for timekeeping unit setting erroneously refers to vehicle movement ( #12172 )
2024-03-11 20:40:57 +01:00
frosch
57e6ef244a
Fix #12127 , 555a379: Truncation ellipses rendered shadows even for black font without shadows ( #12132 )
2024-03-11 20:40:57 +01:00
Rubidium
66b71bdcc4
Revert #11993 : new number format system does not and cannot work for CJK languages
...
There are too many intricacies that I am unaware of that are popping up after
asking whether things are right or not.
I do not want to keep playing whack-a-mole, so just revert the whole thing.
This reverts:
15be383b93
360fe8b0b6
1aa9a5c0ab
59f56941e5
7e2eefb91f
b741b2ba6f
609d0071d5
9f8fd80112
a253205b93
819c6c756e
2024-03-11 20:40:57 +01:00
Rubidium
2064750e19
Fix #12148 , fca8166: Do not draw decimals when number of digits is 0
2024-03-11 20:40:57 +01:00
Jonathan G Rennison
b17f979fde
Fix #12145 : Incorrect date handling in date cheat in wallclock time-keeping mode
2024-03-11 20:40:57 +01:00
Jonathan G Rennison
09a342b4b4
Codefix: Off by one in TimerGameEconomy::ConvertDateToYMD wallclock mode
2024-03-11 20:40:57 +01:00
merni-ns
cfd519f265
Fix #12119 : Remove red warning text when maximum loan is zero
2024-03-11 20:40:57 +01:00
Jonathan G Rennison
7457a0b7a6
Fix cb588d8d: Ordering of command per tick limit and pause mode filtering ( #12126 )
...
The command per tick limit should be applied after the pause mode filter
2024-03-11 20:40:57 +01:00
Loïc Guilloux
7258551016
Fix #12133 : [Script] Don't crash when emergency saving ( #12138 )
2024-03-11 20:40:57 +01:00
Loïc Guilloux
1d55af92e4
Fix: [Script] Only show debug script window at the end of savegame loading ( #12135 )
2024-03-11 20:40:57 +01:00
translators
73bed054b8
Update: Translations from eints
...
english (au): 2 changes by krysclarke
korean: 5 changes by telk5093
russian: 2 changes by Ln-Wolf
tamil: 45 changes by Aswn
portuguese: 1 change by azulcosta
hindi: 85 changes by NisheshTyagi
portuguese (brazilian): 119 changes by pasantoro
2024-02-18 18:35:02 +00:00
Rubidium
15be383b93
Fix a253205: remove (now) unused currency separator
2024-02-18 16:56:52 +01:00
Tyler Trahan
4f1bc39bf7
Change: Show speed before destination in vehicle status bar ( #11932 )
2024-02-18 10:44:11 -05:00
Tyler Trahan
87a80c7ff2
Change: When adding orders, Ctrl+Click on a depot to unbunch, instead of service if required ( #12023 )
2024-02-18 10:43:44 -05:00
frosch
555a37930b
Fix: Shadows of individual character glyphs could be drawn over other characters ( #12115 )
2024-02-18 16:30:54 +01:00
Damian Laczak
49c3215751
Fix #10983 : [AdminPort] Correct order of messages
2024-02-18 15:11:00 +01:00
Peter Nelson
f20d241e81
Fix a258833: Don't invalidate station list on vehicle load/unload. ( #12112 )
...
a258833
fixed a bug but as a result causes the station list to be rebuilt every time (once per game tick) a vehicle loads/unloads.
Instead just mark the window for redraw.
2024-02-18 12:20:11 +00:00
Koen Bussemaker
8a1cea2ab6
Codechange: Skip non-water water region patches in neigbor search
2024-02-18 11:46:34 +01:00
Rubidium
360fe8b0b6
Fix a253205: division by zero when attempting to format some short currencies
2024-02-17 22:45:48 +01:00
translators
03e3553230
Update: Translations from eints
...
estonian: 15 changes by RM87
portuguese (brazilian): 42 changes by pasantoro
polish: 30 changes by pAter-exe
2024-02-17 18:35:04 +00:00
Peter Nelson
2ecc3c90f7
Change: Improve performance of finding free pool slots. ( #12055 )
...
Add a bitmap of used pool slots which allows finding a free pool slot without having to check if each index is already used or not.
Loosely based on a JGRPP patch.
2024-02-17 18:29:21 +00:00
Rubidium
1aa9a5c0ab
Update: Use proper number formats and abbreviations for Chinese, Japanese, Korean and German
2024-02-17 14:33:16 +01:00
Rubidium
59f56941e5
Update: Number format configuration based on old digitsep and STR_CURRENCY_SHORT_* values
2024-02-17 14:33:16 +01:00
Rubidium
7e2eefb91f
Cleanup: Remove digit group separators from strgen and languages
2024-02-17 14:33:16 +01:00
Rubidium
b741b2ba6f
Feature: Fully user configurable number format and abbreviations
2024-02-17 14:33:16 +01:00
Rubidium
609d0071d5
Change: Remove saving of digit group and decimal separator configurations from the savegame
2024-02-17 14:33:16 +01:00
Rubidium
e67fc33172
Codechange: Add support for NULL strings in SaveLoadCompat
2024-02-17 14:33:16 +01:00
Rubidium
9f8fd80112
Feature: Fully customisable number abbreviations per translation
2024-02-17 14:33:16 +01:00
Rubidium
a253205b93
Feature: Fully customisable number format per translation
2024-02-17 14:33:16 +01:00
Rubidium
819c6c756e
Codechange: Add support for number format and abbreviations pragmas/attributes to strgen
2024-02-17 14:33:16 +01:00
Rubidium
fca8166087
Codechange: Simplify FormatNumber by moving out zero fill and decimal support
2024-02-17 14:33:16 +01:00
Rubidium
a44bd81280
Codechange: Move determining the decimal separator to a separate function
2024-02-17 14:33:16 +01:00
Rubidium
f0c50ad529
Codechange: Add function to get the power of ten for a given number
2024-02-17 14:33:16 +01:00
rubidium42
8bccb5805a
Fix 0ca4b4e: Ctrl+Click style inconsistency in base language ( #12099 )
2024-02-17 06:26:09 +00:00
translators
bb2446c058
Update: Translations from eints
...
welsh: 5 changes by Ansbaradigeidfran
estonian: 108 changes by siimsoni, 50 changes by RM87
luxembourgish: 276 changes by phreeze83
hungarian: 81 changes by PstasDev
indonesian: 6 changes by tsaqibfs
italian: 191 changes by AlphaJack
bulgarian: 118 changes by lamarin1
ukrainian: 16 changes by StepanIvasyn
tamil: 408 changes by Aswn
turkish: 43 changes by metsysma
esperanto: 103 changes by JadedCtrl
portuguese (brazilian): 57 changes by pasantoro
polish: 61 changes by pAter-exe
2024-02-16 18:35:10 +00:00
Peter Nelson
adb796a21a
Change: Show 6 or 2 orientation buttons in NewGRF road stop picker as appropriate.
...
This replaces the normal method of masking unusable buttons.
2024-02-15 22:28:58 +00:00
Peter Nelson
8c22690ce1
Codechange: Update window's widget lookup map when switching displayed plane.
2024-02-15 22:28:58 +00:00
translators
3d591c2094
Update: Translations from eints
...
swedish: 1 change by SpamixOfficial
welsh: 280 changes by Ansbaradigeidfran
vietnamese: 245 changes by myquartz
estonian: 1 change by siimsoni
czech: 64 changes by LubosKolouch, 29 changes by adamek0202
arabic (egypt): 17 changes by AviationGamerX
luxembourgish: 247 changes by phreeze83
hungarian: 9 changes by nemesbala
indonesian: 21 changes by tsaqibfs, 19 changes by K4smun1
italian: 13 changes by AlphaJack
hebrew: 20 changes by Boltyansky
bulgarian: 107 changes by lamarin1
finnish: 4 changes by lanurmi
ukrainian: 18 changes by StepanIvasyn
catalan: 1 change by arnaullv
turkish: 120 changes by metsysma, 43 changes by EndChapter
danish: 23 changes by mamure, 23 changes by bscargo
dutch: 1 change by Jaws3rd
french: 1 change by Lishouuu
portuguese (brazilian): 362 changes by pasantoro
polish: 60 changes by pAter-exe
2024-02-15 18:34:46 +00:00
SamuXarick
8584d1b5bb
Add: [Script] GetAirportNumHelipads ( #12085 )
...
Adds a function for Scripts to get the number of helipads of an airport type.
2024-02-14 21:38:32 +01:00
Peter Nelson
a64ca2e0c5
Cleanup: Remove declaration of non-existent function. ( #12091 )
2024-02-14 20:28:03 +00:00
Peter Nelson
4ffe1da540
Fix: NewGRF roadstops were ignored if only in default class. ( #12089 )
...
If a NewGRF defines roadstops in the default class and no other classes are defined, they would be ignored and not selectable.
2024-02-14 19:21:13 +00:00