RoosterDragon
dcf375a412
Store Targetables in Actor.
...
This can be used to avoid several lookups for these traits, as well as allow Actor to provide specialised methods to deal with target types efficiently. This also reduces some code duplication.
2015-12-12 20:55:17 +00:00
Pavel Penev
6217ec0360
Add a ShowActorTags property to DeveloperMode
2015-12-07 01:41:15 +02:00
atlimit8
c827dbe183
Replace IDisableMove with upgradability
2015-12-04 19:26:49 -06:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Matthias Mailänder
0b349f943e
Merge pull request #9890 from atlimit8/CreateEffectWarhead_TargetTypes
...
Target type support for CreateEffectWarhead
2015-11-22 15:42:54 +01:00
Oliver Brakmann
16de21d41c
Merge pull request #10018 from pchote/fix-spy-cursor
...
Restore targeting cursor when mousing over a disguised enemy spy.
2015-11-21 20:57:12 +01:00
Pavel Penev
78e2eabd17
Remove byPlayer parameter from IFogVisibilityModifier.HasFogVisibility()
2015-11-21 01:11:38 +02:00
Pavel Penev
217c3881c6
Add IFogVisibilityModifier.IsVisible(Actor)
2015-11-21 01:11:37 +02:00
Paul Chote
124c0ea041
Make CanTarget modifiers a ref parameter.
2015-11-16 20:38:53 +00:00
Paul Chote
9ae811e0c0
Prevent frozen actors leaking through shroud.
2015-11-08 20:53:47 +00:00
atlimit8
cdb2da33be
CreateEffectWarhead target types support
2015-11-08 12:54:17 -06:00
atlimit8
1e890a921f
Merge pull request #9709 from reaperrr/unitsat-actorsat
...
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
2015-10-21 09:56:41 -05:00
RoosterDragon
983032205f
Merge pull request #9593 from huwpascoe/HealthTrait
...
Moved Health to OpenRA.Mods.Common
2015-10-20 20:59:04 +01:00
Paul Chote
83949b250a
Add a visualisation mode for depth sprites.
...
For now this displays the raw sprites. It will
eventually be repurposed for rendering the proper
depth data.
2015-10-17 22:35:47 +01:00
reaperrr
2f69711341
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
...
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
Huw Pascoe
c95fc793e4
Moved Health trait to OpenRA.Mods.Common
...
In preparation for custom hitboxes.
2015-10-12 01:56:00 +01:00
Huw Pascoe
5a81d5dfa7
Created IHealth interface and cleanup.
...
To decouple the Health trait from OpenRA.Traits.
DisplayHp renamed to DisplayHP and HealthExts moved
moved next to Actor.Kill() for consistency.
2015-10-12 01:55:59 +01:00
Christopher Grant
a378abe7c1
Moved RandomWalk to OpenRA.Traits.Util
2015-10-11 18:59:11 +02:00
atlimit8
079cff0a7a
IRulesetLoaded Warhead support and better error messages.
2015-10-02 13:40:21 -05:00
reaperrr
7e1f29d4c5
Made BlocksProjectiles upgradable
2015-09-30 21:54:35 +02:00
Pavel Penev
7fa7ebe657
Merge pull request #9384 from Mailaender/lint-player-palettes
...
Added a lint check for player palette references.
2015-09-27 18:44:55 +03:00
Matthias Mailänder
defba7aece
lint check player palette reference
...
and tell which actor is affected when a problem is found
2015-09-27 14:57:58 +02:00
Pavel Penev
642468ce0c
Add MapGrid class
...
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
atlimit8
5e4e085a85
Merge pull request #9445 from RoosterDragon/activity-early-bail
...
Provide an early exit in RunActivity when there is no activity
2015-09-26 14:02:14 -05:00
Oliver Brakmann
d667271ab7
Merge pull request #9262 from RoosterDragon/frozen-unify-dict
...
Speed up FrozenUnderFog.Tick
2015-09-26 20:45:58 +02:00
RoosterDragon
faaf1ea1e1
Provide an early exit in RunActivity when there is no activity.
2015-09-26 15:32:26 +01:00
atlimit8
74a9dc6793
Added IRangeMultiplier
2015-09-24 16:37:43 -05:00
atlimit8
65c1d2f5c1
Add IRulesetLoaded for late binding in trait info getting all rules
2015-09-24 16:26:42 -05:00
Pavel Penev
cdd4590ece
Merge pull request #8839 from RoosterDragon/test-sync-implementations
...
Test sync implementations
2015-09-24 15:17:33 +03:00
RoosterDragon
6b62aa1ad5
Add missing sync interfaces.
2015-09-21 22:17:06 +01:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
atlimit8
6e39a5e264
Replace .WithInterface<T>().Any() => .HasTraitInfo<T>()
2015-09-21 15:50:57 -05:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
RoosterDragon
ebf113dfb7
Remove Shroud.IsVisibleTest and IsExploredTest.
...
These are no longer any faster than the regular checks, so there's no need to keep them.
2015-09-06 21:13:32 +01:00
TheRaffy
1fc2158f2e
Added a WeatherOverlay
2015-09-06 20:25:29 +02:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
RoosterDragon
592004e738
Unify the player dictionaries in FrozenUnderFog.
...
This improves the performance of FrozenUnderFog.Tick as only one lookup needs to be done rather than two.
2015-09-05 16:10:00 +01:00
RoosterDragon
901e604cf3
Replace arrays with sets.
...
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
atlimit8
fadfd179cb
Cache FrozenActor ITargetable.TargetTypes union
2015-09-02 23:19:00 -05:00
atlimit8
23d0424437
Add ITargetablePositions seperating it from ITargetable
2015-09-02 23:14:40 -05:00
atlimit8
f5c3575c5a
Support multiple ITargetable traits
2015-09-02 23:14:40 -05:00
Pavel Penev
c4bf92870b
Merge pull request #9083 from Mailaender/lint-cleanup
...
Cleaned up the ILint boiler plate code
2015-09-02 15:49:43 +03:00
RoosterDragon
dab53f403d
Provide a hand-written enumerator for ActorMap.GetUnitsAt(CPos).
2015-08-31 20:43:19 +01:00
RoosterDragon
18478646d4
Avoid multiple ToMPos calls in ActorMap.
2015-08-31 20:43:18 +01:00
Matthias Mailänder
0b8d7708ef
add more lint interfaces to reduce boiler plate
2015-08-30 13:12:25 +02:00
Matthias Mailänder
9c1eeafa08
Merge pull request #9004 from reaperrr/quanbo
...
Introduce QuantizeFacingsFromSequence
2015-08-28 22:46:29 +02:00
Pavel Penev
02dd5afbd9
Merge pull request #9058 from RoosterDragon/reduce-alloc
...
Reduce allocations in the main game loop
2015-08-24 02:11:08 +03:00
reaperrr
006e66a3c3
Refactored IQuantizeBodyOrientation implementation
...
Moved BodyOrientation and related interfaces from Game to Mods.Common.
Introduced QuantizeFacingsFromSequence trait.
With*Body render traits no longer implement IQuantizeBodyOrientation
themselves.
2015-08-24 00:48:56 +02:00