Commit Graph

17173 Commits

Author SHA1 Message Date
Ted John adb5c3aa7f Fix assert when exiting game in scenario editor
The object selection window loads objects when it is closed which is triggered from window_close_all. We need to unload all the objects after this step on shutdown.
2019-08-23 20:15:53 +01:00
Ted John 6d80e65783 Increase the capacity of dynamic / object images 2019-08-23 20:14:05 +01:00
Ted John d5a1b4fc8f Fix #9920: Ghost pieces break maps on multiplayer for the client (#9928) 2019-08-23 21:05:00 +02:00
Michael Steenbeek 4cf1d1eb69
Fix #9905: Ride type dropdown shows wrong text (#9923) 2019-08-22 23:46:15 +02:00
Michael Steenbeek 4093480f83
Fix #9909: 'Build 10 roller coasters' objectives do not complete (#9922) 2019-08-22 23:08:11 +02:00
Michael Steenbeek af2ad8045c
Merge pull request #9914 from ZehMatt/refactor/gameaction-queue
Refactor network queue out and one desync fix
2019-08-22 12:07:19 +02:00
r0 9f6a944174 Fix #9603: Don't render audio when master volume is turned off (#9907) 2019-08-21 23:36:07 +02:00
Michael Steenbeek f56ec6776b
Merge pull request #9892 from IntelOrca/fix/4927-giant-screenshot-cropped
Fix #4927: Giant screenshot cut off at bottom and top
2019-08-21 22:14:08 +02:00
Ted John 2dda23d82e Refactor benchgfx 2019-08-21 20:12:26 +01:00
Ted John f4079434dc Fix #4927: Giant screenshot cut off at bottom and top 2019-08-21 20:11:06 +01:00
Duncan 066e6cc619
Merge pull request #9877 from ZehMatt/peep-cleanup
Cleanup some Peep/Guest/Staff code
2019-08-21 19:12:47 +01:00
Matt e0afefc6de
Add missing Invalidate calls 2019-08-21 12:31:05 +02:00
Matt 66793e664a
Refactor some unnecessary Invalidate calls and call member function if available 2019-08-21 12:08:19 +02:00
Matt c36591c81f
Bump up network version 2019-08-21 00:29:05 +02:00
Matt 3bdc3935dc
Use correct update order 2019-08-21 00:28:08 +02:00
Matt 8c9008825d
Remove remaining game command/game action code from network 2019-08-21 00:26:43 +02:00
Matt 4f7dab6f67
Fix desync because of incorrect tick data 2019-08-21 00:19:52 +02:00
Matt 769ed255f3
Refactor game action queue out of network into GameActions 2019-08-21 00:15:39 +02:00
Duncan 2f8dccbba2
Merge pull request #9867 from duncanspumpkin/refactor_map
Refactor map
2019-08-20 18:22:24 +01:00
ζeh Matt 9897572f55
Merge pull request #9912 from s0r00t/refactor/jobpool-avoid-redefine
Avoid redefining JobPool::AddTask
2019-08-20 10:54:20 +02:00
Duncan 917bff23ad
Merge pull request #9911 from duncanspumpkin/switch_yml
Make x64 build first to reduce chance of people choosing 32bit
2019-08-19 20:59:02 +01:00
duncanspumpkin 16fb7f10d6 Make x64 build first to reduce chance of people choosing 32bit 2019-08-19 20:51:22 +01:00
Michael Steenbeek bc1b4798e4
Merge pull request #9910 from Gymnasiast/more-tile-element-16-stuff
Small tile element cleanup
2019-08-19 21:26:45 +02:00
duncanspumpkin 4f157240aa Fix coordinate direction 2019-08-19 20:04:59 +01:00
duncanspumpkin f39905bd2e Clang format 2019-08-19 20:04:59 +01:00
duncanspumpkin 92f3e2de8b Pass by const reference where possible 2019-08-19 20:04:59 +01:00
duncanspumpkin 6c4031c323 Further clean up 2019-08-19 20:04:59 +01:00
duncanspumpkin 11aa41c4c4 Reduce the number of temporary variables 2019-08-19 20:04:59 +01:00
duncanspumpkin b77f15c4b7 Refactor map_get_highest_z to use CoordsXY 2019-08-19 20:04:59 +01:00
duncanspumpkin a3ad551d10 Refactor clear_elements_at to use CoordsXY 2019-08-19 20:04:58 +01:00
duncanspumpkin 9ef6c8d2b4 Remove coordinate_3d_to_2d. 2019-08-19 20:04:58 +01:00
duncanspumpkin 37de01a10d Replace coordiante_3d_to_2d with CoordsXYZ equivelent 2019-08-19 20:04:58 +01:00
duncanspumpkin 37ef48890f Move various to use CoordsXYZ funcs instead of LocationXYZ 2019-08-19 20:04:58 +01:00
duncanspumpkin 6da5eb9d30 Use coordsXYZ for audio_get_params_from_location 2019-08-19 20:04:58 +01:00
duncanspumpkin 5fe5f8e964 Refactor audio_play_sound_at_location to use CoordsXYZ 2019-08-19 20:04:58 +01:00
duncanspumpkin 927c8a4e85 Create ScreenCoords struct. Refactor 3d_to_2d again 2019-08-19 20:04:58 +01:00
duncanspumpkin 539ef5150a Refactor map_get_bounding_box to use maprange and remove duplicate code 2019-08-19 20:04:58 +01:00
duncanspumpkin 9472c6b1ed Remove duplicate code. Move translate_3d_to_2d to use CoordsXY 2019-08-19 20:04:58 +01:00
duncanspumpkin af39ff20af Refactor to use new inheritence and remove duplicate/redundant code 2019-08-19 20:04:58 +01:00
duncanspumpkin cd81c1b45b Make CoordsXYZ derive from CoordsXY 2019-08-19 20:04:58 +01:00
duncanspumpkin bc12618d46 Clang format 2019-08-19 20:04:57 +01:00
duncanspumpkin fb8c42f3c2 Fix #9557. Refactor map_is_location_at_edge and tile_element_insert 2019-08-19 20:04:57 +01:00
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