Commit Graph

19 Commits

Author SHA1 Message Date
Bob
738d293b48 Changed IsCloseEnoughToBase to take top-left position. 2010-01-18 14:22:38 +13:00
Bob
7913fcf75b removed "adjust" param to Tiles; position is now top-left always. 2010-01-18 14:17:46 +13:00
Bob
aac9a01c49 Removed an overload of Footprint.Tiles (see also next commit) 2010-01-18 14:14:15 +13:00
Chris Forbes
59c0791d93 renamed OpenRa.Game.* to OpenRa.*; a few other bits 2010-01-17 09:30:53 +13:00
Bob
4a004eda0f fixed Building.unitInfo 2010-01-12 20:18:36 +13:00
Chris Forbes
12b84a8468 finished building *Infos 2010-01-10 17:28:05 +13:00
Chris Forbes
2435e48a82 trimming 'using' crap 2009-12-05 14:23:59 +13:00
Chris Forbes
da84b66424 moved inner classes out of UnitInfo for brevity. added money-up and money-down sounds. added slow view of money changes, like real-ra. 2009-11-29 15:26:55 +13:00
Bob
c285f1d210 Cleaned up some casts. (BuildingInfo) 2009-11-14 02:57:52 +13:00
Chris Forbes
7acd327896 fix FACT space check on deploying mcv 2009-11-04 22:08:04 +13:00
Chris Forbes
ca65a5e2ca tidy 2009-10-26 23:17:59 +13:00
Chris Forbes
612490e5b8 boat spawn works now 2009-10-26 23:05:26 +13:00
Chris Forbes
dd8c70d3c2 fixing z-order; generalized the 1x1 placement fix to handle nx1 (which were ALL wrong) 2009-10-23 21:26:45 +13:00
Chris Forbes
b265eb6d08 fixes #38: wrong footprint / offset for 1x1 buildings 2009-10-23 21:18:07 +13:00
Bob
cfa56a791d Moved footprint info onto its building. 2009-10-20 23:55:57 +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
9ba0a632e2 Some parts of some buildings are pathable.
- not handling WEAP/FIX yet; that's special-case logic.
2009-10-13 19:11:32 +13:00
Chris Forbes
0f0b4230c7 local player buildings influence map, incrementally updated. 2009-10-13 18:13:22 +13:00
Chris Forbes
3e0432464b building footprints 2009-10-11 15:21:19 +13:00