1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

13624 Commits

Author SHA1 Message Date
Michael Steenbeek
09ac8a0c59 Merge pull request #10540 from IntelOrca/fix/10496-non-eng-paths
Fix #10496: Game can't handle path with non-english string
2020-01-12 10:31:31 +01:00
Ted John
9562f42d91 Convert object filenames to UTF-8 when exporting 2020-01-11 23:59:38 +00:00
Michael Steenbeek
5e5752d49d Fix secondary prices being imported incorrectly from SV4 (#10543)
An oversight that has been present since the very first version of the SV4 import code.
2020-01-11 23:27:01 +01:00
Duncan
20223eb5fb Refactor update_sound_params to be member functions 2020-01-11 20:54:28 +01:00
Michael Steenbeek
44dc2068e7 Merge pull request #10515 from tupaschoal/use-more-coords-4
Use CoordsXY* on world/Footpath.cpp
2020-01-11 20:52:39 +01:00
Tulio Leao
c5ec4982a3 Use CoordsXY on footpath_chain_ride_queue() 2020-01-11 11:13:05 -03:00
Tulio Leao
57da25cab9 Use CoordsXYZD on footpath_is_connected_to_map_edge_recurse() 2020-01-11 11:13:05 -03:00
Tulio Leao
6189d13b2c Use CoordsXYZD on footpath_is_connected_to_map_edge() 2020-01-11 11:13:05 -03:00
Tulio Leao
301e0cfeb1 Use CoordsXYZ on footpath_remove_litter() 2020-01-11 11:13:05 -03:00
Tulio Leao
613dd41b53 Use CoordsXYZ on map_get_footpath_element_slope() 2020-01-11 11:13:05 -03:00
Tulio Leao
900a2fbd7b Use CoordsXYRangedZ on footpath_get_element() 2020-01-11 11:13:05 -03:00
Tulio Leao
8e0020e5a2 Use CoordsXYRangedZ for footpath_remove_edges_towards() 2020-01-11 11:13:05 -03:00
Tulio Leao
09e434bc19 Use CoordsXYZD on footpath_remove_edges_towards_here() 2020-01-11 11:13:05 -03:00
Tulio Leao
777898fd6c Use CoordsXY on footpath_reconnect_queue_to_path() 2020-01-11 11:13:05 -03:00
Tulio Leao
d8c8f2d804 Use CoordsXYZ on footpath_connect_corners_get_neighbour() 2020-01-11 11:13:04 -03:00
Tulio Leao
7cf03d3e41 Use CoordsXY on footpath_remove_edges_at() 2020-01-11 11:13:04 -03:00
Tulio Leao
2b1101d320 Use CoordsXYZ on footpath_interrupt_peeps() 2020-01-11 11:13:04 -03:00
Tulio Leao
9aad709d5c Use CoordsXY on footpath_disconnect_queue_from_path() 2020-01-11 11:13:04 -03:00
Tulio Leao
b829b22415 Use CoordsXYRangedZ on fence_in_the_way() 2020-01-11 11:13:01 -03:00
Tulio Leao
78611b664f Use CoordsXY on footpath_connect_corners() 2020-01-11 11:00:19 -03:00
Ted John
171969f5fb Fix #10496: Game can't handle path with non-english string 2020-01-11 00:43:00 +00:00
Tom Lankhorst
6f0ea7b3c2 Link stdc++fs with GCC (#10522) 2020-01-09 19:57:28 +01:00
Tom Lankhorst
2ff8a467c6 Find Jansson with pkg-config on non-MSVC. (#10521) 2020-01-09 19:56:25 +01:00
Tulio Leao
c470d84210 Fix #10524: Banners not placeable above certain height (#10528) 2020-01-06 15:10:38 +00:00
Michael Steenbeek
08ab15ef36 Fix #10313: Path furniture can be placed on level crossings 2020-01-05 17:59:02 +01:00
X123M3-256
5063cd2283 Fix line that causes build to fail on Mac (#10518) 2020-01-05 14:34:39 +01:00
Tulio Leao
e7ee8ebc03 Use CoordsXY on footpath_update_queue_entrance_banner() 2020-01-05 09:14:55 -03:00
Tulio Leao
482ca8765c Use CoordsXY on Footpath's loc_6A6D7E() and loc_6A6C85() 2020-01-05 09:14:51 -03:00
Tulio Leao
b1dc6ed6ed Use CoordsXY on footpath_connect_edges() 2020-01-05 08:20:16 -03:00
Michael Steenbeek
63da894257 Merge pull request #10511 from tupaschoal/improve-clear-at
Improve variable names in map_can_construct_with_clear_at() and use big Z
2020-01-04 19:57:46 +01:00
Michael Steenbeek
0c9b1cec96 Correct max vehicles per ride value (#10504)
* Correct max vehicles per ride value

* Fix formatting

* Fix constant usage in TrackDesign.cpp
2020-01-04 18:10:33 +01:00
Tulio Leao
d3579e472b Use Big Z coordinates for map_can_construct_with_clear_at() vars 2020-01-04 10:31:18 -03:00
Tulio Leao
dff747ce0f Improve variable names in map_can_construct_with_clear_at() 2020-01-04 10:27:57 -03:00
Tulio Leao
d861658669 Use CoordsXY on Scenery and SmallScenery (#10513) 2020-01-04 12:45:51 +01:00
Tulio Leao
c4a865384e Move Mac-only str handling functions to Platform (#10264) 2020-01-04 12:44:40 +01:00
Michael Steenbeek
e87607fa6d Merge pull request #10402 from NuclearFej/develop
Android: fix Gradle, CMake, asset copying; upgrade to AndroidX, fullscreen mode
2020-01-02 13:47:36 +01:00
Kevin Laframboise
13e946a239 Fix #10464: Incorrect error messages for track placement (#10494) 2020-01-02 08:11:24 +00:00
Duncan
f4440b57b7 Merge pull request #10488 from Gymnasiast/refactor/map_get_footpath_element
Refactor map_get_footpath_element() and fix #10486
2020-01-02 07:45:15 +00:00
NuclearFej
f35dd778e5 Android: enable fullscreen mode, raise min SDK
Fullscreen mode (sticky immersive) is enabled. The minimum SDK version was raised to 19 (4.4.2 KitKat, which is more than old enough) from 16 to enable this.

Additonally, deprecation compiler warnings were enabled.
2020-01-01 22:57:19 -05:00
Gymnasiast
5c0a62c31a Implement review requests 2020-01-01 23:03:41 +01:00
ζeh Matt
a7c1f1fcc4 Merge pull request #10490 from ZehMatt/fix-10489
Fix #10489: Hosts last action not being synchronized
2019-12-31 17:21:00 +01:00
Matt
ef4a3d0528 Fix #10489: Hosts last action not being synchronized 2019-12-31 10:34:33 +01:00
Michael Steenbeek
29922da871 Refactor calls to staff_is_patrol_area_set() 2019-12-31 10:10:40 +01:00
Gymnasiast
0d09a645fc Refactor map_get_footpath_element() and fix #10486 2019-12-31 10:08:36 +01:00
Kevin Strehl
37110f386d Add Keyboard Shortcuts to the Tile Inspector (#10430) 2019-12-31 09:34:38 +01:00
Duncan
c170926200 Refactor to prefer baseZ instead of height for big Z (#10478) 2019-12-31 09:33:27 +01:00
Duncan
c74339fed9 Fix #10477. Fix upper max height limit being very low for large scenery
Mistake made while improving mouse control when zoomed out caused the upper limit for multi tile scenery to be limited by the sum of all clearance z values instead of the greatest clearance z value.
2019-12-31 09:15:46 +01:00
Duncan
d486ac4d3b Reduce direct usage of LOCATION_NULL (#10480)
* Reduce direct usage of Location_Null

Ideally we want to refactor these out to use std::optional as much as possible but for now move to using the standard interfaces.

* Remove incorrect AND with LOCATION_NULL

In the original this was a simple comparison to check for negative. Unsure how it ended up as an AND with the negative bit.
2019-12-31 09:01:17 +01:00
Gymnasiast
1133a8c81c Remove sLocationXY8 2019-12-30 23:03:13 +01:00
Duncan
2c359736ee Refactor to reduce usage of LocationXY8 and sLocationXY8 (#10479)
* Refactor to reduce LocationXY8 usage

* Further reduction of LocationXY usage and sLocationXY usage

* Reduce sLocationXY8 usage
2019-12-30 19:03:34 +00:00