Commit Graph

51 Commits

Author SHA1 Message Date
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
Bob
89f9a96de5 Replay stuff.
FYI: Don't try to replay a game where you built any vehicles. It WILL fail horribly.
2009-10-29 01:57:47 +13:00
Bob
c0cb248bc1 Restructuring orders. 2009-10-28 22:06:39 +13:00
Bob
3ef0f90b00 Added attack order. Cursor is currently incorrect. 2009-10-26 23:25:35 +13:00
Bob
78c9ae53df On orders, the mouse button is now considered part on issuing the order, not resolving it. 2009-10-24 19:42:54 +13:00
Bob
d66475edcb smooth unit-movement. Doesn't look right yet, but it's getting there. 2009-10-24 18:20:58 +13:00
Chris Forbes
ac82e1451e Fixes bug #23: enemy units can be ordered 2009-10-23 21:31:52 +13:00
Chris Forbes
7d1f7670b9 unit lost sound when local player's units die 2009-10-22 23:48:19 +13:00
Chris Forbes
cfa20a04ed added IsDead property; made attack notice when the target is dead 2009-10-22 23:13:33 +13:00
Chris Forbes
1effd85d50 prep in pathfinder for multi-source pathing 2009-10-22 22:34:06 +13:00
Chris Forbes
4382a10568 combat actually works 2009-10-21 21:34:34 +13:00
Chris Forbes
659c3669e7 health 2009-10-21 20:37:38 +13:00
Chris Forbes
a4c344523f pushed bibs down into the smudge layer; made Game static 2009-10-20 20:47:04 +13:00
Bob
80bcd23ba7 Traits is now data-driven. Actor.cs is now SMALL. (win)
- FieldLoader can now handle arrays. This might be useful for Prerequisites, Owner fields.
2009-10-20 18:17:08 +13:00
Bob
6dec94d00e added units.ini (and campaignUnits.ini), and IniFile got support for load/merging multiple files.
- Rules can now handle map-specific rules changes
    - units.ini replaces {buildings,units,infantry}.txt (or will replace; sidebar still uses them)
    - Added support for loading map-placed units/structures - try scg11eb.ini
        - added FCOM
2009-10-20 17:16:45 +13:00
Bob
707ba7d957 Locked frame times; SAM, GUN, AGUN work again.
- all frames are 40ms long. (except something in the sidebar, which should really be PlayFetchIndex anyway)
    - SAM, GUN, and AGUN no longer crash the game when built. (Turreted used Mobile, which those buildings don't have)
2009-10-20 00:57:50 +13:00
Bob
a7ce0f97d1 changes facing (and desireFacing) on Mobile and on Turreted. range is now 0..255 2009-10-19 23:45:14 +13:00
Bob
5f2d89fd63 added AttackTurreted. 2009-10-18 23:51:00 +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
5f711e12e6 adds bib rendering. still wrong for a few buildings, but not *too* bad. 2009-10-13 22:12:00 +13:00
Chris Forbes
3b1558d678 splitting traits into own files 2009-10-13 21:11:21 +13:00
Bob
9af7b09e1d added WeaponInfo 2009-10-13 20:57:43 +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
711b419ed0 untangling a few things 2009-10-12 21:23:09 +13:00
Matthew Bowra-Dean
8a5e84e265 Normalising line endings 2009-10-12 10:20:50 +13:00
Chris Forbes
99b508956e cleaning up a bunch of stuff; silo works sensibly now 2009-10-11 23:27:47 +13:00
Chris Forbes
a9af3be206 WEAF roof fixed 2009-10-11 09:32:24 +13:00
Bob
dc4c1cce1b fake buildings now work. 2009-10-10 23:21:31 +13:00
Bob
b880f7d1bc Overlay rendering
- also, sequences for HBOX and PBOX
2009-10-10 21:23:33 +13:00
Bob
4fa05a6d40 sequences for the rest of the buildable buildings, and fixes to make HBOX and MSLO work
- HBOX and MSLO sprites are in temperat/snow mixes with .tem/.sno extensions (and not present in interior)
2009-10-10 19:30:19 +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
75d18cf11e added TurretedUnit
3tnk works; jeep's turret is off-center (and possibly hard-coded?)
2009-10-07 22:35:13 +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
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)
48e5da3945 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1365 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-28 10:30:40 +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)
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)
d94b589650 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1329 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-23 12:15:42 +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)
db17062511 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1312 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-20 04:18:02 +00:00
chrisf
58be529e32 ConstructionYard.cs!
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1286 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-16 10:29:03 +00:00
bob
333a20d29e git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1285 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-16 03:45:05 +00:00
bob
acba1dc8e4 generalising selection, issuing of orders
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1283 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-16 01:01:45 +00:00
chrisf
0a6eaeb26f HAX IT DOES STUFFS
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1280 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-15 17:13:35 +00:00
chrisf
9f364cfdc7 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1228 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-14 07:17:31 +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
chrisf
cb54dbf81b hax!
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1191 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-13 09:36:58 +00:00
bob
9a6182bb17 git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1183 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-12 19:46:13 +00:00
chrisf
492c76262b git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1168 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-11 10:53:48 +00:00
chrisf
0b36bfacdd git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1167 993157c7-ee19-0410-b2c4-bb4e9862e678 2007-07-11 10:49:17 +00:00