Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: Replace SurfaceHeightFacet with SurfacesFacet and ElevationFacet #167

Closed 4Denthusiast closed 4 years ago

4Denthusiast commented 4 years ago

Update for https://github.com/MovingBlocks/Terasology/pull/4237.

Mostly this is just a straightforward replacement of the occurrences of SurfaceHeightFacet. In a few places it was listed as required but wasn't actually used, and the CoreWorlds PR for this update changed the ground rasteriser so blocks whose heights are exactly the elevation value are air, so the elevation had to be increased slightly to compensate.