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

573 Commits

Author SHA1 Message Date
Gymnasiast
bd7ac0bace Revert "Reduce duplication of gx readers (#16882)"
This reverts commit 2b371db8e3.
2022-03-28 21:49:26 +02:00
Duncan
2b371db8e3 Reduce duplication of gx readers (#16882)
* Reduce duplication of gx readers

* Readd nographics return
2022-03-28 09:32:33 +01:00
Ted John
d6d61ddd44 Merge pull request #16842 from IntelOrca/fix/large-scenery-colours
Fix custom large scenery appearing black.
2022-03-25 22:15:15 +00:00
spacek531
896ce5b68c Remove unused function WritePackedObjects 2022-03-25 08:46:38 +01:00
Tulio Leao
0e607ed0a3 Fix #13857: Removal price underflowing (#16858) 2022-03-23 21:14:03 +00:00
Duncan
472f7f55c5 Remove hard cap of 0x80 scenery items in a group (#16853)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-22 21:38:54 -03:00
Duncan
ba8690d970 Move *10 on removal/price to the object load function (#16846)
This simplifies the code and ensures that money32/16 is at the same base for all users of these objects
2022-03-22 21:35:44 +00:00
Ted John
313d46489e Fix custom large scenery appearing black 2022-03-21 19:03:08 +00:00
Ted John
fc2ed95641 Merge pull request #16831 from IntelOrca/feature/ternary-scenery-colours
Implement tertiary colours for small and large scenery objects.
2022-03-20 19:24:47 +00:00
Ted John
793acf67ae Implement small scenery ternary colours 2022-03-20 18:53:11 +00:00
Michael Steenbeek
e78c29ea5c Fix most occurrences of ‘ternary’ (#16832) 2022-03-20 19:22:05 +01:00
Ted John
e9e377ac09 Implement large scenery ternary colours 2022-03-20 18:12:39 +00:00
spacek531
a3700c832a Parkobj loads rct_gx (#16806)
* allow loading of lgx rct_gx packed images within parkobjs

* add changelog entry

* allow loading of lgx without range
2022-03-19 18:02:02 +00:00
Michael Steenbeek
9b1c915f4d Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults
Fix “Disable vehicle limits” cheat giving all new rides 32 trains with 12 cars
2022-03-09 13:03:14 +01:00
Bas
078078416b Replace all 'cars_per_flat_ride' 0xFF with 'NoFlatRideCars' 2022-03-04 20:21:15 +01:00
Hielke Morsink
6ba0a3bd49 Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
Michael Steenbeek
5edc561715 Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
Michael Steenbeek
44a607800e Bring ImageImporter enum names in line with code style 2022-02-12 18:56:17 +01:00
Michael Steenbeek
1062c3d08d Clean up palette import 2022-02-07 19:34:22 +01:00
Michael Steenbeek
3752a5ab05 Merge pull request #16490 from Gymnasiast/fix/16363
Close #16363: Allow listing .DAT files in JSON scenery groups
2022-01-26 17:13:35 +01:00
Michael Steenbeek
9f74c7081b Create definitions for u8string and u8string_view 2022-01-25 16:41:45 +01:00
Duncan
6eec7b8d48 Merge pull request #16472 from duncanspumpkin/editor
Refactor Editor Object Selection Flags
2022-01-25 07:43:39 +00:00
Gymnasiast
a16d548b69 Clean up rct_object_entry creation code 2022-01-24 12:30:22 +01:00
Gymnasiast
9228cde8cd Add comments to explain the numbers 2022-01-23 15:40:37 +01:00
Gymnasiast
b1637e1199 Use IReadObjectContext for error log 2022-01-23 15:40:08 +01:00
Gymnasiast
7c68cf96e5 Close #16363: Allow listing .DAT files in JSON scenery groups 2022-01-23 14:37:13 +01:00
duncanspumpkin
eb58e498e4 Rename type to conform to coding style 2022-01-19 17:45:51 +00:00
duncanspumpkin
6f9283a7f6 Refactor to remove double usage of flag 2022-01-19 17:33:54 +00:00
Gymnasiast
2cf380f7fe Rename NotNice to Overbearing 2022-01-19 13:25:24 +01:00
Gymnasiast
92f38c566a Fix music style check for ‘niceness’ 2022-01-19 13:25:00 +01:00
Michael Steenbeek
2b0d4e6b3d Merge pull request #16352 from Gymnasiast/fix/16061
Fix #16061: Incorrect colours in minimap
2022-01-03 14:40:10 +01:00
Michael Steenbeek
fa9ef5728e Merge pull request #16298 from Gymnasiast/refactor/rotation-frames-1
Clean up ride object rotation frames
2022-01-03 14:26:47 +01:00
Michael Steenbeek
0e86d9577c Default-initialise MapColours
Co-authored-by: Ted John <ted@brambles.org>
2022-01-02 17:07:36 +01:00
Gymnasiast
1e1f370c8d Create PaletteIndex 2022-01-01 18:38:31 +01:00
Gymnasiast
de2b893d99 Fix #16061: Incorrect colours in minimap 2022-01-01 16:52:49 +01:00
frutiemax
adb692b74e Forward declare Formatter 2021-12-30 12:17:51 -05:00
Gymnasiast
3c8558bba0 Use uint32_t in more places 2021-12-30 12:27:43 +01:00
Gymnasiast
b09898ab3b Clean up ride object rotation frames 2021-12-30 12:26:21 +01:00
Michael Steenbeek
b6c541c805 Close #16231: Do not load image table when creating object index 2021-12-17 09:45:40 +01:00
Ted John
efca2852c4 Refactor remaining object preview to ImageId 2021-12-16 21:39:10 +01:00
duncanspumpkin
2916daa29d Handle mixed install object loading more gracefully 2021-12-15 21:29:02 +00:00
Ted John
4e9ca39c4a Refactor station covers to use ImageId 2021-12-11 23:07:55 +00:00
Ted John
f8431d2b2e Refactor Entrance painting to use ImageId 2021-12-11 23:07:55 +00:00
Gymnasiast
fcd704ed47 Create fallback system for csg1 images 2021-12-08 16:18:33 +01:00
Ted John
a324bfab63 Add image manager plugin API (#16144) 2021-12-07 20:55:27 +00:00
Gymnasiast
a7f8a79313 Fix crash when drawing small scenery glass preview 2021-12-04 11:55:34 +01:00
Gymnasiast
cbdb2c03cd Use new ImageId in most object previews 2021-12-04 11:55:33 +01:00
Ted John
5f9d03e9df Refactor ImageId and use in more functions 2021-12-03 19:59:33 +01:00
Duncan
79b12d2953 Introduce DATLimits.h for RCT2 Dat file object limits (#16034) 2021-12-01 21:55:52 +00:00
Duncan
60ef13ed0c Load placeholder empty images if CSG not linked (#16071) 2021-11-30 13:27:16 +00:00