Commit Graph

6 Commits

Author SHA1 Message Date
Paul Chote
e8794032e0 Introduce initial PPos plumbing.
PPos is best thought of as a cell grid applied in
screen space.  Multiple cells with different
terrain heights may be projected to the same PPos,
or to multiple PPos if they do not align with the
screen grid.

PPos coordinates are used primarily for map edge
checks and shroud / visibility queries.
2015-07-27 19:34:49 +01:00
Paul Chote
971d1c1388 Fix a NRE in TerrainSpriteLayer. 2015-07-06 19:54:44 +01:00
Paul Chote
f93ad2a9c1 Expose TerrainSpriteLayer.Sheet and BlendMode. 2015-07-06 19:54:43 +01:00
Paul Chote
2156a234db Render shroud outside map bounds.
Fixes a regression from #8337.
2015-06-15 18:06:43 +01:00
Paul Chote
486bf14669 Relax screen clipping bounds.
Fixes missing tiles in TS.
2015-06-11 21:27:33 +01:00
Paul Chote
629f877032 Extract terrain vertex buffer into a reusable class. 2015-05-29 19:06:11 +01:00