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

17350 Commits

Author SHA1 Message Date
Gymnasiast
bbfa1b67e4 Fix determining map size for S4 2021-11-21 22:43:23 +01:00
duncanspumpkin
566a05044b Add location.hpp 2021-11-21 22:43:23 +01:00
duncanspumpkin
d31f658368 Prevent import of tiles outsized of map boundaries 2021-11-21 22:43:23 +01:00
Ted John
0e57643a68 Refactor TilePointerIndex 2021-11-21 22:43:23 +01:00
Ted John
c4b4595708 Fix importing maps containing 255 height elements 2021-11-21 22:43:23 +01:00
Ted John
915e6447f9 Fix misc scenery not marked as invented 2021-11-21 22:43:23 +01:00
Gymnasiast
d63b57c359 Fix crash when loading save with impossible zoom level 2021-11-21 22:43:23 +01:00
duncanspumpkin
91b606beae Fix missing ride data from nsf
This was causing a desync whenever it rained
2021-11-21 22:43:22 +01:00
duncanspumpkin
f8091a462e Fix scenery group set research status import
There were a lot of small issues that compounded into making this bug occur
2021-11-21 22:43:22 +01:00
duncanspumpkin
22b9671435 Fix alignment 2021-11-21 22:43:22 +01:00
duncanspumpkin
fdf0f69159 Fix loading version 2 Park files 2021-11-21 22:43:22 +01:00
duncanspumpkin
ed54a28e38 Modify ride update to match vanilla balance 2021-11-21 22:43:22 +01:00
duncanspumpkin
ba6345e410 Use title case 2021-11-21 22:43:22 +01:00
duncanspumpkin
fe2d7998b5 Use std::remove_if 2021-11-21 22:43:22 +01:00
duncanspumpkin
6d28b94c05 Revert style change 2021-11-21 22:43:22 +01:00
Gymnasiast
921ae21ad5 Remove obsolete TODOs 2021-11-21 22:43:22 +01:00
Gymnasiast
1e8eb7087e Make sure restricted scenery is available in Editor 2021-11-21 22:43:22 +01:00
Gymnasiast
efd9cc420b Remove loading of JSON legacy footpaths 2021-11-21 22:43:22 +01:00
IntelOrca
34128dc262 Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00
Gymnasiast
e9e8dceca7 Update Backtrace token 2021-11-21 22:40:19 +01:00
Gymnasiast
61c67afc66 Release v0.3.5.1
- Improved: [#12825, #12869] The Tile Inspector window’s layout has been tweaked slightly.
- Change: [#15899] Weird bonus for path 0 - likely intended as a queue bonus (original bug).
- Fix: [#15138] Sometimes small scenery stays when building through it.
- Fix: [#15620] Placing track designs at locations blocked by anything results in wrong error message.
- Fix: [#15843] Tile Inspector can be resized too small.
- Fix: [#15844] Tile Inspector has inconsistent text colours.
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
- Fix: [#15908] Crash when track elements have no ride assigned.
- Fix: [#15919] Research status incorrectly considered for scenery when in editor modes.
- Fix: [#15938] Track designs of some ride types are incorrectly exported to TD6.
2021-11-21 22:06:59 +01:00
Michael Steenbeek
c9c61723b2 Refactor peep_update_ride_prepare_for_exit() 2021-11-21 13:31:03 +01:00
Michael Steenbeek
ae164e5228 Close #14888: Change Esperanto code 2021-11-20 22:26:41 +01:00
Michael Steenbeek
7cdb8f162a Fix: Track designs of some ride types incorrectly exported to TD6 2021-11-20 13:52:48 +01:00
Duncan
a60f7de103 Fix #15919: Scenery groups are missing in scenario editor 2021-11-20 11:25:27 +01:00
Hielke Morsink
0b691fa09a Fix #15928: Tile inspector hotkeys mapped incorrectly 2021-11-18 23:02:36 +01:00
Hielke Morsink
8a1bd1f7d4 Fix #15138: Sometimes small scenery stays when building through it 2021-11-17 11:08:26 +01:00
hjort96
072597f080 Close #12825: Show object rotation in Tile Inspector 2021-11-16 23:16:59 +01:00
ζeh Matt
f758e82112 Fix #15908: Out of bounds access for track elements with no ride index 2021-11-16 23:15:54 +01:00
Duncan
5d2a56525f Refactor min max cars per train from nsf (#15911) 2021-11-14 20:58:44 +00:00
Duncan
f84c5616e5 Port over NSF map changes (#15912) 2021-11-14 20:58:33 +00:00
Duncan
dd9bc86e75 Minor refactor from nsf (#15910) 2021-11-14 16:31:01 +00:00
Michael Steenbeek
9134bd4788 Update RCT1 path names + British spelling for ‘grey’ 2021-11-13 23:38:04 +01:00
ζeh Matt
c0f928f51d Merge pull request #15895 from ZehMatt/refactor/gamecommands
Remove unnecessary game command ids
2021-11-13 08:21:40 -08:00
Michael Steenbeek
fc421214e6 Bump network version 2021-11-13 13:18:46 +01:00
Michael Steenbeek
e6e0b31397 Fix #15899: Odd ratings bonus for path 0 (#15905) 2021-11-13 12:28:42 +01:00
ζeh Matt
54af81450e Remove unnecessary game command ids 2021-11-11 16:44:16 +02:00
ζeh Matt
d80612dfe4 Update date 2021-11-11 16:25:46 +02:00
ζeh Matt
55af69813a Ensure registration is never out of bounds with static_assert 2021-11-11 16:23:50 +02:00
ζeh Matt
f491c97734 Refactor game action registry initialization and make it constexpr 2021-11-11 16:16:52 +02:00
ζeh Matt
c7fa1b44e9 Pass name during registration and minor cleanup 2021-11-11 15:50:01 +02:00
ζeh Matt
96e2641d0d Remove macro for registration and cleanup 2021-11-10 19:42:23 +02:00
ζeh Matt
91d6338db5 Remove unused overload of SetCallback (#15885) 2021-11-10 14:03:34 +00:00
Michael Steenbeek
e1a1560fd2 Fix #15878: Crash when opening ride window for corrupted vehicle 2021-11-09 18:41:33 +00:00
chrhaase
4ff0022c58 Fix #15844: Tile Inspector inconsistent text colour
`COLOUR_WHITE` was being passed as the colour when drawing
any text. The Options window uses the `rct_window::colours`
array for resolving the correct theme colour.
Replacing all occurrences of `COLOUR_WHITE` with
`w->colours[1]` makes the text colours more consistent.
In the details section values are still painted in black
no matter the colour theme, which is consistent with e.g.
the park information window.
2021-11-09 09:11:48 +01:00
Michael Steenbeek
084b752fb8 Merge pull request #15816 from ZehMatt/refactor/15630
Close #15630: Refactor TrackDesign
2021-11-07 19:53:32 +01:00
Michael Steenbeek
36bbb01352 Merge pull request #12869 from Broxzier/feature/TI-widget-code-cleanup
Refactor Tile Inspector widget definitions
2021-11-07 19:35:49 +01:00
Gymnasiast
af171d07e8 Use TitleCase in LightListEntry 2021-11-07 14:16:37 +01:00
Gymnasiast
bc3276dd43 Use CoordsXYZ in lightlist_entry 2021-11-07 14:13:08 +01:00
Gaven Rendell
463f49586c Fix #15843; Tile Inspector resizes too small. (#15860) 2021-11-07 11:24:33 +00:00