Commit Graph

18 Commits

Author SHA1 Message Date
Bob
cfa56a791d Moved footprint info onto its building. 2009-10-20 23:55:57 +13:00
Bob
b5c7a00552 Prerequisites now uses the array-loading stuff in FieldLoader. It's use (in techtree) was also simplified. 2009-10-20 18:38:58 +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
a59265a661 TechTree now works in lower-case, the same as the rest of the game. 2009-10-20 15:53:54 +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
60a24a5415 generic info loader, projectiles 2009-10-14 18:55:34 +13:00
Chris Forbes
6432ba8779 WarheadInfo loading 2009-10-14 13:59:27 +13:00
Bob
9af7b09e1d added WeaponInfo 2009-10-13 20:57:43 +13:00
Bob
e86b0cdaa0 extracted GameRules.FieldLoader from UnitInfo.cs 2009-10-13 19:17: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
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
Chris Forbes
0eee005d52 duplication 2009-10-11 09:57:32 +13:00
Bob
dc4c1cce1b fake buildings now work. 2009-10-10 23:21:31 +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
Chris Forbes
9f0600efe4 tent works, gun is a bit broken 2009-10-09 23:34:20 +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