Commit Graph

63 Commits

Author SHA1 Message Date
Bob
7c1c0835e1 Traits can now resolve orders (ATM, they all resolve the orders they issue) 2009-11-25 20:42:03 +13:00
Bob
74ab0c7a13 moved Activity to Actor (from Mobile) 2009-11-25 18:34:30 +13:00
Chris Forbes
14910762c8 adds custom-palette/shadow support for rendering everything 2009-11-10 21:03:47 +13:00
Chris Forbes
14e2e3c2eb nubstuff 2009-11-09 21:36:10 +13:00
Chris Forbes
49f48bef6a #29 fixed 2009-11-09 21:19:37 +13:00
Chris Forbes
ab7737302b fixing trees breaking our replay 2009-11-05 22:21:36 +13:00
Bob
edc4a8e6e7 Harvesting works better, and other related stuff. 2009-11-05 13:23:23 +13:00
Chris Forbes
66fd532db8 ore is now in openra.game 2009-11-04 22:51:17 +13:00
Bob
1d7798d40c Buildings with special rendering now skip their make animation. Removed IsMapActor; make-skipping is now controlled by a global in Game. 2009-11-02 00:59:53 +13:00
Chris Forbes
4336c2af35 skip 'make' animation for mapunits 2009-11-01 19:09:18 +13:00
Chris Forbes
f9fb04372c lots of stuff: harvester, acceptsore, half-destroyed buildings, building sounds 2009-11-01 18:51:15 +13:00
Chris Forbes
4201f40f6b multiple turrets; turret offsets 2009-10-31 14:46:04 +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
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