1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00
Commit Graph

200 Commits

Author SHA1 Message Date
Gymnasiast
5e6f5ceb6f Update members of TextDarkness 2025-11-03 23:25:29 +01: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
a03613df35 Change FilterPaletteID to lowerCamelCase 2025-09-23 21:09:54 +02:00
Michael Steenbeek
eb38b7227f Change WindowFlag to strong enum 2025-09-20 21:46:42 +02:00
Gymnasiast
a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast
3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Gymnasiast
d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
Aaron van Geffen
531cb68727 RideManager: use explicit game state rather than using implicit global 2025-09-11 13:42:18 +02:00
Aaron van Geffen
4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Gymnasiast
7f2c4261b4 Remove ‘format’ and ‘args’ altogether 2025-09-03 17:57:43 +02:00
Aaron van Geffen
abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Michael Steenbeek
ba2ed7564c Merge pull request #25027 from Gymnasiast/refactor/dropdown-3
Move more global dropdown stuff into individual items
2025-08-27 17:26:43 +02:00
Aaron van Geffen
a052437d12 Move Park game actions to GameActions namespace 2025-08-26 20:52:46 +02:00
Gymnasiast
bde70ea95f Create MenuLabel constructor 2025-08-24 11:30:59 +02:00
Gymnasiast
af50e9b0da Fold tooltips and images into dropdown items 2025-08-24 11:30:59 +02:00
Gymnasiast
ff896787ac Replace dropdown disabled/checked functions 2025-08-24 11:30:58 +02:00
Michael Steenbeek
577c3336c6 Create struct for all dropdown-related globals (#25023) 2025-08-23 13:56:13 +02:00
Aaron van Geffen
e88c5e4399 Move Scenario::Category into its own unit 2025-08-22 18:07:55 +02:00
Aaron van Geffen
f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
Aaron van Geffen
19dd05c32f Move landPrice/constructionRightsPrice into Scenario::Options 2025-08-22 16:10:12 +02:00
Aaron van Geffen
f5f3199dfe Move scenario objective/category/name/details into Scenario::Options 2025-08-22 16:05:38 +02:00
Aaron van Geffen
aa35ec07cd Introduce Scenario::Options struct; move cash and guest options 2025-08-22 15:57:33 +02:00
Michael Steenbeek
92f493b28a Merge pull request #25010 from Gymnasiast/refactor/more-code-style
More code style refactors
2025-08-21 22:26:52 +02:00
Gymnasiast
5365e10196 Rename MaxBankLoanInterestRate to kMaxBankLoanInterestRate 2025-08-21 22:12:42 +02:00
Gymnasiast
9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast
8fd9658cd3 Update dropdown item fields and functions to new code style 2025-08-21 21:33:22 +02:00
Tulio Leao
80b5187da9 Rename ride_rating to RideRating_t 2025-08-17 08:49:03 -03:00
Tulio Leao
8a542a348d Move MakeRideRating into namespace 2025-08-17 08:47:21 -03:00
Aaron van Geffen
51f17c5754 Move .bankLoanInterestRate into ParkData struct 2025-08-13 23:15:24 +02:00
Aaron van Geffen
e300ca8277 Move .maxBankLoan into ParkData struct 2025-08-13 22:29:25 +02:00
Aaron van Geffen
68a4991971 Move .bankLoan into ParkData struct 2025-08-13 21:24:06 +02:00
Garv Changrani
b47506dd90 Close #24665: Don't return empty strings with quotes for std::string 2025-07-02 13:33:54 +02:00
Matt
d8964c5641 Fix #24509: Use std::sort instead of std::stable_sort (#24664) 2025-06-23 18:46:31 +02:00
Michael Steenbeek
7b322d825a Refactor constants in window .cpp files 2025-06-16 23:10:47 +02:00
Gymnasiast
81e3181ebb Pass ScreenSize to makeWindowShim() 2025-06-10 23:21:15 +02:00
Gymnasiast
bdba89f428 Pass ScreenSize to window creation functions 2025-06-10 23:20:28 +02:00
Aaron van Geffen
ec3f9d1272 Disable scenario options rather than hiding them (#24559) 2025-06-10 20:05:06 +00:00
Gymnasiast
650fa3ae2e Rename WindowWidgetType to WidgetType and change for new code style 2025-06-10 19:55:12 +02:00
Gymnasiast
149468406b Update WindowColour enum for new code style 2025-06-10 19:53:12 +02:00
Gymnasiast
86e265f093 Make widget creation functions lowerCamelCase 2025-06-10 19:51:21 +02:00
Aaron van Geffen
0779b9f0ab Replace window shim and widget macros with constexpr functions (#24566) 2025-06-07 23:02:14 +02:00
Harry Hopkinson
cd63cd34d1 Close #24400: Sort rides with preservation order alphabetically 2025-05-23 12:48:06 +00:00
Matt
6335c31336 Rename DrawPixelInfo to RenderTarget (#24339)
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget

* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
3f87e2b67a Centralise ResizeFrame in WindowBase and call when setting widgets or resizing 2025-04-11 20:37:54 +02:00
Aaron van Geffen
bbcc0e2413 Rework manually drawn labels into label widgets
* Introduce label widgets for land tab

* Introduce label widgets for guest tab

* Introduce label widgets for rides tab

* Introduce label widgets for financial tab
2025-03-28 16:04:02 +01:00