Commit Graph

46 Commits

Author SHA1 Message Date
Paul Chote
6821238710 Extendable palette definitions. Contains many regressions, bugs and general hacks 2010-02-05 11:02:41 +13:00
Chris Forbes
2e01e9f08f removing dead crap 2010-01-30 11:26:35 +13:00
Bob
206e4fb558 BIM/UIM become traits on World; Added World.WorldActor 2010-01-29 19:57:41 +13:00
Bob
b3911db149 more refs to Game.world (UIOverlay) 2010-01-21 13:52:31 +13:00
Bob
d07b782044 moved Game.players, LocalPlayer, localPlayerIndex to World. Setting LocalPlayer via settings is broken. 2010-01-21 13:05:13 +13:00
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
Bob
ab1abee843 moved helper functions out of Game, into WorldUtils 2010-01-18 02:46:22 +13:00
Bob
e792c9ce17 moved BIM/UIM to World, and added World.CreateActor 2010-01-17 12:54:01 +13:00
Bob
1ec3ee60eb moving Map, TileSet from Rules to World 2010-01-17 12:18:26 +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
5e21f6393b more 2009-12-28 09:33:56 +13:00
Paul Chote
4667679f12 Intermediate crushable-behavior checkin; Muliple units per cell in UIM; Crushable TraitInterface; Crushable units are taken into account in pathfinding; Crashes when trying to crush a unit 2009-12-22 22:37:11 -08:00
Chris Forbes
c171185034 trimming fat; own files; etc 2009-12-05 11:56:16 +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
732f3c6c63 TileSet and Map are now in Rules, not Game 2009-11-19 17:08:23 +13:00
Bob
c0fe3fa4c9 [More whitespace fixes] 2009-11-19 15:18:13 +13:00
Chris Forbes
25e1d9a0a1 can build again 2009-11-18 19:16:06 +13:00
Chris Forbes
a812963b8e removed voronoi crap 2009-11-18 18:44:09 +13:00
Bob
5e3f2aa861 IOrderGenerator now renders itself (Removed various cast and is fails.). - Fixed silly bug in prev. 2009-11-14 03:09:27 +13:00
Bob
c285f1d210 Cleaned up some casts. (BuildingInfo) 2009-11-14 02:57:52 +13:00
Chris Forbes
8ae3c04212 fixes #79 2009-11-08 14:00:02 +13:00
Bob
0251cb3e1c Gems don't grow. 2009-11-04 20:28:04 +13:00
Chris Forbes
a9126fc9ce bdebug=true will show appropriate influence for current building 2009-11-04 18:18:17 +13:00
Chris Forbes
dbef9e4a45 killed PrepareOverlay 2009-10-31 23:24:39 +13:00
Bob
cc1be5b31c Perf fixes for low unit-counts. Added sanity checks - not enabled by default. 2009-10-28 19:43:04 +13:00
Chris Forbes
6d1826245f unit movement debug overlay + working blocking. still needs repath in some cases. 2009-10-26 14:06:06 +13:00
Chris Forbes
7d6e254983 clipped voronoi regions for ground control; buildings cannot be placed outside of ground control anymore 2009-10-23 20:10:28 +13:00
Chris Forbes
b73e5a62bb water-bound structures can now be placed only in water 2009-10-22 23:24:55 +13:00
Bob
cfa56a791d Moved footprint info onto its building. 2009-10-20 23:55:57 +13:00
Chris Forbes
6c0ced3e9a cleaning techtree & sidebar; building placement is mostly fixed 2009-10-20 22:35:05 +13:00
Chris Forbes
a4c344523f pushed bibs down into the smudge layer; made Game static 2009-10-20 20:47:04 +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
Chris Forbes
0f0b4230c7 local player buildings influence map, incrementally updated. 2009-10-13 18:13:22 +13:00
Chris Forbes
711b419ed0 untangling a few things 2009-10-12 21:23:09 +13:00
Chris Forbes
3e0432464b building footprints 2009-10-11 15:21:19 +13:00
Chris Forbes
cdf56c278f fixed broken UiOverlay 2009-10-11 10:54:09 +13:00
Chris Forbes
f8309b79f4 show building in sea as invalid, etc 2009-10-09 22:52:25 +13:00
chrisf
b594f296c3 slowly teasing the view+controller out of the model classes.
actually doesn't work right now, but that will change.

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2050 993157c7-ee19-0410-b2c4-bb4e9862e678
2008-07-25 07:27:47 +00: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
(no author)
07c0a9f40f git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1345 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 10:40:47 +00:00
(no author)
60e6f36042 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1343 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 10:04:54 +00:00
(no author)
fce2dcda8a git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1342 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 09:42:01 +00:00