Commit Graph

51885 Commits

Author SHA1 Message Date
miguel.horta e5f848d9ff fix: let smallmap be moved with lmb
Fixes issue #6
2024-04-29 23:51:15 +01:00
miguel.horta 12ef19719d fix: revert boggus merge in sdl_v
it fixes ctrl and shift buttons not working
Fixes issue #5
2024-04-29 23:50:52 +01:00
miguel.horta 117de7a18e Update ottdrev 2024-04-13 14:36:21 +01:00
miguel.horta f1137e9216 Merge remote-tracking branch 'upstream/release/14' into 14 2024-04-13 14:13:26 +01:00
Loïc Guilloux b3c704a630 Doc: Prepare for 14.0 release (#12490)
* Doc: Prepare for 14.0 release

* Fix: applied code review

Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>

* Fix: apply suggestion

Co-authored-by: Patric Stout <github@truebrain.nl>

* Fix: Apply suggestions from code review

Co-authored-by: Patric Stout <github@truebrain.nl>

* Fix: apply suggestions

---------

Co-authored-by: Patric Stout <github@truebrain.nl>
Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>
2024-04-13 12:28:18 +00:00
glx22 a4adab31fc Update: Backport language changes 2024-04-12 21:40:34 +02:00
Peter Nelson 2fa6d79453 Fix #12477: Use std::filesystem::rename instead of Windows Shell API call. (#12478) 2024-04-12 21:40:34 +02:00
Peter Nelson 11e6d2e3d4 Fix: Signature validation did not close its file. (#12479) 2024-04-12 21:40:34 +02:00
Peter Nelson 3425aeac85 Fix: Use clear() to clear std::string. (#12471) 2024-04-12 21:40:34 +02:00
miguel.horta 3c7bd78362 fix: Open urls in Android 2024-04-12 01:46:33 +01:00
miguel.horta f9e9e147fd fix: genworld_gui got too wide, dial back a bit 2024-04-12 00:58:19 +01:00
miguel.horta ab094e8e6f fix: Allow titlebars to be disabled
Yes, yet again
2024-04-12 00:55:31 +01:00
miguel.horta 51b6301c5c fix: Properly center buttons in build_confirmation_gui 2024-04-12 00:04:24 +01:00
miguel.horta d12d67a55d feat: Make intro gui wider 2024-04-11 23:45:02 +01:00
miguel.horta 322e0b8f0f feat: Make genworld gui wider 2024-04-11 23:33:50 +01:00
miguel.horta 6e5670b11f feat: Adapt settings_gui.cpp 2024-04-11 22:37:31 +01:00
miguel.horta cc1d19f29c fix: Add missing header 2024-04-11 21:45:01 +01:00
miguel.horta f8ca6d2963 feat: allow vertical toolbar to be centered 2024-04-11 15:16:15 +01:00
miguel.horta 371a7f342d fix: Adjust Found Town gui
fix: Found town in toolbar opened subsidies
2024-04-10 23:27:20 +01:00
miguel.horta 8265fd8dd0 fix: Adjust button size of scrollbars and dropdown 2024-04-10 23:09:41 +01:00
miguel.horta d9c9a54cc7 fix: remove missed references to tutorial.h 2024-04-10 23:08:38 +01:00
miguel.horta 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
miguel.horta 71f533e662 feat: Merge new help_gui with tutorial_gui 2024-04-10 20:46:11 +01:00
miguel.horta b247be24a8 fix: move online players matrix to the right side 2024-04-10 19:47:52 +01:00
miguel.horta 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
miguel.horta 3b10cff3d2 fix: ShowDropDownList*() signature changed, update usages 2024-04-08 10:17:44 +01:00
miguel.horta 22d2a89e4b fix: OSOpenBrowser now takes a string 2024-04-07 13:45:03 +01:00
miguel.horta 8a1aafabcd fix: add _t suffix to (u)int types
see https://github.com/OpenTTD/OpenTTD/commit/eaae0bb5e71b237cc1fe1388ab74e6bd3aa0c69e
2024-04-07 13:40:38 +01:00
miguel.horta b3830b5816 fix: replace usage of removed strecat with fmt 2024-04-07 13:39:37 +01:00
miguel.horta 449c173c9f fix: fix FindICU both for Android and native
FindICU when used natively (i.e. without Android.cmake, compilation for
pc) uses PkgConfig. Old code would only check the first depedency
returned by PkgConfig as ${PC_ICU_${MOD_NAME}_LIBRARY} would already be
set for the remaing cycles, and no new find_library would be performed.
This resulted in libicui18n being included thrice, but depedencies uc
and data being ommited.
2024-04-07 13:31:10 +01:00
miguel.horta cda6838c08 fix: fontconfig linking failed due to missing expat 2024-04-07 13:12:01 +01:00
miguel.horta 5aa02ac98f fix: Restore Android entrypoint 2024-04-06 14:16:03 +01:00
miguel.horta 784566409c fix: change FindICU to properly check pkg-config results
While skiping this checks for Android. Idealy it would also be done in
Android, something to improve a in future release.
2024-04-06 14:02:23 +01:00
miguel.horta b367b37808 fix: Restore FindICU
fix: update CMakeLists to new format
2024-04-06 01:32:40 +01:00
miguel.horta f312cf0f91 Merge remote-tracking branch 'upstream/release/14' into 14 2024-04-04 18:22:11 +01:00
miguel.horta 34ac0fd432 fix: Properly scale town authority window
Fixes #21
2024-04-04 17:24:13 +01:00
miguel.horta ee1fcd4b17 fix: swap dock tiles 2024-04-04 17:21:45 +01:00
miguel.horta c34122aeff fix: typo 2024-04-04 17:21:45 +01:00
miguel.horta 120851eaf9 fix: dock cmd was not called 2024-04-04 17:21:45 +01:00