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

18244 Commits

Author SHA1 Message Date
Ted John
8b71136056 Refactor paint merry go round to use ImageId 2021-12-05 23:05:13 +00:00
Ted John
a4e0a5ab07 Refactor simple rides / shops to use ImageId 2021-12-05 23:05:13 +00:00
Ted John
70506d2216 Refactor paint top spin to use ImageId 2021-12-05 23:05:13 +00:00
Ted John
bd9f7d56c5 Fix #16130: Crash when using see-through rides or scenery 2021-12-05 23:33:09 +01:00
Ted John
a8505dc689 Refactor paint twist to use ImageId 2021-12-05 22:18:52 +00:00
Duncan
c01049a500 Only add RCT1 land objects to imported SV6 if they are used 2021-12-05 17:08:33 +01:00
Gymnasiast
91635a5047 Replace SetType and old strong enum with normalised 2021-12-05 13:54:01 +01:00
Gymnasiast
897ab76c71 Create normalised tile element type 2021-12-05 13:54:01 +01:00
Karst
32b4fc0ca3 Make Looping Coaster draw missing sprites from LIM Launched Coaster 2021-12-05 13:27:42 +01:00
Michael Steenbeek
ac0ee4316c Merge pull request #16103 from Gymnasiast/refactor/imageid-to-struct
Use new ImageId in most object previews
2021-12-05 01:15:43 +01:00
Gal B
1a6fffb64a Replace strtol with Parse in CustomCurrency window 2021-12-04 19:20:39 +02:00
Gal B
8e1750b775 Refactor Custom Currency window to class 2021-12-04 18:53:11 +02:00
Olivier Wervers
459c0d67dd Merge pull request #16104 from oli414/icons
Icons for new object selection tabs
2021-12-04 11:31:21 +00:00
Michael Steenbeek
c48219e5bd Merge pull request #16101 from ZehMatt/refactor/staff-ui-logic
Refactor some code into UI for Staff
2021-12-04 12:08:26 +01:00
ζeh Matt
7cfb5832c4 Fix #16075: Track designs save scenery in wrong location 2021-12-04 12:07:10 +01:00
Ted John
58f30f78d7 Fix plugin buttons not drawing text 2021-12-04 11:57:23 +01:00
Gymnasiast
a7f8a79313 Fix crash when drawing small scenery glass preview 2021-12-04 11:55:34 +01:00
Ted John
d2b8544654 Fix glass drawing 2021-12-04 11:55:33 +01:00
Gymnasiast
cbdb2c03cd Use new ImageId in most object previews 2021-12-04 11:55:33 +01:00
Michael Steenbeek
66bf0aa1a6 Remove now-unused RCT12 setters (#16109) 2021-12-04 10:56:49 +01:00
oli414
2be6cb1408 Add object selector icons for new tabs 2021-12-03 20:36:46 +00:00
Ted John
5f9d03e9df Refactor ImageId and use in more functions 2021-12-03 19:59:33 +01:00
ζeh Matt
e9ccad157e Remove unused return value 2021-12-03 20:47:48 +02:00
Hielke Morsink
98db974b49 Merge pull request #16085 2021-12-03 19:10:03 +01:00
Michael Steenbeek
9bb2547dfb Use templated function for the Twister and Vertical Drop 2021-12-03 18:00:42 +01:00
ζeh Matt
a79e2a375a Move staff_set_name to Staff 2021-12-03 17:40:27 +02:00
ζeh Matt
a6870a97d4 Move staff hiring logic into StaffList 2021-12-03 17:37:39 +02:00
Hielke Morsink
04ee748c0c Add build-time verifications for shortcut keys 2021-12-03 00:28:43 +01:00
Hielke Morsink
9615dda192 Reimplement hotkey handler for toggling visibility 2021-12-03 00:24:56 +01:00
Hielke Morsink
1035725fd2 Fix shortcuts for top-toolbar buttons 2021-12-03 00:18:54 +01:00
Hielke Morsink
325b986c56 Merge pull request #15489 2021-12-03 00:16:06 +01:00
Ian Polito
d3ee7eded1 Fix #16007: Scenario Editor "Entry Price" appears in wrong place
Entry Price label was being drawn to the right of the entryPriceWidget which is
outside of the window. Changed to draw it to the right of the
payForParkOrRidesWidget widget instead.
2021-12-02 21:05:57 +01:00
Michael Steenbeek
75aecadbc5 Always show Looping RC booster 2021-12-02 10:40:25 +01:00
Duncan
79b12d2953 Introduce DATLimits.h for RCT2 Dat file object limits (#16034) 2021-12-01 21:55:52 +00:00
Trey Kreis
e4a314a160 Refactor Editor Object Selection Window to class (#16027)
* Refactor Editor Object Selection Window to class

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-12-01 20:43:08 +00:00
ζeh Matt
ad5e54460f Merge pull request #16062 from ZehMatt/refactor/map-iterators
Refactor tile map iterations
2021-12-01 06:16:39 -08:00
Sadret
03d2ddf265 Implement #16029: Add rideType to plugin API (#16030) 2021-12-01 13:39:03 +00:00
ζeh Matt
a1b2996178 Add GetBannerIndex helper in SignWindow 2021-12-01 14:41:59 +02:00
ζeh Matt
e6187a0af4 Use BannerIndex::UnderlyingType for iterations 2021-12-01 14:41:59 +02:00
ζeh Matt
e201c3b7fd Expose UnderlyingType for TIdentifier 2021-12-01 14:41:59 +02:00
ζeh Matt
810521bd5b Remove BANNER_INDEX_NULL 2021-12-01 14:41:59 +02:00
ζeh Matt
63a2e9d716 Refactor uses of old BannerIndex 2021-12-01 14:41:59 +02:00
ζeh Matt
3563d89e58 Add TIdentifier specialization to GameAction visitor 2021-12-01 14:41:59 +02:00
ζeh Matt
cf27c4a024 Implement TIdentifier specialization for Intent 2021-12-01 14:41:59 +02:00
ζeh Matt
ee53f1db66 Use TIdentifier for BannerIndex 2021-12-01 14:41:59 +02:00
ζeh Matt
f704358cb3 Add TIdentifier specialization for OrcaStream 2021-12-01 14:41:59 +02:00
ζeh Matt
63702fcc6f Implement identifier comparison overloads 2021-12-01 14:41:59 +02:00
Hielke Morsink
e4fc0d8388 Fix #16083: Tile Inspector shortcuts mapped incorrectly
This really needs to be refactored so that this does not need manual updating every time the order of widgets changes.
2021-12-01 09:51:40 +01:00
Hielke Morsink
1ba75205e9 Add comment and use more consistent naming 2021-12-01 00:17:49 +01:00
Hielke Morsink
bd338fc7d2 Add DISABLE_OPENGL guard in ZoomLevel::min 2021-12-01 00:11:48 +01:00