Gymnasiast
50c0080da8
Update calls to ClearAs()
2021-12-10 22:58:27 +01:00
Michael Steenbeek
2d1af0ec42
Replace many GetType() calls with GetTypeN()
2021-12-10 22:43:17 +01:00
Duncan
fdfd9b4760
Make track designs NSF map size safe ( #16116 )
...
* Make track designs NSF map size safe
* Increment network version
2021-12-06 16:58:50 +00:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
Hielke Morsink
3f669cae85
Use zoomlevel some more
2021-11-30 19:11:32 +01:00
Duncan
cc22b584fd
Introduce RCT2 namespace ( #16037 )
...
* Introduce RCT2 namespace
* Drop RCT2:: prefix where possible
* Drop RCT2 from structure names
* Reduce header includes
2021-11-28 16:51:38 +00:00
Duncan
eba42a9584
Introduce Limits headers. ( #15329 )
...
* Move RCT12 limits to seperate file and namespace
* Remove prefix from constants
* Add rct1 limits file
* Rename constants to remove prefix
* Add RCT2 limits file
* Remove RCT2 prefix from constants
* Move constant to correct header
* Fix rebase mistakes
* Drop prefix
2021-11-27 16:20:05 +00:00
Duncan
2b4eaab5dc
Modify TrackPlaceAction to handle ride type parameter ( #15980 )
...
* Modify TrackPlaceAction to handle ride type parameter
* Update network and plugin version
* Update replays
2021-11-25 12:28:30 +00:00
ζeh Matt
83b911b193
#15634 : Refactor passing GameActions::Result by copy ( #15951 )
...
* Refactor to result GameActions::Result as copy instead of unique_ptr
* Remove alias GameActions::Result::Ptr
* Remove MakeResult wrapper
* Remove type forwarder in TileInspector
2021-11-24 07:35:08 +00: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
ζeh Matt
00c5a440be
Fix ghost scenery not being removed
2021-10-29 20:11:03 +03:00
ζeh Matt
16ce6641f0
Remove unnecessary assignment to gGameCommandErrorTitle, unused.
2021-10-29 17:01:44 +03:00
ζeh Matt
d1e5a5d977
Refactor last uses of place_virtual_track
2021-10-29 02:06:59 +03:00
ζeh Matt
965179ecb4
Return GameActions::Result from TrackDesignPlaceAllScenery
2021-10-29 02:06:59 +03:00
ζeh Matt
1bb7b1c736
Return GameActions::Result from TrackDesignPlaceSceneryElement
2021-10-29 02:06:59 +03:00
ζeh Matt
957beb22cc
Simplify logic in TrackDesignPlaceSceneryElement
2021-10-29 02:06:59 +03:00
ζeh Matt
bdb2a500bb
Return GameActions::Result in TrackDesignPlaceSceneryElementRemoveGhost
2021-10-29 02:07:00 +03:00
ζeh Matt
5ef99ef549
Use TrackDesignPreviewRemoveGhosts over place_virtual_track
2021-10-29 02:06:59 +03:00
ζeh Matt
162b0ce321
Use TrackDesignPreviewDrawOutlines over place_virtual_track
2021-10-29 02:06:59 +03:00
ζeh Matt
4ab6a3721d
Use TrackDesignGetZPlacement over place_virtual_track
2021-10-29 02:06:59 +03:00
ζeh Matt
aa3f0abaa2
Return GameActions::Result in TrackDesignPlaceMaze/TrackDesignPlaceRide
2021-10-29 02:06:59 +03:00
ζeh Matt
545b01e7e1
Rename track design functions to PascalCase
2021-10-29 02:06:59 +03:00
ζeh Matt
f509c75df5
Rename state variables
2021-10-29 02:06:59 +03:00
ζeh Matt
d779a4f389
Fix track design preview not drawing
2021-10-29 02:06:59 +03:00
ζeh Matt
cd7e35044a
Move statics into TrackDesignState and pass that to each function
2021-10-29 02:06:59 +03:00
Sijmen
cec8447c6f
Refactor Viewport.cpp to use ScreenRect ( #15790 )
2021-10-27 00:13:38 -03:00
ζeh Matt
7f3dc5c001
Fix fallback for missing path objects
2021-10-15 01:12:38 +03:00
ζeh Matt
0ef4ed35e9
Fix scenery being disabled, footpath railings don't exist in develop
2021-10-11 20:28:13 +03:00
ζeh Matt
6f8e017a32
Backport track design changes
...
Co-authored-by: Ted John <ted@brambles.org >
2021-10-11 20:28:13 +03:00
ζeh Matt
dc44d1f79d
Merge pull request #15511 from ZehMatt/refactor/ridecreateaction-result
...
Refactor RideCreateAction result data passing
2021-10-03 07:55:14 -07:00
ζeh Matt
2597c04eb4
Refactor RideCreateAction result data passing
2021-10-02 00:50:03 +03:00
Hielke Morsink
1d62a902e7
Make scenery_small_entry_has_flag a member function ( #15509 )
2021-10-01 16:50:05 -03:00
Hielke Morsink
94144bcd89
Remove some dead code
...
Reported by clang
clang-analyzer-deadcode.DeadStores
2021-09-30 10:40:32 +02:00
ζeh Matt
719a5a9d8e
Merge pull request #15369 from ZehMatt/refactor/tile-coords
...
Refactor overload map_get_first_element_at
2021-09-21 14:36:03 -07:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
Michael Steenbeek
37821ce25e
Merge pull request #15336 from Gymnasiast/refactor/more-paths
...
Prepare footpath handling for surfaces and railings (from NSF)
2021-09-15 10:58:01 +02:00
ζeh Matt
59a6c34db4
Make use of std::optional strict
2021-09-13 20:02:32 +03:00
IntelOrca
4f319d6ed4
Prepare footpath handling for surfaces and railings
2021-09-12 17:52:01 +02:00
ζeh Matt
b733e97bfa
Remove numerics from common.h and use it as needed
2021-09-11 20:21:08 +03:00
ζeh Matt
e5eb8f84cf
Apply review suggestions
2021-09-10 19:36:14 +03:00
ZehMatt
3ad72baaae
Cast fixes
2021-09-10 19:10:12 +03:00
Michael Steenbeek
624a32e93b
Make Coords isNull/setNull functions TitleCase ( #15382 )
2021-09-08 20:48:53 -03:00
ζeh Matt
79ab832000
Fix overload resolution for map_get_first_element_at
2021-09-07 22:36:16 +03:00
Gymnasiast
4cc717ccdb
Rework path surface and railings descriptor handling
2021-09-05 19:09:09 +02:00
Gymnasiast
2282f24404
Rename path surface and railings descriptors
2021-09-05 19:09:09 +02:00
spacek531
ebc201aaf2
comment and rename
...
refactor to class method
fix formatting
rename function
rename another
rename sub_6C683D
rename loc_6CD18E
annotate ride_get_entrance_or_exit_position_from_screen_position
fix format
rename loop value
fix formatting again
rename functions to TitleCase
2021-09-02 19:47:22 -07:00
frutiemax
450bf61ee4
Part of #13874 : TrackSequenceProperties, Pricing and MirrorMap renamed
2021-08-29 10:45:17 -04:00
frutiemax
5f438535ad
Part of #13874 : Gymnasiast review
2021-08-27 17:57:10 -04:00
frutiemax
9c53fe252d
Part of #13874 : ZehMatt review changes
2021-08-27 17:44:33 -04:00