Commit Graph
13101 Commits
Author SHA1 Message Date
duncanspumpkin f3db7f877a Refactor tile_element_water_height to take CoordsXY 2019-08-19 20:04:57 +01:00
duncanspumpkin 5b92b64ec7 Refactor map_get_path_element_at to return PathElement and use CoordsXYZ 2019-08-19 20:04:57 +01:00
duncanspumpkin c6452095ca Refactor tile_element_height to use CoordsXY 2019-08-19 20:04:57 +01:00
duncanspumpkin 5ba9d55415 Refactor map_is_location_owned_or_has_rights to use CoordsXY 2019-08-19 20:04:57 +01:00
duncanspumpkin 0a1cb68328 Refactor map_can_build_at to use CoordsXYZ 2019-08-19 20:04:56 +01:00
duncanspumpkin 5333dc4295 Return a SurfaceElement from get_surface_element 2019-08-19 20:04:56 +01:00
duncanspumpkin 140f406714 Fix mistake 2019-08-19 20:04:56 +01:00
duncanspumpkin 9619fd384d Refactor map_is_location_owned to use CoordsXYZ 2019-08-19 20:04:56 +01:00
Gymnasiast 7d2a7deb28 Fix tile element size comment [ci skip] 2019-08-19 18:52:30 +02:00
Gymnasiast aae2b24a7f Fix 'unused private field' warnings 2019-08-18 19:53:01 +02:00
Gymnasiast bf1f14b441 Correct memcpy usage 2019-08-18 19:46:44 +02:00
Gymnasiast 26b2809175 Move extra padding to derived tile elements 2019-08-18 18:28:01 +02:00
Gymnasiast 169d2980ca Properly export tile elements to S6 2019-08-18 18:20:56 +02:00
Gymnasiast 18844f9244 Fix formatting [ci skip] 2019-08-18 14:36:16 +02:00
Gymnasiast 255ce3f62b Extend tile element size to 16 bytes 2019-08-18 14:03:36 +02:00
Ted John a094c5b0ce Create RCT2 version of ride rating calc data (#9751) 2019-08-18 12:53:56 +02:00
Gymnasiast 7919e91716 Update objects to v1.0.12 2019-08-18 11:59:56 +02:00
Gymnasiast f1ad9c4ec8 Fix doorsound of legacy object 2019-08-18 11:59:56 +02:00
duncanspumpkin 1ee2063cef Partial fix of #9533. Door sounds not playing
Will now look for correct field. But many json objects do not have this
field set correctly.
2019-08-18 09:34:34 +01:00
duncanspumpkin 486f13440f Fix #9875. Check for valid tile element before dereferencing 2019-08-17 11:06:19 +01:00
duncanspumpkin 748a6338a9 Fix #9885. Catch exceptions in track design writing 2019-08-17 10:59:36 +01:00
ζeh Matt 09f707ad8a Fix #9886: Object animations not working as multiplayer client (#9887) 2019-08-16 18:05:49 +01:00
Duncan f3c5c1b976 Merge pull request #9876 from duncanspumpkin/fix_track
Fix #9859. Actually keep the loading of a track design with try.
2019-08-15 21:45:52 +01:00
duncanspumpkin 9721b8a1bb Fix #9878. Prevent peeps from aimlessly wanderings/drowing when exiting rides.
Mistake made whilst refactoring
2019-08-15 20:24:01 +01:00
duncanspumpkin 5a611f49d6 Fix #9859. Actually keep the loading of a track design with try.
Mistake whilst implementing track desing importer and changing where code that could throw.
2019-08-15 20:13:39 +01:00
Duncan 3da62e4697 Refactor of Peep Update Action (#9793)
* Change the parameters of UpdateAction

* Use std::optional to make things a bit safer

* Use the core optional header to keep xcode happy
2019-08-15 18:32:19 +01:00
kennycastro007 9708e3a043 Fixed issue #8376 (#9866)
#8376: Added static function show_error in S6Importer.cpp
2019-08-15 16:02:03 +02:00
Ted John 495a756e66 Merge pull request #9872 from IntelOrca/object-download-source
Show the object download source when downloading object files
2019-08-14 16:20:45 +01:00
Ted John 634b254447 Print the URL of the object that it is downloading 2019-08-13 22:38:21 +01:00
Ted John 401ec9e19f Update backtrace token 2019-08-13 18:35:37 +01:00
Ted John 8f917a2590 Show the object download source when downloading object files 2019-08-13 18:32:32 +01:00
Ted John 42e1f35874 Fix #9864: Diagonal track cannot be built 2019-08-12 23:09:17 +01:00
Ted John ec55eb6374 Fix #9863: Excitement/Intensity factors of cars overflow 2019-08-12 17:54:12 +01:00
Ted John 056ebc23d6 Update title sequences to v0.1.2c (#9854) 2019-08-11 19:03:29 +01:00
Matt cc6321048f Refactor window_invalidate to use rct_window::Invalidate 2019-08-11 17:22:00 +02:00
Matt 2053ecb688 Refactor window_scroll_to_viewport to use rct_window::ScrollToViewport 2019-08-11 17:22:00 +02:00
Matt b046d45c01 Refactor window_set_location to use rct_window::SetLocation 2019-08-11 17:21:56 +02:00
Duncan c677a9681a Merge pull request #9840 from duncanspumpkin/fountian_refactor
Refactor fountain to use CoordsXY(Z)
2019-08-11 12:47:01 +01:00
duncanspumpkin d7a725f1d5 Refactor fountain to use CoordsXY(Z) 2019-08-11 07:21:07 +01:00
Ted John 68dc4d0fb8 Bump network version to deprecate recent bugged versions 2019-08-10 15:24:59 +01:00
Ted John d730a76809 Fix #9844: Guests can't enter park 2019-08-10 15:22:03 +01:00
Ted John 132a1916d6 Fix #9832: Access violation in ride_measurement_update (#9842)
We can not store a ride pointer in ride measurement as rides are now stored in a vector which means their addresses can change when rides are constructed / removed.
2019-08-10 15:14:22 +01:00
Ted John 60db202ea7 Return nullptr in get_sprite if out of range 2019-08-10 12:18:51 +01:00
duncanspumpkin 996cbdec02 Correctly input num_holes, inversions 2019-08-09 20:43:03 +01:00
duncanspumpkin d145f93c0b Clang format 2019-08-09 20:43:03 +01:00
duncanspumpkin 2e24dc1f00 Fix large scenery mirror rotation 2019-08-09 20:43:03 +01:00
duncanspumpkin af31404472 Use std::string and cleanup unused functions
Use CoordsXY for save pop scenery functions

Use CoordsXY for push save scenery functions

Further refactoring to use coordsxy and standard functions
2019-08-09 20:43:03 +01:00
duncanspumpkin e9b59064e0 Fix code and clang format. Delete dead code.
Use correct TD4 checksum for vanilla TD4's.

Simplified the code for version detection since checksum numbers do not match up to a version

Fix TD4 imports.

Oh yeah TD4 doesn't have scenery or entrances

Move track related structs to correct files
2019-08-09 20:43:02 +01:00
duncanspumpkin 54d6722bf2 Link everything together 2019-08-09 20:40:35 +01:00
duncanspumpkin 16022a8b57 Remove dead code 2019-08-09 20:39:54 +01:00