atlimit8
9ddf6dc36c
Added RepairableBuildingInfo.CancelWhenDisabled
2014-11-27 17:55:35 -06:00
atlimit8
3c79a9d875
Added upgrade support to RepairableBuilding
2014-11-27 16:28:45 -06:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
reaperrr
0cbcae93a9
Move Valued, CustomSellValue and CustomBuildTimeValue to Common
2014-11-14 01:01:46 +01:00
reaperrr
3372914216
Move some traits from RA.Buildings to Common
2014-11-14 00:33:30 +01:00
reaperrr
5aec72ce6d
Adds Mods.Common usings where necessary.
2014-11-05 20:46:53 +01:00
Paul Chote
c3b6f9bef6
Rename TileTemplate -> TerrainTemplateInfo.
2014-11-05 09:39:55 +13:00
penev92
623642f9d5
Moved RenderSprites.cs from Mods.RA to Common
2014-11-02 18:33:47 +02:00
Taryn Hill
b8f5786bdb
Clean up some chars.
2014-10-30 20:34:56 -06:00
RoosterDragon
59b3cd154d
Change indexes into tile arrays to be stored as bytes to save memory.
...
The index value needs only be big enough to handle all defined terrain types. This is a low number so we can save memory by defining it as a byte. This particularly saves memory for the CustomTerrain field in the Map class, which defines a cell layer for the map using tile indexes, so we can reduce the size of that layer 4x as a result.
2014-10-09 20:03:01 +01:00
Paul Chote
bf2bc0c02e
Extend INotifyOtherProduction to all actors.
2014-10-04 14:01:45 +13:00
steelphase
f948bf0d1b
Add Mod.Common Graphics
...
Moved Graphics to Mod.Common
2014-09-21 01:34:35 -04:00
reaperrr
60eae9f229
Replace Wall trait with BlocksBullets
2014-09-14 01:33:47 +02:00
atlimit8
cc9c253419
Moved SellSounds from Building to Sellable & added upgrade to rules.
2014-09-04 15:25:19 -05:00
atlimit8
63c28ee4d7
Refactored in new enum SubCell
2014-08-29 23:00:53 -05:00
ScottNZ
b70395e27c
Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts.
2014-08-27 18:45:09 +12:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
atlimit8
43478dd500
enum SubCell => int & Dictionary<SubCell, WVec> => WVec[]
2014-08-04 18:09:26 -05:00
ScottNZ
692e3a9c88
Move Power out of Building and into its own trait
...
Conflicts:
mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
Matthias Mailänder
1d0538526d
Merge pull request #6040 from pchote/more-renderables
...
Convert RenderAfterWorld to use Renderables.
2014-07-26 07:28:53 +02:00
atlimit8
4d23b71f2c
Fixed D2K turrets.
2014-07-25 19:53:23 -05:00
atlimit8
72a30e2157
Appears to fix sticky locking of preplaced buildings
2014-07-25 17:07:15 -05:00
Paul Chote
da6ecbf92e
Change IPostRenderSelection and IPlaceBuildingDecoration to return renderables.
2014-07-25 21:14:39 +12:00
Paul Chote
c4bcf0af46
Introduce RangeCircleRenderable.
2014-07-25 21:14:39 +12:00
Taryn Hill
b4cecff74e
ClonesProductionUnits:
...
string[] CloneableTypes checks Cloneable.Types
Cloneable:
string[] Types checked by ClonesProductionUnits.CloneableTypes
Added INotifyOtherProduction
for notifying self when another actor
produces a unit.
2014-07-24 19:08:08 -05:00
Paul Chote
51abbad5ff
Move RenderSprites and RenderSimple into Mods.RA.
2014-07-22 16:43:39 +12:00
Paul Chote
f62bec0530
Remove bogus Require<>s.
2014-07-21 23:50:15 +12:00
Paul Chote
c2ba2fe12b
Play the correct race notification when repairing an ally’s structure.
2014-07-19 15:33:06 +12:00
Paul Chote
c6ed6dbeb9
Remove redundant overload and return early if outside map.
2014-07-10 20:34:17 +12:00
Paul Chote
05e1841e0e
Add AllowInvalidPlacement check to IsCellBuildable. Fixes #5902 .
2014-07-10 17:06:57 +12:00
Paul Chote
2b91a2363b
Fix make animations.
2014-07-08 16:56:09 +12:00
Oliver Brakmann
33b916a713
Fix RepairBuilding not working for AI and Lua scripts
...
Fixes #5861
2014-07-07 19:43:52 +02:00
Matthias Mailänder
394d635dae
new trait WithMakeAnimation
2014-07-06 08:24:08 +02:00
Paul Chote
15d8fadb60
Merge pull request #5801 from Mailaender/building-influence-crash
...
Fixed a crash when trying to capture husks that have been destroyed.
2014-07-05 11:36:54 +12:00
Paul Chote
8d6cd143d6
Merge pull request #5807 from Mailaender/building-influence-reslayer
...
Fixed resources growing on building bibs and behind trees
2014-07-05 10:53:10 +12:00
Ishan Bhargava
16df8322c6
Added repair bonus for multiple players
...
More than one player can now contribute to repairing a building.
Base repair amount is multiplied by value of array
Players who can't afford to contribute are ignored
Repair indicator cycles between each player's color.
2014-07-04 10:40:26 +12:00
Matthias Mailänder
b02ca7695f
StyleCop
2014-07-03 18:35:11 +02:00
Matthias Mailänder
3c3f85a272
add documentation
2014-07-03 09:05:22 +02:00
Matthias Mailänder
68a97b079b
spurious tab
2014-07-03 09:05:22 +02:00
Paul Chote
d7f1b1c9e2
Remove CVec -> WVec conversion.
2014-06-27 23:30:41 +12:00
Paul Chote
a256e722d5
Remove conversions between legacy and world types.
2014-06-27 23:30:41 +12:00
Paul Chote
7b52fa52b6
Replace CPos.CenterPosition -> Map.CenterOfCell.
2014-06-27 23:30:40 +12:00
Paul Chote
5560f276ca
Map: Rename IsInMap -> Contains.
2014-06-27 22:07:03 +12:00
Paul Chote
997216aef0
Use CellLayer for terrain.
2014-06-27 22:07:02 +12:00
Paul Chote
ce331a28e8
Use CellLayer for custom terrain.
2014-06-27 22:07:02 +12:00
Paul Chote
fb3477d630
Use CellLayer for BuildingInfluence.
2014-06-27 22:07:02 +12:00
Paul Chote
2026747f2a
Use Map.IsInMap(CPos) for things that are checking CPos.
2014-06-27 19:20:46 +12:00
Matthias Mailänder
d88fc7c3f2
document CanPowerDown
2014-06-19 21:21:16 +02:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
ScottNZ
90894aa03e
Use var everywhere
2014-06-15 22:17:34 +12:00