1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

17098 Commits

Author SHA1 Message Date
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
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
Michał Janiszewski
209c6d0513 Make replays only downloadable when configured with tests (#9868) 2019-08-13 21:04:08 +02: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
ζeh Matt
0a5777f11a Merge pull request #9791 from ZehMatt/replays-v0.0.3
Update replays to v0.0.4
2019-08-12 19:24:49 +02:00
Ted John
ec55eb6374 Fix #9863: Excitement/Intensity factors of cars overflow 2019-08-12 17:54:12 +01:00
Matt
45452ad2c8 Run replay tests with network disabled 2019-08-12 18:04:08 +02:00
Matt
51eb86aed9 Update replays to v0.0.4 2019-08-12 01:40:12 +02:00
Ted John
056ebc23d6 Update title sequences to v0.1.2c (#9854) 2019-08-11 19:03:29 +01:00
ζeh Matt
3bb6f746d2 Merge pull request #9426 from ZehMatt/refactor/windows
Refactor windows code
2019-08-11 20:00:12 +02:00
Andrew Rimpici
e0f2e43c36 Added file to Xcode project. 2019-08-11 17:22:00 +02: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
Duncan
77d813f0f1 Merge pull request #9103 from duncanspumpkin/trackImporter
Track importer/exporter
2019-08-10 07:19:17 +01:00
Andrew
04159a92b6 Update contributors.md 2019-08-09 20:43:03 +01:00
Andrew Rimpici
bc36ee973c Xcode fixes for macOS support
Added in Duncan's files to the xcode project so the project builds correctly on Mac.
2019-08-09 20:43:03 +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
duncanspumpkin
02d552e048 Create td4 importer 2019-08-09 20:39:54 +01:00
duncanspumpkin
af92dcba3e Creating t6 exporter 2019-08-09 20:39:54 +01:00
duncanspumpkin
e3c63b762e Create new TrackDesign format 2019-08-09 20:39:53 +01:00
Ted John
f87b97cda4 Fix formatting 2019-08-09 19:03:59 +01:00
Ted John
6dcedf7f57 Fix #9813: Crashes on loaded save game
Because ride bool array was not passed by reference, game though all rides had no track and reset their type on export.
2019-08-09 18:39:47 +01:00
Ted John
60060480c2 Fix #9826: NRE in ride_construct 2019-08-09 18:29:34 +01:00
Ted John
9954f0b725 Add nullptr checks for more instances of get_ride (#9819) 2019-08-09 14:20:59 +01:00
Ted John
93789b9034 Add nullptr checks for get_ride in libopenrct2ui (#9795) 2019-08-09 08:06:25 +01:00
Ted John
ab7b17fc4e Add nullptr checks for get_ride in libopenrct2 (#9788) 2019-08-08 22:58:56 +01:00
ζeh Matt
df4e412826 Fix #9762: Update network logic also from title screen (#9773) 2019-08-08 16:49:30 +01:00
Ted John
7fd4fd0c2a Fix #9179: Crash when modifying a ride occasionally (#9756)
Add lots of nullptr and tile element checks in the ride_modify call chain.
2019-08-08 12:59:06 +01:00
Ted John
08677a3322 Fix #9761: invalid read in ride_measurement_update 2019-08-08 12:55:14 +01:00
Ted John
53f228fc33 Fix #9769: NRE in sub_6A4101 2019-08-08 12:45:17 +01:00
Ted John
f7c86debe3 Fix #9767: NRE in window_tile_inspector_paint 2019-08-08 12:42:09 +01:00
Ted John
379047cf43 Fix #9765: NRE in news_item_get_subject_location 2019-08-08 12:39:10 +01:00