Commit Graph

17275 Commits

Author SHA1 Message Date
Gymnasiast db5c018e22
Add requested check 2019-10-03 22:26:08 +02:00
crorvig 7f54ba0be7
Set BuildInPauseMode to true during map_remove_out_of_range_elements()
Set BuildInPauseMode to true during map_remove_out_of_range_elements()
2019-10-03 22:26:08 +02:00
crorvig ed1dfa39c2
Fix #9955 Allow resizing of map in pause mode
Prevents infinite loop by forcing BuildInPauseMode on for the duration
of the map_remove_out_of_range_elements() call.
2019-10-03 22:26:08 +02:00
ζeh Matt a39bd39268 Fix #10036: Do not allocate large chunks of memory for save file classification (#10040) 2019-10-03 17:36:58 +02:00
Krutonium 272fc929d1 Add a bit more explanation to build instructions 2019-10-03 17:36:30 +02:00
ζeh Matt 0b95dcd0d0 Fix #8584: Duck spawn search now uses entire map (#9743) 2019-10-02 22:14:56 +02:00
Ted John 15767c3be3 Fix output result of remove_unused_objects (#10029) 2019-10-01 22:30:11 +02:00
Michael Steenbeek a63395eb1c
Fix #10028: Saved park--brakes all set to 0mph 2019-09-29 22:53:41 +02:00
aw20368 ff1698bcb9 Improve #9987: Minimum load rounding (#9987)
Refactor code for vehicles waiting for a specific load level.
Original code rounded the target load down, changed to round up.
2019-09-28 20:51:13 +02:00
ζeh Matt b82d1bbc64 Fix #10015: Crash when certain images are drawn (#10016) 2019-09-23 22:37:28 +02:00
ζeh Matt b2a42de579 Fix ghost elements influencing ride excitement 2019-09-23 22:36:51 +02:00
Jan Beich a5555649ec network: unbreak build with Clang 9 (#10014)
ld: error: libopenrct2.a(Network.cpp.o): unable to find library from dependent library specifier: Ws2_32.lib
2019-09-23 17:14:57 +02:00
Tulio Leao 2e9cf80be9 Update contributors.md [ci skip] 2019-09-23 09:41:05 +02:00
Michael Steenbeek 48edea2a67
Merge pull request #10011 from Gymnasiast/fix/9970-b
Cherry-pick fix from #9987
2019-09-22 23:12:59 +02:00
Gymnasiast 856075a781
Bump network version and amend changelog 2019-09-22 23:07:57 +02:00
aw20368 3f10811426
Fix #9970: Wait for quarter load fails
Vehicle was always incorrectly flagged as ready to depart when quarter load is selected. Removed erroneous flag.
2019-09-22 23:06:54 +02:00
Michael Steenbeek 5e1d14f061
Merge pull request #9939 from IntelOrca/refactor/image-id
Create new ImageId struct
2019-09-22 17:07:49 +02:00
Michael Steenbeek a5700a3d07
Merge pull request #9959 from richard-fine/directions
Convert more code to use proper Direction symbols
2019-09-22 16:59:41 +02:00
gill984 565ad3798d Fix #9957: Guests complain about running out of money in no money parks 2019-09-22 16:52:53 +02:00
Joseph Atkins-Turkish 2e5f46fcf1 Fix raise/lowering water at edge of map (#9979) 2019-09-22 14:13:52 +02:00
Michael Steenbeek a11762b11a
Remove old C functions that only call their equivalent
* Remove old C functions that only call their equivalent

* fix formatting
2019-09-22 14:12:49 +02:00
OpenRCT2 git bot 366c13e8fe Merge Localisation/master into OpenRCT2/develop. 2019-09-20 04:00:16 +00:00
Duncan b94b8880aa Fix ride station index related bugs 2019-09-19 22:56:54 +02:00
Joseph Atkins-Turkish 747e00512d Fix #7572: Queue paths connect to regular paths through fences 2019-09-18 23:31:29 +02:00
Michael Steenbeek ce41b8f793
Add #9902 to changelog [ci skip] 2019-09-18 23:27:31 +02:00
Peter 650142de9b Fix #9902: Doors and portcullises can be double opened 2019-09-18 23:26:33 +02:00
Joseph Atkins-Turkish 6b21aac4ea Fix #9675: Inconsistent number of guest entry points (#9990) 2019-09-15 18:57:21 +02:00
Duncan 1efc774483
Merge pull request #9981 from Gymnasiast/fix/9978
Fix #9978: Mazes are imported incorrectly
2019-09-14 07:36:08 +01:00
Gymnasiast 0aca04256b
Fix #9978: Mazes are imported incorrectly 2019-09-12 23:12:54 +02:00
Michael Steenbeek 4424964686
Fix #9975 and #9976: Crash when removing LargeScenery with null element (#9977) 2019-09-10 21:03:22 +02:00
ζeh Matt afda556e86
Merge pull request #9915 from ZehMatt/audio-music-limit
#1349: Increase the number of ride music played simultaneously to 32
2019-09-10 13:02:29 +02:00
Gymnasiast 673b12029e
Bump network version 2019-09-09 23:07:46 +02:00
Michael Steenbeek d314782a40
Merge pull request #9952 from Gymnasiast/refactor/use-that-space
Refactor/use that space
2019-09-09 19:05:50 +02:00
Ted John f4ed0046fe
Merge pull request #9972 from IntelOrca/fix/backtrace-reports
Fix some backtrace reports
2019-09-08 14:44:54 +01:00
Ted John fc679c9105 Fix #9956: invalid-read in window_ride_main_open 2019-09-08 13:55:02 +01:00
Ted John 7b7d3ec5e3 Fix #9971: invalid-read in place_virtual_track 2019-09-08 13:45:56 +01:00
OpenRCT2 git bot 1d6e4d7180 Merge Localisation/master into OpenRCT2/develop. 2019-09-04 04:00:16 +00:00
OpenRCT2 git bot 9d9baaaaac Merge Localisation/master into OpenRCT2/develop. 2019-09-03 04:00:15 +00:00
OpenRCT2 git bot dfdcca51bb Merge Localisation/master into OpenRCT2/develop. 2019-09-02 04:00:16 +00:00
Richard Fine 92f50efedc Formatting fixes 2019-09-01 19:10:27 +01:00
Richard Fine 31ce0f20f7 Use range-based for loops for checking all directions 2019-09-01 18:40:28 +01:00
Richard Fine 3131bfdc74 Use INVALID_DIRECTION in a bunch of places 2019-09-01 18:40:24 +01:00
Richard Fine bf3461e014 Restrict FootpathPlaceAction more correctly
direction_valid() restricts the direction to 0-3, not 0-15. As discussed on Gitter, this is more correct.
2019-09-01 18:40:21 +01:00
Richard Fine caa6ad71c7 Add direction_next and direction_prev helpers 2019-09-01 18:40:17 +01:00
Richard Fine 9123fa74d3 Add ALL_DIRECTIONS array 2019-09-01 18:40:14 +01:00
Richard Fine 0e04dbeea1 Allow SwapBE to swap non-uint types
If we want to have more semantically meaningful types (like Direction), it's useful to be able to support those in the DataSerializer too. Swapping bytes for entire structures is probably never going to make sense, but for types that are pure wrappers around integer types, we want to be able to swap them as if they were the integer they wrap.
2019-09-01 18:40:11 +01:00
Richard Fine 5ff78e48c7 Reduce usage of GetDirectionWithOffset()
GetDirectionWithOffset(2) is the same thing as 'direction_reverse(GetDirection())', and the latter is more readable.
2019-09-01 18:40:08 +01:00
Richard Fine 6449393d50 Use Direction type in a bunch of the pathfinding code 2019-09-01 18:38:03 +01:00
Richard Fine 06b2f66ba1 Use Direction type for peep::direction 2019-09-01 16:08:01 +01:00
Richard Fine 52b4717d85 Use Direction type for PathElement SlopeDirection 2019-09-01 16:08:01 +01:00