1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00
Commit Graph

1142 Commits

Author SHA1 Message Date
Michael Steenbeek
412bf8f8be Use ride references instead of pointers 2023-01-07 14:02:18 +01:00
Stephan Spengler
f8ab17749d Rename CheatSetAction to fit naming pattern 2023-01-06 22:57:15 +01:00
Nehemiah Negussie
eeb5c58238 Fix #18971: New Game does not prompt for save before quitting (#19046)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2023-01-06 08:56:46 -03:00
Michael Steenbeek
52fffb96cb Fix #19053: MazeConstruction window does not open (#19060) 2023-01-06 08:10:09 -03:00
Gymnasiast
a27b717ebd Small Construction window cleanup 2023-01-03 23:22:10 +01:00
James103
73738bbdc8 Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Gymnasiast
38f7c2a159 Allow using ImageId in widgets directly 2022-12-31 15:18:22 +01:00
Gymnasiast
162b01204d Rename rct_widget to Widget 2022-12-31 15:18:22 +01:00
Gymnasiast
b97ee766d5 Refactor out IMAGE_TYPE_REMAP from widgets 2022-12-31 15:16:07 +01:00
Michael Steenbeek
246980d45d Merge pull request #18408 from Broxzier/refactor/13778-loadsave-window
Refactor LoadSaveWindow to class
2022-12-31 14:54:49 +01:00
ccahiggins
279675ba45 Add shift and control modifiers to close window button (#18537)
Shift closes all but current window.
Control closes all windows of the same window class/type.

Co-authored-by: Chris Higgins <chrissywissywoo@hotmail.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-12-27 12:22:18 +00:00
Rik Smeets
055f16f0e5 Fix #18696: Construction rights cannot be viewed after all are purchased 2022-12-10 22:35:59 +01:00
Hielke Morsink
056af36cdf Move initialization to constructor 2022-11-20 21:41:24 +01:00
Rik Smeets
9688d93e46 Open campaign tab from finished campaign news
When a marketing campaign is finished, it is likely the player wants to renew it.
This change allows the ‘Campaigns’ tab in the 'Finances' window to be opened from the news item of the finished campaign.
2022-11-18 13:26:52 +01:00
Haven Kim
69e5439484 Fix #17067: Random Staff Patrol Area clicks (#18329)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-11-16 00:13:24 +00:00
Michael Steenbeek
96284123e7 Reduce usage of gCommonStringFormatBuffer 2022-11-14 23:48:34 +00:00
Duncan
482971710d Apply code style to context functions 2022-11-06 21:49:07 +01:00
Michael Steenbeek
27f3a3a796 Create function to resize window frame 2022-11-06 10:29:40 +01:00
Rik Smeets
3a9900cd14 Fix #1519: “See-through rides” doesn’t affect all rides
Rides without track can technically have a vehicle, such as the merry go round or the pirate ship. These vehicles should be hidden of 'see through rides' is enabled.
2022-11-05 16:32:22 +00:00
Raymond Zhao
0647d12de8 Close #18315: Refactor Error window to class (#18403) 2022-10-29 09:25:20 -03:00
Gymnasiast
14f9a75e0a Refactor FontSpriteBase and font size into FontStyle 2022-10-19 11:59:26 +02:00
Hielke Morsink
f91df4138c Merge pull request #18359 2022-10-18 23:39:49 +02:00
Hielke Morsink
3bb8ea3668 Better annotate some magic numbers in for loops 2022-10-17 16:08:55 +00:00
Hielke Morsink
5fa53ad528 Rename global config functions to use TitleCase 2022-10-16 21:46:08 +02:00
Hielke Morsink
0ca7bb058f Rename public font config data members 2022-10-16 21:46:07 +02:00
Hielke Morsink
f605b02630 Rename public interface config data members 2022-10-16 21:46:05 +02:00
Hielke Morsink
abac080d3e Rename public general config data members 2022-10-16 21:46:01 +02:00
Rik Smeets
c80bd455e9 Code style: Remove struct snakes from Paint (#18341) 2022-10-14 20:26:36 +02:00
Duncan
406b73d904 Remove final snakes from map and world (#18304) 2022-10-12 09:14:45 -03:00
Duncan
7dd8989e70 Next chunk of World/Map.h snakes (#18296)
* Next chunk of World/Map.h snakes

* Apply clang-format
2022-10-12 06:35:20 +01:00
Duncan
67bbc8560d Code style: Remove snakes from everything world apart from Map.h (#18273)
* Remove remaining snakes from world (outside of map)

* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
Gymnasiast
d5f6a5b285 Replace context_load_park_from_file() with object equivalent 2022-10-08 20:12:35 +02:00
Duncan
5dba30778d Code style: Remove more snakes from the park, maphelper, scenery. (#18222) 2022-10-08 06:56:17 -03:00
leoleotte
0dee78bfe5 Close #13774: Refactor Footpath window to class 2022-10-06 19:41:31 +00:00
Michael Steenbeek
99e13e023e Name unknown_15 window event as ScrollSelect
Co-authored-by: leoleotte <leoleotte@users.noreply.github.com>
2022-10-05 21:59:20 +02:00
Michael Steenbeek
2e6595fe8a Merge pull request #18050 from IntelOrca/assetpacks-audio
Add asset pack manager and asset packs
2022-10-04 19:08:38 +02:00
Duncan
3565a0172d Attack snakes in banners and climate (#18163) 2022-10-01 18:54:15 +02:00
Ted John
331a5961b1 Implement asset packs for audio 2022-10-01 13:06:52 +01:00
73
b9e677945d Replace 20XX with 2022 (#18158)
* Replace 2020 with 2022

Replace all 2020 headers with 2022

* replace other years with 2022

add missing years
2022-10-01 08:42:14 +01:00
Michael Steenbeek
a0dd6a3aa6 Fix #18087: gCash clamped to 32-bit integer every transaction 2022-09-28 12:20:44 +02:00
Michael Steenbeek
31e2d7692c Rename more instances of “vehicle” to “train” 2022-09-22 11:22:18 +02:00
Gymnasiast
c1149895fa Close #17955: Make ratings setting networked and freeze them 2022-09-21 19:15:10 +02:00
frutiemax
7cb579795d Fix dirty blocks regression (#17959) 2022-09-04 19:55:19 +02:00
Michael Steenbeek
847299bf1a Improve legibility [ci skip] 2022-08-31 22:35:14 +02:00
Hielke Morsink
bb84c181f3 Fix crash on non-legacy objects 2022-08-30 11:57:28 +02:00
Hielke Morsink
ced6f1280f Fix reading out of bounds in cc_object_count 2022-08-30 11:31:24 +02:00
Gymnasiast
45e7ee6a73 Rename rct_window_event_list to WindowEventList 2022-08-27 16:56:52 +02:00
Gymnasiast
ae8b2b8374 Remove unused window events 2022-08-27 16:50:02 +02:00
Gymnasiast
aea4df11fd Remove rct_window_event (unused) 2022-08-21 18:59:46 +02:00
Gymnasiast
828ad513a7 Remove wndproc (unused) 2022-08-21 18:55:09 +02:00