Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05: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
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd
Rename Faction trait members
...
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
atlimit8
1bcc07ce69
Add property requirements to safe traits
2015-07-12 12:44:30 -05:00
penev92
41cdc57ea5
Fix traits implementing INotifyKilled
2015-07-06 22:24:41 +03:00
Matthias Mailänder
24444d4af3
fix a crash in AmbientSound
2015-07-05 18:07:11 +02:00
Matthias Mailänder
0f8d22c9a6
rename for consistency
2015-06-20 12:11:45 +02:00
penev92
32bb70abca
Remove DamageWarhead.DeathType in favor of DamageWarhead.DamageTypes
2015-05-24 00:15:07 +03:00
reaperrr
a99f69035c
Made AnnounceOnKill and AnnounceOnBuild voices customisable.
2015-05-23 13:53:38 +02:00
reaperrr
3777a8bca9
Moved Voice-related extensions to VoiceExts.
...
Note: This is a work-around until Selectable can be moved to Mods.Common, which is when the voice extensions should be moved back to ActorExts.
Pulled phrase check before foreach in PlayVoice ActorExts.
Removed superflous actor parameter from PlayVoice/PlayVoiceLocal.
Simplified PlayVoice extensions.
variant is no longer customisable, as all current usages use self.Owner.Country.Race anyway.
2015-05-23 13:46:01 +02:00
reaperrr
5e2c781c8a
Adds PlayVoice, PlayVoiceLocal and HasVoice to ActorExts.
...
Makes Cargo unload voice customisable.
2015-05-22 01:51:55 +02:00
reaperrr
5f68516070
Cleaned up IVoiced-related code.
...
Added Volume control and descriptions to Voiced.
Streamline voice checks in WorldUtils and DeathSounds.
2015-05-22 01:51:54 +02:00
reaperrr
251d3e6864
Move PlayVoice and PlayVoiceLocal from Sound to Voiced.
...
Move HasVoice, HasVoices and GetVoices from WorldUtils to Voiced.
2015-05-22 01:51:53 +02:00
Pavel Penev
ffd45e9b04
Merge pull request #7982 from Mailaender/ts-obelisk
...
Added the Tiberian Sun Nod Obelisk charge animation
2015-05-11 03:30:48 +03:00
Matthias Mailänder
cdc98013f7
readonly
2015-05-02 12:14:46 +02:00
Matthias Mailänder
7cbdc07ca3
add a looping sound trait
2015-05-02 06:59:57 +02:00
penev92
460d0b84a6
Fix EnemyWatcher's interaction with disguised actors
2015-03-26 15:20:26 +02:00
penev92
328e329fe7
Disallow sound/radar notifications for neutral actors via a configurable field on the trait
2015-03-21 12:03:41 +02:00
penev92
1b616123ef
Introduce INotifyDiscovered interface and use it to move notifications from EnemyWatcher to AnnounceOnSeen
2015-03-21 07:53:41 +02:00
RoosterDragon
1515ac54f6
Enforce a line length limit.
2015-03-19 17:20:34 +00:00
Taryn Hill
1e0612ddf0
Change SoundOnDamageTransition to randomly select
...
from a string[] instead of a single string.
2015-03-12 16:09:11 -05:00
penev92
e2832bb3d7
Implement EnemyWatcher and AnnounceOnSeen traits
2015-01-17 14:41:22 +02:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
Paul Chote
805039530d
Info -> info.
2014-12-26 12:13:07 +13:00
Paul Chote
ecd3809bc2
Fix a collection of whitespace-style issues in Mods.Common.
2014-12-14 17:06:43 +13:00
reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
reaperrr
3372914216
Move some traits from RA.Buildings to Common
2014-11-14 00:33:30 +01:00
reaperrr
c4d19b77a4
Moves BlocksBullets, DeathSounds, ActorLostNotification, AnnounceOnBuild and AnnounceOnKill to Mods.Common
2014-11-03 20:34:44 +01:00