Commit Graph

38926 Commits

Author SHA1 Message Date
d9c9a54cc7 fix: remove missed references to tutorial.h 2024-04-10 23:08:38 +01:00
82ce9593d6 change: Keep tooltip location logic from upstream
It makes no sense, especialy because it is tied to have title bars
enabled
2024-04-10 22:35:17 +01:00
71f533e662 feat: Merge new help_gui with tutorial_gui 2024-04-10 20:46:11 +01:00
b247be24a8 fix: move online players matrix to the right side 2024-04-10 19:47:52 +01:00
84cf61ab94 fix: Allow vw to be clicked when drag with RMB 2024-04-10 19:22:37 +01:00
glx22
8fd30a0a17 Update: Backport language changes 2024-04-09 23:46:14 +02:00
Peter Nelson
481736fdfd Codechange: Avoid lengthof() on std::array. 2024-04-09 23:46:14 +02:00
Rubidium
40efa94d82 Codechange: let lengthof fail when anything that isn't a C-style array is passed 2024-04-09 23:46:14 +02:00
Rubidium
6a9517a4e6 Fix: do not use lengthof() for non C-style arrays 2024-04-09 23:46:14 +02:00
Peter Nelson
774ea5676f Fix: Aircraft crash counter was too low to reach ground. (#12425)
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low.

Instead reset the counter until the aircraft reaches the ground, then continue the timer.
2024-04-09 23:46:14 +02:00
Peter Nelson
75a1bc7831 Fix #12233: Mini order list overlaps vehicle group name. (#12423)
Move mini order list down one line to make room.
2024-04-09 23:46:14 +02:00
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
3b10cff3d2 fix: ShowDropDownList*() signature changed, update usages 2024-04-08 10:17:44 +01:00
22d2a89e4b fix: OSOpenBrowser now takes a string 2024-04-07 13:45:03 +01:00
8a1aafabcd fix: add _t suffix to (u)int types
see eaae0bb5e7
2024-04-07 13:40:38 +01:00
b3830b5816 fix: replace usage of removed strecat with fmt 2024-04-07 13:39:37 +01:00
5aa02ac98f fix: Restore Android entrypoint 2024-04-06 14:16:03 +01:00
f312cf0f91 Merge remote-tracking branch 'upstream/release/14' into 14 2024-04-04 18:22:11 +01:00
34ac0fd432 fix: Properly scale town authority window
Fixes #21
2024-04-04 17:24:13 +01:00
ee1fcd4b17 fix: swap dock tiles 2024-04-04 17:21:45 +01:00
c34122aeff fix: typo 2024-04-04 17:21:45 +01:00
120851eaf9 fix: dock cmd was not called 2024-04-04 17:21:45 +01:00
123b4e0d8c fix: dock not building 2024-04-04 17:21:45 +01:00
fb331f0d7f fix: prevent graph's drodown from insta closing 2024-04-04 17:16:51 +01:00
0471d7b865 fix: restore background to EDITBOX 2024-04-04 15:58:28 +01:00
3fcefa0667 fix: crash in network_content_gui 2024-04-04 15:56:54 +01:00
52a3a63059 fix: use new console interface 2024-04-04 15:54:44 +01:00
5a018571be fix: Add vertical toolbars to always shown windows 2024-04-04 15:48:41 +01:00
b1dcaa74f1 fix: Undo mistakes from merge 2024-04-04 14:58:06 +01:00
72c1457a7b fix: Use constexpr for NWidgetPart 2024-04-03 20:26:20 +01:00
a8525f38d7 fix: remove duplicated entries due to bad merge 2024-04-03 19:56:26 +01:00
2eb3ee919b Merge commit '73bed054b87399484e39f6972d30f91a404daba8' 2024-04-03 19:37:54 +01: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