1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

16944 Commits

Author SHA1 Message Date
ζeh Matt
2daa356fbf Move ZipStream into new header 2021-09-11 19:06:17 +03:00
ζeh Matt
c9e2c9f4d2 Apply review suggestions 2021-09-11 17:25:42 +03:00
ζeh Matt
50d7b8bb1c Remove unused function get_loaded_object_entry 2021-09-11 16:50:30 +03:00
ζeh Matt
38ec042a52 Refactor object_entry_get_chunk wrapper 2021-09-11 16:50:30 +03:00
ζeh Matt
c416c7ca27 Remove unused function get_loaded_object_chunk 2021-09-11 16:50:30 +03:00
ζeh Matt
e3f39bf554 Use PascalCase for object members 2021-09-11 16:50:30 +03:00
ζeh Matt
47d1633224 Refactor Export 2021-09-11 16:50:29 +03:00
ζeh Matt
b1ba29716d Refactor import of s6 objects 2021-09-11 16:50:29 +03:00
ζeh Matt
ef6768dd33 Segment the object arrays in rct_s6_data 2021-09-11 16:50:26 +03:00
ζeh Matt
2e8d40b5e3 Fix out of bounds regression from #15391 2021-09-10 22:34:18 +03:00
Hielke Morsink
d42bc9a469 Merge pull request #15383 from Broxzier/refactor/smart-follow-cleanup 2021-09-10 20:13:23 +02:00
ζeh Matt
e5eb8f84cf Apply review suggestions 2021-09-10 19:36:14 +03:00
ζeh Matt
516232e0a7 Change static casts to EnumValue 2021-09-10 19:10:15 +03:00
ζeh Matt
d21ccc103b Bump up network version 2021-09-10 19:10:15 +03:00
ζeh Matt
d7e0e473c1 Apply review suggestion, cleanup 2021-09-10 19:10:14 +03:00
ζeh Matt
8a21bd01c6 Bump up scripting version 2021-09-10 19:10:14 +03:00
ζeh Matt
50467d4fd8 Remove unused serialiser traits 2021-09-10 19:10:14 +03:00
ζeh Matt
f8e26a3752 Fix signed/unsigned mismatch 2021-09-10 19:10:14 +03:00
ζeh Matt
120bb10fd5 Fix serialiser traits 2021-09-10 19:10:14 +03:00
ζeh Matt
18af5d4950 Use union for window association to prevent casts 2021-09-10 19:10:13 +03:00
ζeh Matt
eda3188ecf Fix rebase 2021-09-10 19:10:13 +03:00
ζeh Matt
e1e29379ba Add thought insertion overload with strong ride id type 2021-09-10 19:10:13 +03:00
ζeh Matt
078d12a207 Fix S4 importer 2021-09-10 19:10:13 +03:00
ζeh Matt
ec65a04883 Cast fixes 2021-09-10 19:10:13 +03:00
ZehMatt
18fa68813d Adjust importer/exporter 2021-09-10 19:10:13 +03:00
ZehMatt
ca605d6f82 Refactor object selection to use RideManager 2021-09-10 19:10:12 +03:00
ZehMatt
b9c679d23e Fix window list only able to hold 255 indices 2021-09-10 19:10:12 +03:00
ZehMatt
e65a1f6fc5 Forward NetworkRideId_t to ride_id_t and adjust serialiser 2021-09-10 19:10:12 +03:00
ZehMatt
2768910fbf Allow Formatter to accept ride_id_t 2021-09-10 19:10:12 +03:00
ZehMatt
3ad72baaae Cast fixes 2021-09-10 19:10:12 +03:00
ZehMatt
49bbc0f854 Turn ride_id_t into a strong type 2021-09-10 19:10:11 +03:00
ζeh Matt
0b12076f2f Fix #15390: Revert quadrant distribution change and cleanup 2021-09-10 17:35:44 +03:00
Hielke Morsink
f966c229c0 Refactor out unnecessary Is<Guest/Staff> checks 2021-09-09 18:44:52 +02:00
Michael Steenbeek
624a32e93b Make Coords isNull/setNull functions TitleCase (#15382) 2021-09-08 20:48:53 -03:00
Hielke Morsink
2b51b91524 Make peep argument const 2021-09-08 22:59:58 +02:00
Hielke Morsink
d3263ef6b7 Make smart follow functions easier to follow
Opted for a switch case instead of if-else if-else if-else
Reuse entity - is already checked for null and doesn't change
Remove unnecessary else blocks after if-block that returns
2021-09-08 22:55:08 +02:00
ζeh Matt
e00eb3ec52 Merge pull request #15381 from ZehMatt/fix-15376
Fix #15376: Extend the X axis on rotation 0 to cover corners
2021-09-08 13:52:31 -07:00
ζeh Matt
6a7fe6a5e2 Fix #15376: Extend the X axis on rotation 0 to cover corners
Also make the code branchless
2021-09-08 23:13:19 +03:00
Duncan
0fcef925b6 Fix #15375. Issue with entrance exit placement after refactor (#15380) 2021-09-08 21:58:11 +02:00
Michael Steenbeek
a3991085be Merge pull request #15363 from Gymnasiast/refactor/tile-element-path-nsf
Add support for surface and railings objects to PathElement
2021-09-08 15:41:02 +02:00
Michael Steenbeek
f9f027e219 Name word_F3F038 (#15373)
Co-authored-by: IntelOrca <ted@brambles.org>
2021-09-08 15:40:35 +02:00
Michael Steenbeek
3988261e8f Set RailingsEntryIndex to null for good measure 2021-09-08 13:39:11 +02:00
seanmajorpayne
33fbad9726 Fix #15257: Chat widgets removed from Scenario Editor (#15365)
* Update TopToolbar.cpp

Removed else statement which caused the game to skip toolbar element deactivations.

* Update contributors.md

Adding name to contrib.md

* Update changelog.txt

Updated changelog

* Update changelog.txt

Fixing changelog item position
2021-09-08 12:39:34 +02:00
spacek531
dba4518d11 refactor entrance hut finding function (#15360) 2021-09-08 07:33:48 +01:00
ζeh Matt
876329da87 Fix hash bucketing of paint entries 2021-09-07 18:04:09 +03:00
Gymnasiast
a9e0eeccc4 Add support for surface and railings objects to PathElement
Co-authored-by: IntelOrca <ted@brambles.org>
2021-09-06 22:16:28 +02:00
Michael Steenbeek
2f90b83a11 Merge pull request #15352 from Gymnasiast/refactor/surface-railings-descriptor
Rework path surface and railings descriptor handling
2021-09-06 21:56:10 +02:00
Duncan
454eabe3a7 Merge pull request #15351 from ZehMatt/fix/dataserializer-enum
Fix enum serialization not using byte swap
2021-09-06 08:41:33 +01:00
Daniel Karandikar
613c309f93 Close #13407 Allow building covered lift hill when cheat enabled 2021-09-05 21:57:08 +02:00
Gymnasiast
e26c4bdd4e Fix US spelling 2021-09-05 20:40:01 +02:00