Commit Graph

121 Commits

Author SHA1 Message Date
reaperrr
ee8e1f46c1 Move 'Activity' into its own namespace in OpenRA.Game. 2014-12-14 17:12:46 +01:00
Matthias Mailänder
9e650adef8 implement Ordos nerve gas missiles as warheads
closes #2838
2014-12-14 16:03:16 +01:00
Paul Chote
eefd7dba2c Fix some minor style issues in Attack*. 2014-12-14 11:31:04 +13:00
Paul Chote
ebdb260650 Fix style issues from a recent PR. 2014-12-14 11:31:04 +13:00
penev92
f57625f9e6 Add WormAttack notification, fix worm min count and spawn interval
Enhance usage of WormManager Minimum and Maximum properties, add escape radius to AttackSwallow
2014-12-13 14:06:56 +02:00
penev92
b4d1a605da Add RadarPing on worm spawn, fix wandering issue, add new Wormspawner.shp 2014-12-13 14:02:45 +02:00
penev92
61cb74adb4 Improved visuals, added WormSign norification 2014-12-13 14:02:44 +02:00
penev92
c4efd269d4 Step three in implementing sandworms
Removed/fixed comments

Code style fixes

Fixed AttackWander, addressed style nits

Fix Travis crash
2014-12-13 14:02:44 +02:00
penev92
1057f8ff3b Second implementation of Sandworms
Fix tabs in AttackSwallow.cs
2014-12-13 14:02:43 +02:00
Matthias Mailänder
e353c93b76 Merge pull request #7107 from reaperrr/ra-common-move01
Made Common namespaces more consistent
2014-12-12 22:19:54 +01:00
reaperrr
584a6b2e75 Splits AttackMove into trait and activity.
Moves them to subfolders/namespaces accordingly.
2014-12-12 13:24:30 +01:00
reaperrr
ffca040c47 Moves traits from Common and Power namespaces to Common.Traits namespace 2014-12-11 23:21:31 +01:00
WolfGaming
a155c7b7ac Fixes AttackMove moving even if an enemy is within range. 2014-12-10 13:28:10 +00:00
penev92
09350528fd Moving renders
Remove Traits.Render
2014-12-09 01:29:25 +02:00
RoosterDragon
dc2e44da36 Change some Exts.MakeArray calls into Enumerable.Range.
Avoid creating some arrays where sequences will suffice.
2014-11-29 02:20:42 +00:00
reaperrr
127969d014 Move Air activities and traits to Activities\Air and Traits\Air, respectively 2014-11-17 12:56:18 +01:00
reaperrr
5aec72ce6d Adds Mods.Common usings where necessary. 2014-11-05 20:46:53 +01:00
penev92
623642f9d5 Moved RenderSprites.cs from Mods.RA to Common 2014-11-02 18:33:47 +02:00
Paul Chote
c6691e881c Fix Turreted style issues. 2014-10-04 23:17:15 +13:00
Alexander Fast
070d00c678 Fixes year numbers in license text in file headers. 2014-08-21 11:27:52 +02:00
Paul Chote
0425416ce2 Convert damage modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Matthias Mailänder
33655afe21 Merge pull request #6127 from cjshmyr/attackcharge
Fixes #5568
2014-08-03 17:51:28 +02:00
UberWaffe
c972b39687 Custom Warheads refactor
Changes included:

Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.

Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.

Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
Curtis Shmyr
52aedf4b75 Fix AttackCharge not picking a new target if the current became invalid 2014-08-02 12:26:06 -06:00
atlimit8
d1b0dce751 Applied VWec[] yaml loader 2014-07-30 22:59:15 -05:00
Taryn Hill
da001385ae Added some trait [Desc()]s. 2014-07-12 13:31:14 -05:00
Paul Chote
5650d5fc98 Revert "use TickRender() for RenderSprites and PaletteModifier"
This reverts commit 87fd576b26.
2014-07-08 11:09:54 +12:00
Paul Chote
18c9a25232 Revert "freeze animations during pause to visualize it better"
This reverts commit 960248fe44.
2014-07-08 10:40:06 +12:00
Matthias Mailänder
960248fe44 freeze animations during pause to visualize it better 2014-07-06 08:24:08 +02:00
Matthias Mailänder
87fd576b26 use TickRender() for RenderSprites and PaletteModifier 2014-07-06 08:24:08 +02:00
Paul Chote
9487f49cd5 Replace WPos.ToCPos -> Map.CellContaining. 2014-06-27 23:30:40 +12:00
Paul Chote
4bc09692e0 Remove WVec.ToCVec. 2014-06-27 23:30:40 +12:00
Paul Chote
7b52fa52b6 Replace CPos.CenterPosition -> Map.CenterOfCell. 2014-06-27 23:30:40 +12:00
Paul Chote
086ec07eb6 Add World parameter to Target.FromCell. 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
57280e3eab Merge pull request #5660 from Mailaender/document-traits
Documented some order related traits
2014-06-21 01:27:11 +12:00
Matthias Mailänder
30fa8f35d8 Update AttackGarrisoned.cs
closes #5264
2014-06-20 09:01:51 +02:00
Matthias Mailänder
cf3f79bf29 document AttackWander 2014-06-19 21:21:16 +02:00
Paul Chote
2141656460 Only inset range for mobile targets. 2014-06-15 22:48:43 +12:00
Paul Chote
887a515e14 Add MinRange plumbing to attack activities. 2014-06-15 22:48:43 +12:00
ScottNZ
dbffce81a6 Remove unused usings 2014-06-15 22:16:40 +12:00
RoosterDragon
b8b8b1e2df Minor changes to reduce allocation.
- Cache a predicate in ActorMap.
- Use short circuiting to skip a call to HasTrait in AttackBase.
- In AutoTarget.ScanForTarget, move the check for the scan time above the calculations since we can skip them if it's not time yet.
- In AutoTarget.ChooseTarget, merge four Where calls into one.
2014-06-12 05:32:44 +01:00
RoosterDragon
0027434fbd Avoid multiple enumerations of armaments in AttackBase.
- Avoid enumerating the collection more than once in a method as it is not trivial.
2014-06-04 02:17:44 +01: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
WolfGaming
5496636933 Fixes Camo Pillbox not decloaking when attacking 2014-05-14 10:54:29 +00:00
Pavlos Touboulidis
558924f265 Fixes #5278: SAM site on the TD shellmap starts open 2014-05-14 00:17:24 +03:00
reaperrr
7ba00ced5a Make MuzzleFlash palette customizable. 2014-05-03 15:38:34 +02:00
Matthias Mailänder
01a3162725 allow animations to pause on low power
closes #2949
2014-04-20 14:47:53 +02:00
Paul Chote
1b2a90c00c Migrate to System.Lazy. 2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4 update to .NET 4.0 2014-04-09 20:20:26 +12:00