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
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
ScottNZ
375fc1c5f1
Remove redundant constructors
2014-06-15 22:14:38 +12:00
Paul Chote
1169211893
Merge pull request #5579 from Mailaender/frozen-C4
...
Fixed C4 target inconsistencies with Fog of War and Husks
2014-06-15 22:01:04 +12:00
Matthias Mailänder
ee0df9c1cb
make C4 Demolition frozen actor aware
2014-06-14 09:35:38 +02:00
Pavlos Touboulidis
77fb188585
Move ClampToWorld from WorldUtils to Map
2014-06-13 13:59:40 +03:00
Pavlos Touboulidis
c282fa1077
Move GetTerrainIndex/Info from WorldUtils to Map
2014-06-13 13:57:32 +03:00
Pavlos Touboulidis
092352729f
Change terrain type from string based dictionaries to arrays
2014-06-13 11:20:54 +03:00
Deniz Ayıkol
5055764e04
Make repair animation pause if player has no money.
...
use anim.Paused
removed the using line
2014-06-04 22:15:18 +03:00
Matthias Mailänder
1700a36286
avoid InvalidOperation and NullReferenceException
...
fixes #5522
2014-06-02 09:27:36 +02:00
Paul Chote
900f5bffb5
Change Bib to use RenderSprites.
2014-05-23 00:37:20 +12:00
Paul Chote
15f63fb5ea
RenderSprites.anims is finally private.
...
Followup to #3348 .
2014-05-23 00:37:20 +12:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
750fc4e02c
Merge ModRuleset and MapRuleset into Ruleset
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Matthias Mailänder
01a3162725
allow animations to pause on low power
...
closes #2949
2014-04-20 14:47:53 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Taryn
61749e145d
Added LineBuildNode trait to filter which structure(s) a LineBuild actor can be attached to.
2014-03-27 20:47:46 -05:00
Kanar
fc2d0510d8
Adds minibibs for bibless buildings in RA and C&C.
2014-03-25 13:23:05 +01:00
Paul Chote
96cc1276c2
Add BuildComplete property to Building and start initially locked.
2014-03-21 10:03:53 +13:00
Paul Chote
c01c5ff72d
Actors outside the world can't grant buildable area.
2014-03-18 15:46:07 +13:00
Paul Chote
972f3ae8dc
Don't stomp over other building's influence.
2014-03-18 15:46:07 +13:00
Paul Chote
e367ce4457
Fix BuildingInfluence style nits.
2014-03-18 15:46:07 +13:00
Paul Chote
e6c041e53f
Fix PBOG and Building to support concrete placement.
2014-03-18 15:28:49 +13:00
Paul Chote
50d89629a2
Add BuildableTerrainLayer and LaysTerrain traits.
2014-03-18 15:28:49 +13:00
Paul Chote
3050cff67c
Support concrete bibs in D2K.
2014-03-18 15:28:48 +13:00
Matthias Mailänder
c78a856894
C4 demolishable bridges
2013-12-26 21:22:47 +01:00
Paul Chote
1a31368953
Convert range circle rendering to world coords.
2013-12-26 17:23:12 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Paul Chote
839419635d
Improve contrasted range circle rendering.
2013-10-15 10:45:51 +13:00
Paul Chote
e03ec690ff
Track actor positions in ActorMap.
2013-09-27 15:36:51 +12:00
Paul Chote
b00cc6108d
Make ActorMap addition explicit.
2013-09-27 15:36:51 +12:00
Paul Chote
dfd51c0caa
Introduce ScreenMap trait for caching screen-coord queries.
2013-09-27 15:36:25 +12:00