Commit Graph

9 Commits

Author SHA1 Message Date
Bob
8580ae0f78 Moved our TerrainRender ref into WorldRenderer; TR.tileSet want to be somewhere else (it's not just renderer, it affects pathing) 2009-10-30 00:19:53 +13:00
Chris Forbes
db7b653daf re-enabling my terrain renderer line optimization 2009-10-29 22:19:31 +13:00
Bob
be39cdd054 map.Offset is no long necessary in so many places. (removed BS where world-coords != map-coords) 2009-10-29 22:10:54 +13:00
Chris Forbes
9a9452c3fa what a hack, but the cursors work and the terrain doesnt break anymore 2009-10-15 19:15:40 +13:00
Matthew Bowra-Dean
fe78e22747 Fixed the building placement to have the cursor in the centre. Replaced magic numbers with Game.CellSize
Using the building footprint, the placement overlay is offset from the cursor so the cursor is in the approximate middle of the overlay (not precisely due to overlay snapping to tiles). The tile size (24) was used as a magic number in a lot of places, they have been replaced with Game.CellSize.
2009-10-15 03:16:44 +13:00
Bob
b880f7d1bc Overlay rendering
- also, sequences for HBOX and PBOX
2009-10-10 21:23:33 +13:00
Chris Forbes
2e4279664f line rendering - selection box!! 2009-10-08 21:53:59 +13:00
Chris Forbes
108d799b29 unsnarled the input a bit 2009-10-06 22:03:24 +13:00
chrisf
4ea033f63d git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2049 993157c7-ee19-0410-b2c4-bb4e9862e678 2008-07-20 20:06:19 +00:00