Commit Graph

59 Commits

Author SHA1 Message Date
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
74ebdc5f93 sound works 2009-10-14 10:35:24 +13:00
Matthew Bowra-Dean
2709118d48 Fixed building placement input behaviour. 2009-10-13 23:40:23 +13:00
Matthew Bowra-Dean
99ad09ddc2 Support for Dune II SHP files used for cursors in Red Alert. 2009-10-12 09:45:15 +13:00
Chris Forbes
3e0432464b building footprints 2009-10-11 15:21:19 +13:00
Chris Forbes
964888659d Merge branch 'master' of git://github.com/beedee/OpenRA 2009-10-10 21:30:56 +13:00
Chris Forbes
0f94af763a fix selection of phantom units, etc 2009-10-10 21:30:47 +13:00
Bob
b880f7d1bc Overlay rendering
- also, sequences for HBOX and PBOX
2009-10-10 21:23:33 +13:00
Bob
3181b055aa Trait-based units. Any unit/building without sequences will cause a crash when built. 2009-10-10 00:31:16 +13:00
Bob
a08bcd9a17 IOrderGenerator can produce multiple orders (or none) 2009-10-09 23:02:54 +13:00
Chris Forbes
f8309b79f4 show building in sea as invalid, etc 2009-10-09 22:52:25 +13:00
Chris Forbes
7708004120 fix player=2 weirdness with building 2009-10-09 22:03:40 +13:00
Bob
04dd5e68ba Added UnitInfo.
- units.txt turned into infantry.txt and vehicles.txt
    - slight sidebar fixes
2009-10-09 21:28:56 +13:00
Chris Forbes
f6eb20bbf8 show potential selections in band-box; FindUnits is still wrong. 2009-10-08 22:39:26 +13:00
Matthew Bowra-Dean
62f0a67d28 Merge branch 'master' of github.com:beedee/OpenRA
Conflicts:
	OpenRa.Game/Sidebar.cs
2009-10-08 01:53:03 +13:00
Matthew Bowra-Dean
8a4c583882 Added grouping of items in sidebar + correct clock placement
Items in the sidebar are now grouped by their type and one of each item in the group can be 'built' at a time. Clock animation is now drawn on the items that are being built. Build time still not implemented. Behaviour after item built not correct.
2009-10-08 01:51:23 +13:00
Bob
75d18cf11e added TurretedUnit
3tnk works; jeep's turret is off-center (and possibly hard-coded?)
2009-10-07 22:35:13 +13:00
Chris Forbes
eabc464410 use new types for that event 2009-10-07 08:00:55 +13:00
Matthew Bowra-Dean
aa3801eace Added BuildableItemsChanged event to tech tree.
This lets the Sidebar only repopulate its item list when the items that can be built changes.
2009-10-07 03:37:35 +13:00
Chris Forbes
108d799b29 unsnarled the input a bit 2009-10-06 22:03:24 +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
chrisf
6f8919d301 Removing dead crap from repos
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2048 993157c7-ee19-0410-b2c4-bb4e9862e678
2008-07-20 18:26:03 +00:00
chrisf
da04155fdd git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1748 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-10-04 18:40:42 +00:00
(no author)
63e86e3cc6 pushed a lot of useful stuff down into IjwFramework.dll
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1382 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-08-01 15:15:54 +00:00
(no author)
d7a3a310bf git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1346 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 11:10:17 +00:00
(no author)
ced4d24793 refinery comes with a harvester
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1344 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-24 10:22:34 +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
(no author)
18860c11c1 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1341 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 09:28:58 +00:00
(no author)
3d3316a188 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1340 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 09:16:41 +00:00
(no author)
5bf38488d2 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1339 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 07:59:41 +00:00
(no author)
7e40835c5e git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1338 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 07:32:01 +00:00
(no author)
2767794a89 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1337 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 06:37:18 +00:00
(no author)
a5cc26df09 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1335 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 06:08:44 +00:00
(no author)
983f56e840 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1332 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-24 04:53:11 +00:00
(no author)
a6502022e9 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1321 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-23 05:25:57 +00:00
(no author)
a22d2487d6 rough list of todo for openra
removed (c)TOSHIBA from Openra.TechTree - beedee fails
added first-pass c# support to corfu
converted ijw internet's todo file into the form corfu likes
palette usage analysis tool for openra, so we can find a good slot to hijack

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1319 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-22 16:10:57 +00:00
(no author)
dde1852b12 beginnings of removing rampant ../../../ from sources
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1318 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-21 04:16:15 +00:00
(no author)
c9d34f8907 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1278 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-15 16:31:34 +00:00
chrisf
1bb569e277 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1244 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 09:40:10 +00:00
chrisf
007d7c468c git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1238 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 07:56:50 +00:00
beedee
a0df84b641 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1237 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 07:48:25 +00:00
chrisf
73682d80d6 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1236 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 07:43:50 +00:00
beedee
36491edc12 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1220 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 06:12:16 +00:00
chrisf
c2e5e4557b git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1217 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 04:42:12 +00:00
chrisf
48dfde8964 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1216 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 04:36:35 +00:00
chrisf
4caeb5f2a3 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1214 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-13 17:40:55 +00:00
chrisf
c77a2588bd git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1213 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-13 17:35:07 +00:00
beedee
f7bff84ce2 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1212 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-13 17:20:57 +00:00