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

13691 Commits

Author SHA1 Message Date
Aaron van Geffen
1d7bec8a11 Make the virtual floor optional, on by default. 2018-01-11 10:37:40 +01:00
Aaron van Geffen
0fc596d758 Add changelog entry; add JeroenDStout to contributors.
[ci skip]
2018-01-11 10:37:40 +01:00
Aaron van Geffen
0527f50c7f Take previous virtual floor area into account when invalidating. 2018-01-11 10:37:40 +01:00
Aaron van Geffen
87ad60be31 Adjust virtual floor height by path construction direction. 2018-01-11 10:37:40 +01:00
Richard Jenkins
9e5502afe3 Enable virtual floor for paths 2018-01-11 10:37:40 +01:00
Aaron van Geffen
cccaab37fe Fix track height computation for non-track rides. 2018-01-11 10:37:40 +01:00
Michael Steenbeek
a410872fec Move VirtualFloor.cpp to the paint folder and fix Xcode project 2018-01-11 10:37:40 +01:00
Aaron van Geffen
c835832e79 Compile the virtual floor code as C++.
Add a proper header file for the virtual floor in the process.
2018-01-11 10:37:40 +01:00
Aaron van Geffen
84026529b4 Introduce new variable gMapVirtualFloorVisible to determine visibility.
This addresses compilation issues for projects that contain no UI code.
Also working towards better invalidation for the software renderer.
2018-01-11 10:37:40 +01:00
Aaron van Geffen
4246b84130 Invalidate virtual floor once selection has changed.
Cache the position of the last invalidate call to prevent a big dip in performance.
2018-01-11 10:37:40 +01:00
Jeroen D Stout
fb745d1575 Implement invalidate virtual floor tiles function 2018-01-11 10:37:40 +01:00
Jeroen D Stout
dd2e69cf7a Place virtual floor at the effective z-position when placing track pieces 2018-01-11 10:37:40 +01:00
Michał Janiszewski
c031f6c5fa Don't reference virtual floor from testpaint 2018-01-11 10:37:40 +01:00
Jeroen D Stout
ea37c599e3 Let virtual floor set height function take visibility into account 2018-01-11 10:37:40 +01:00
Jeroen D Stout
3516cb944c Correct check for virtual floor in map 2018-01-11 10:37:40 +01:00
Jeroen D Stout
c8785bac55 Add virtual floor removal check to input 2018-01-11 10:37:40 +01:00
Jeroen D Stout
4354aae958 Correct the handling of edges 2018-01-11 10:37:40 +01:00
Jeroen D Stout
e4b53dc68a Add more generic virtual floor tile check 2018-01-11 10:37:40 +01:00
Jeroen D Stout
d31a911725 Add remove virtual function and clarify invalidate todo 2018-01-11 10:37:40 +01:00
Jeroen D Stout
c8e63de802 Refactor tile property checks and code conventions 2018-01-11 10:37:40 +01:00
Jeroen D Stout
8e8dc89068 Improve floor visuals with glassy transparent surface 2018-01-11 10:37:40 +01:00
Jeroen D Stout
b9faed7437 Mark being inside a piece of sloped terrain as being occupied 2018-01-11 10:37:40 +01:00
Jeroen D Stout
d00a282c1c Add optimised edge sprites 2018-01-11 10:37:40 +01:00
Jeroen D Stout
cee9129601 Improve visual quality of virtual floor 2018-01-11 10:37:40 +01:00
Jeroen D Stout
0268be92cb Prevent ride construction from setting tiles when scenery tool is active 2018-01-11 10:37:40 +01:00
Jeroen D Stout
58321ec2cd Fix underground check for sloped surfaces / clipping improvement 2018-01-11 10:37:40 +01:00
Jeroen D Stout
79fa16138a Move virtual_floor_paint to own file / add edge highlighting 2018-01-11 10:37:40 +01:00
Jeroen D Stout
d67aba09ad Make placing scenery set virtual floor height 2018-01-11 10:37:40 +01:00
Jeroen D Stout
2849561eb6 Make ride editing set virtual floor height 2018-01-11 10:37:40 +01:00
Jeroen D Stout
128cff60db Add virtual floor painting functions. 2018-01-11 10:37:40 +01:00
Michał Janiszewski
19d35e6898 MSVC fixes pt 5 2018-01-11 09:30:09 +01:00
Michał Janiszewski
f50ce343a2 MSVC fixes pt 4 2018-01-11 09:30:09 +01:00
Michał Janiszewski
96744fdaad MSVC fixes pt 3 2018-01-11 09:30:09 +01:00
Michał Janiszewski
6cdf3db245 MSVC fixes pt 2 2018-01-11 09:30:09 +01:00
Michael Steenbeek
241d583811 Fix Xcode project 2018-01-11 09:30:09 +01:00
Michał Janiszewski
5e72d7423a Update testpaint 2018-01-11 09:30:09 +01:00
Michał Janiszewski
eba2119a81 Update testpaint 2018-01-11 09:30:09 +01:00
Michał Janiszewski
469e142c7b Change casing of header files 2018-01-11 09:30:09 +01:00
Michał Janiszewski
156ecb7277 MSVC fixes pt 1 2018-01-11 09:30:09 +01:00
Michał Janiszewski
f1fa9f7106 Format TrackPaint.cpp 2018-01-11 09:30:09 +01:00
Michał Janiszewski
a9767c801e Clang-format guards 2018-01-11 09:30:09 +01:00
Michał Janiszewski
70505f4fa0 Refactor track_paint to C++ 2018-01-11 09:30:09 +01:00
Michał Janiszewski
82dfde4419 Refactor ride_data to C++ 2018-01-11 09:30:09 +01:00
Michał Janiszewski
5a8cfb16c8 Clang-format guards for static data
This guards most of the hardcoded data from clang-format.

[ci skip]
2018-01-11 09:19:56 +01:00
OpenRCT2 git bot
fbb8185284 Merge Localisation/master into OpenRCT2/develop. 2018-01-11 04:00:32 +00:00
Michał Janiszewski
6a65f791b6 Add const to arguments 2018-01-10 23:58:57 +01:00
Gymnasiast
ce9a72a4e9 Fix export of invented scenery items 2018-01-10 23:24:10 +01:00
Gymnasiast
9f8e3240d3 Fix #6992: Crash when hovering over an RCT1 track design in Track Manager 2018-01-10 21:20:46 +01:00
Gymnasiast
8fb0046136 Fix #6990: Scenery not correctly marked as available 2018-01-10 20:29:20 +01:00
Michael Steenbeek
ddd8479827 Move some research logic out of the Inventions window 2018-01-10 16:31:13 +01:00