Commit Graph

16 Commits

Author SHA1 Message Date
Chris Forbes
dc7c6d5cd6 minimap: add support for sprite scaling to SpriteRenderer/Graphics.Util 2010-01-05 13:52:09 +13:00
Chris Forbes
2435e48a82 trimming 'using' crap 2009-12-05 14:23:59 +13:00
Chris Forbes
9860b35030 unitinfo.InitialFacing etc 2009-11-29 14:56:09 +13:00
Bob
c7e95c71b2 - SheetSize is configurable. - TerrainRenderer gets to load it's sprites first, meaning we need one less texture. 2009-11-23 18:53:01 +13:00
Bob
732f3c6c63 TileSet and Map are now in Rules, not Game 2009-11-19 17:08:23 +13:00
Bob
a17296ff8a [Fixing indentation] 2009-11-19 15:02:04 +13:00
Chris Forbes
35f00cbc54 new chrome stuff 2009-11-15 20:28:49 +13:00
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