1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-20 02:42:42 +01:00
Commit Graph

21957 Commits

Author SHA1 Message Date
Peter Nelson
bd6acf405b Fix #12114: Viewport coords of crashed aircraft not updated when falling. (#12424)
This results in the aircraft glitching as the wrong viewport area is drawn.
2024-04-09 23:46:14 +02:00
Peter Nelson
eb730cb7f8 Fix #12395: Ensure president name widget is tall enough. (#12419) 2024-04-09 23:46:14 +02:00
Peter Nelson
0ee151623c Fix: Segfault when using -q without providing a . character. (#12418)
Use std::filesystem::path to find extension instead of strrchr.
2024-04-09 23:46:14 +02:00
Loïc Guilloux
ee2ee15a1e Fix #12415, 9c49a61, df400ef: Aircraft::tile is valid only for front vehicle (#12416) 2024-04-09 23:46:14 +02:00
Peter Nelson
680c8c20f2 Fix a29766d: Wrong scrolling dropdown list position with RTL. (#12412) 2024-04-09 23:46:14 +02:00
glx22
cd9c9afcb6 Update: Backport language changes 2024-04-02 00:02:53 +02:00
Loïc Guilloux
273b571408 Fix: [Win32] Force font mapper to only use TrueType fonts (#12406) 2024-04-02 00:02:53 +02:00
Rubidium
48f316246c Fix: server shutdown and newgame packets should be stable
The server sends shutdown and newgame (reboot) packets to any connected client.
This can be useful, so you can tell clients that are trying to join that the
server is restarting. However, that means that packets can be sent before a
version check has been done.
So, these packets should be in the stable packet range instead of the one that
is unstable and guarded by a version check.
2024-04-02 00:02:53 +02:00
Michael Lutz
77980fa674 Update: Backport language changes 2024-04-01 00:20:07 +02:00
Patric Stout
470a3bd736 Fix: "-q" displays NewGRF IDs in the wrong byte-order (#12397) 2024-04-01 00:20:07 +02:00
frosch
72fcf8b70b Fix: [Script] ScriptSubsidy::GetExpireDate should return an economy-date (#12372) 2024-04-01 00:20:07 +02:00
Michael Lutz
f596d4c10a Fix eabb9db: Drag building of road stops should not allow mixing z levels. 2024-04-01 00:20:07 +02:00
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