1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

5125 Commits

Author SHA1 Message Date
Gymnasiast
0ec4e3353b Update members of FontStyle 2025-11-03 23:25:30 +01:00
Gymnasiast
124352c922 Update members of TextAlignment 2025-11-03 23:25:29 +01:00
Gymnasiast
6340cd7e51 Update members of TextUnderline 2025-11-03 23:25:29 +01:00
Gymnasiast
5e6f5ceb6f Update members of TextDarkness 2025-11-03 23:25:29 +01:00
Michael Steenbeek
77d4848729 Merge pull request #25426 from Gymnasiast/fix/25406
Fix #25406: Crash while building track designs repository
2025-11-02 11:46:53 +01:00
mix
bac6a9d460 Fix dropdown tooltips stuck open if mouse over empty space 2025-11-02 00:05:45 +01:00
mix
71c4d9c3c5 Fix #25437: no mouse over highlight on new ride window previews 2025-10-31 19:25:46 +01:00
matheusvb3
47f45fac8f Add large colour swatches for enlarged UI 2025-10-29 12:41:01 +00:00
Michał Janiszewski
c2ed2bd854 Update process execution flow for Linux (#25206)
Previously zenity/kdialog were launched in a way that would prevent
events from getting pumped to the new application in some scenarios.

This new approach, mimicked from
9859c05178/src/video/wayland/SDL_waylandmessagebox.c (L40-L75)
fixes this problem for compositors where it used to be a problem.

In particular, this fixes the system dialog not launching on the Steam
Deck.
2025-10-29 07:50:49 +00:00
Gymnasiast
e90e6cb888 Add loadImages parameter to LoadTempObject() 2025-10-27 20:25:21 +01:00
Michael Steenbeek
fcc915af1c Merge pull request #25390 from Gymnasiast/refactor/recentangle-drawing
Refactor rectangle drawing
2025-10-26 10:25:15 +01:00
Michał Janiszewski
f62b74c732 Align Staff viewport resizing with the Guest window (#25072) 2025-10-25 22:18:55 +00:00
Gymnasiast
a897b5734b Use proper type name 2025-10-23 21:36:02 +02:00
Gymnasiast
b30b49161b Refactor GetRideNaming(), add getTypeNaming() to Ride 2025-10-23 21:36:02 +02:00
FlyingThunder
bc528348cf Add ride type filter to Ride List window 2025-10-23 21:33:56 +02:00
Gymnasiast
7c51ccde1e Rename Rect namespace to Rectangle 2025-10-23 18:44:45 +02:00
Gymnasiast
298f3fdeb1 Replace remaining rectangle flags with Rect::FillMode enum 2025-10-23 18:42:50 +02:00
Gymnasiast
679064da77 Replace INSET_RECT_FLAG_FILL_MID_LIGHT with Rect::FillBrightness enum 2025-10-23 18:42:07 +02:00
Gymnasiast
93c3d99546 Move rectangle drawing into its own namespace 2025-10-23 18:41:08 +02:00
Gymnasiast
9e9b774266 Move rectangle drawing to Rect.{cpp,h} 2025-10-23 18:40:04 +02:00
Gymnasiast
a5d173efda Create border style enum for GfxFillRectInset 2025-10-23 18:40:03 +02:00
Gymnasiast
fc5f6c236d Use second colour of bottom toolbar for news buttons 2025-10-22 23:39:53 +02:00
Gymnasiast
2eb34e2059 Introduce WidgetType::hiddenButton 2025-10-22 20:29:08 +02:00
Gymnasiast
d9c730e654 Add theme features to draw border around image buttons 2025-10-22 19:59:09 +02:00
Michael Steenbeek
96e88d93f2 Merge pull request #25387 from Gymnasiast/fix/25359
Fix #25359: No preview when hovering on sloped land in path drag mode
2025-10-22 09:51:01 +02:00
Michael Steenbeek
df1da08548 Fix: Shortcut Keys window uses wrong colours for separators, scrollbars and buttons 2025-10-20 20:52:33 +00:00
Gymnasiast
f39aa017e8 Fix: clicking an unsuitable piece of land in footpath drag mode will place a piece anyway
Specifically, path will be placed on the last tile that was suitable.
2025-10-20 20:01:02 +02:00
Gymnasiast
97cebeed81 Fix #25359: No preview when hovering on sloped land in path drag mode 2025-10-20 19:59:17 +02:00
Michael Steenbeek
6f58c2e7d0 Fix #25375: SHIFT placement no longer works on singular path tool 2025-10-20 14:54:56 +02:00
Michael Steenbeek
9e03ec4caa Fix stack corruption when footpath dragging 2025-10-19 22:35:57 +02:00
Gymnasiast
0659350577 Use constant instead of hardcoded number 2025-10-18 20:25:29 +02:00
Gymnasiast
3ef7c2d9e8 Fill scrollbar gap in news window if no scrollbar is visible 2025-10-18 20:25:29 +02:00
Gymnasiast
24b439fce2 Allow theming news item background 2025-10-18 20:25:29 +02:00
Michael Steenbeek
edcdb8b29c Merge pull request #25373 from Gymnasiast/refactor/theme-cpp
Refactor Theme.cpp
2025-10-18 19:55:18 +02:00
Gymnasiast
b6074434a8 Replace remaining defines in Theme.cpp 2025-10-18 19:39:16 +02:00
Gymnasiast
394ff2a0c1 Remove COLOURS_RCT1 define 2025-10-18 19:33:02 +02:00
Gymnasiast
44ca4f38fb Use C++ arrays instead of C ones 2025-10-18 19:32:23 +02:00
Gymnasiast
a72ef08cdd Rename unused defines in Theme.cpp 2025-10-18 19:31:40 +02:00
Gymnasiast
238e191e79 Rename constants in Theme.cpp 2025-10-18 19:31:17 +02:00
Gymnasiast
eb5e1c0370 Correct indentation of Theme.cpp 2025-10-18 19:30:45 +02:00
Aaron van Geffen
06fc4c8955 Rewrite GetNameAndPrice using templated subfunction 2025-10-18 17:23:15 +02:00
Aaron van Geffen
75c2a01de9 Inline single use of namespace Numerics 2025-10-18 17:32:44 +02:00
Aaron van Geffen
35b6eb0962 Split onToolUpdate function into smaller functions 2025-10-18 17:13:10 +02:00
Aaron van Geffen
5f6ee39a5f Split onToolDown function into smaller functions 2025-10-18 16:56:32 +02:00
Aaron van Geffen
e10893f255 Scenery window: remove indirection from tool functions 2025-10-18 16:41:20 +02:00
Michael Steenbeek
ff580112c8 Add footpath dragging tool 2025-10-17 19:37:19 +00:00
Matt
0630cc6f71 Fix #20486: Multiplayer desync when placing track designs without any scenery. (#25337)
* Fix #20486: Placing track designs with scenery disabled desyncs

* Remove pointless error logging, too much log spam

* Don't entirely disable all scenery when one element is obstructed

* Update changelog.txt

* Bump up network version

* clang-format
2025-10-16 23:05:30 +02:00
Gymnasiast
ccade99928 Fix comments in Banner.cpp 2025-10-16 14:19:43 +02:00
Gymnasiast
b21a8e8fb5 Fix #25272: Truncated text in Banner window text colour dropdown 2025-10-16 14:08:54 +02:00
Gymnasiast
53f345d4dc Small codestyle fixes 2025-10-12 22:47:00 +02:00