Commit Graph

17054 Commits

Author SHA1 Message Date
ζ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
Ted John 2cfad1fc66 Fix #9764: NRE in ride_entrance_exit_paint 2019-08-08 12:37:53 +01:00
Ted John 601780722f Fix #9760: NRE in ride_ratings_begin_proximity_loop 2019-08-08 12:36:12 +01:00
Duncan 659b4d8f9f
Clean up some litter in the codebase (#9753)
13CA740 and 141F568 have been doing mostly nothing since the game action refacotr. Before that they didn't do much as I've never found any instance where the code was hit.
2019-08-08 06:05:58 +01:00
Duncan 75210ef3e2
Merge pull request #9742 from duncanspumpkin/fix_9729
Fix 9729
2019-08-08 06:02:08 +01:00
ζeh Matt 12854d8743
Merge pull request #9731 from ZehMatt/fix-9666
Fix #9666: pause server if no clients are connected
2019-08-08 01:31:43 +02:00
Ted John cbb1bf9289 Fix #9752: window_close from ride construction window causes a crash
Re-obtain iterator after calling window close event as close event may open / close other windows.
2019-08-07 23:20:50 +01:00
Ted John b17e9b1b18 Fix #9755: Crash when importing ride measurement for null ride 2019-08-07 23:11:11 +01:00
Ted John 746d784b0e Fix placing track designs when ride 0 is not allocated 2019-08-07 21:25:28 +01:00
Ted John cd4eb86a7c
Merge pull request #9725 from IntelOrca/refactor/ride-manager
Refactor ride list
2019-08-07 21:03:17 +01:00
duncanspumpkin ad06491d21 Abstract the common score generator 2019-08-07 20:35:20 +01:00
Ted John 16a2046032 Fix #9745: CJK characters are broken in ride names 2019-08-07 12:34:05 +01:00
duncanspumpkin 2557e373db Increment network version 2019-08-06 21:29:08 +01:00
duncanspumpkin 8ba5b43636 Fix #9729. Change peep pathfinding to take entrance height into account
When choosing which entrance to head to peeps would not take into account the height difference between the locations. This caused peeps to choose badly especially when useing lift transport rides.
2019-08-06 21:28:34 +01:00
ζeh Matt 18e35c1c98
Merge pull request #9740 from ZehMatt/mp/saveprompt-pause
Do not pause the game during save/load prompt in networked mode
2019-08-06 19:44:49 +02:00
ζeh Matt dac99b5a13
Merge pull request #9738 from ZehMatt/fix-9727
Fix #9727: Crash when multiple windows are closed during close events
2019-08-06 19:44:23 +02:00
ζeh Matt 1ec1c38882
Merge pull request #9737 from ZehMatt/fix-9730
Fix #9730: Ghost footpath not getting removed
2019-08-06 19:44:02 +02:00
Matt aaeb64888f
Do not pause the game during save/load prompt in networked mode 2019-08-06 18:01:31 +02:00
Matt 4f6dbd6496
Fix #9727: Crash when multiple windows are closed during close events 2019-08-06 17:08:10 +02:00
Matt 180e50b0ad
Fix #9730: Ghost footpath not getting removed 2019-08-06 16:29:09 +02:00
Matt 8670385505
Bump up network version 2019-08-06 00:49:37 +02:00
Matt 01de097ef0
Fix #9666: pause server if no clients are connected 2019-08-06 00:49:37 +02:00
Duncan 2fd91fd8ef
Merge pull request #9531 from 0Cufox0/CoordsXY(ZD)
refactor CoordsXY(ZD)
2019-08-05 21:33:52 +01:00
duncanspumpkin e3d79e7600 Increment network version 2019-08-05 20:20:24 +01:00
0cufox0 b4e0df2e5f Fix review issues and formatting 2019-08-05 20:19:57 +01:00
0cufox0 8e33619b63 Refactor LargeSceneryRemoveAction 2019-08-05 20:18:01 +01:00
0cufox0 a2189135c5 Refactor MazeSetTrackAction 2019-08-05 20:18:01 +01:00
0cufox0 058b749607 Refactor PlaceParkEntranceAction 2019-08-05 20:18:01 +01:00
0cufox0 2311501de1 Refactor RideSetColourSchemeAction 2019-08-05 20:18:01 +01:00
0cufox0 5cd8541a1c Refactor smalSceneryRemoveAction 2019-08-05 20:17:57 +01:00
0cufox0 0320f195e3 refactor wallRemoveAction 2019-08-05 19:52:47 +01:00
ζeh Matt 7730b35d82
Merge pull request #9571 from ZehMatt/replay-cleanup
Replay cleanup
2019-08-05 18:31:03 +02:00
Ted John cbc74a3c51 Fix GetOrAllocateRide 2019-08-04 20:44:11 +01:00
Ted John f49447bed5 Fix compile errors 2019-08-04 17:47:16 +01:00
Ted John a57a4f2059 Fix #9724: Park/Ride entrance/exit sign's colour is weird 2019-08-04 17:04:12 +01:00
Ted John 8022211112 Refactor guest ride consideration 2019-08-04 16:44:17 +01:00
Ted John a863c7ae50 Remove rest of FOR_ALL_RIDES instances 2019-08-04 16:44:17 +01:00
Ted John e23638548a Reduce use of MAX_RIDES and RIDE_TYPE_NULL 2019-08-04 16:44:17 +01:00
Ted John 414b53b56d Remove ride classifications 2019-08-04 16:43:50 +01:00
Ted John a3fe00f0a3 Refactor ride list to a manager with iterator 2019-08-04 16:43:50 +01:00
Michael Steenbeek 073e4b0ccc
Fix #7690: Problem with guests freezing on certain tiles of path (#9723) 2019-08-04 17:19:40 +02:00
Ted John c3234b1442 Refactor map animations and dynamically create on park load (#9705) 2019-08-03 22:18:33 +02:00
Ted John 1a6e5b5548 Fix #9680: invalid-read in ride_entry_get_supported_track_pieces (#9681) 2019-08-03 19:55:24 +02:00
Ted John a8f4db7b4b Fix #9717: Scroll bars do not render correctly when using OpenGL renderer 2019-08-03 11:02:44 +01:00
Ted John b7121553b4 Fix #9715: large scenery banners have incorrect colour and scrolling (#9716) 2019-08-02 21:18:42 +02:00