abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Ivaylo Draganov
24b9482cc1
Add support for transient text notifications matching speech notifications
2022-04-30 12:39:29 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
reaperrr
f1a9a5180d
Use real (milli)seconds for notifications
...
Allows for more fine-grained control, while
adding independence from gamespeed and getting
rid of magic * 25 multiplications.
2021-04-21 19:34:16 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
a847f3eafa
Fix actors not yet in the world improperly updating power state
2020-08-14 11:46:38 +02:00
abcdefg30
bc7bf174d8
Don't tick the announcement timer when not in low power
...
When entering low power it will be reset to 0 again anyway
2020-07-05 20:37:17 +02:00
abcdefg30
2e06d5790b
Update the PowerState only when power is added or removed
2020-07-05 20:37:17 +02:00
abcdefg30
ab8790e8f1
Style/Readability changes
2020-07-05 20:37:17 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Andre Mohren
7057e32902
PowerManager notification now optional.
2018-09-24 22:43:14 +02:00
RoosterDragon
63810220e4
Improve some usages of Aggregate.
2018-03-18 16:44:17 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Arular101
30acee38c9
Cast to long to avoid overflow when multiplying by the health
2018-01-13 17:32:34 +01:00
Paul Chote
5425a5a28e
Replace CanPowerDown with ToggleConditionOnOrder.
2017-12-27 20:18:27 +01:00
Paul Chote
855042894c
Fix bogus cached PowerState for map placed actors.
2017-11-26 03:37:33 +01:00
reaperrr
a7620c97f0
Some internal renamings in power-related traits
2017-11-13 03:09:05 +02:00
reaperrr
786a0eb07f
Refactor PowerManager and RequiresPower to use conditions
...
Instead of Actor.IsDisabled.
Added INotifyPowerLevelChanged interface to do so as efficiently as possible.
2017-11-13 03:09:05 +02:00
reaperrr
6c02e3f2b7
Refactor CanPowerDown to provide a condition instead of triggering IsDisabled
2017-11-13 03:09:05 +02:00
reaperrr
8533debc44
Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
2017-10-07 10:17:11 +02:00
reaperrr
28e1f391e0
Make ITick require explicit implementation
2017-09-16 15:51:37 +02:00
Markus Hartung
2a0b3b39ea
INotifyCreated.Created now calls base properly
2017-06-04 17:11:44 +02:00
atlimit8
0dfdea1826
Convert AffectedByPowerOutage from disabler to conditional condition granter.
2017-05-06 17:19:42 -05:00
atlimit8
11933c7e2c
Added /poweroutage dev command.
2017-05-06 17:19:39 -05:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab
Rename UpgradableTrait to ConditionalTrait.
2016-12-23 23:28:34 +00:00
Paul Chote
3f0b33992c
Rewrite UpgradeManager implementation to suit conditions.
2016-11-20 13:55:47 +00:00
reaperrr
ad6ea52bff
Make IPowerModifier require explicit implementation
...
Plus some 'collateral' explicit implementations on the affected traits.
2016-10-30 20:22:16 +01:00
reaperrr
39034b0de9
Allow keeping empty selection bars visible
2016-08-25 20:40:56 +02:00
Matthias Mailänder
982fce7a99
Document that PowerManager is a player actor trait.
2016-04-02 13:00:35 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Taryn Hill
25eddb9567
Explicitly implement ISelectionBar
2016-01-17 22:33:41 -06:00
Matthias Mailänder
a8d8764b81
unhardcode and self-document the notification
2015-12-27 11:44:41 +01:00
Matthias Mailänder
89ff2f1ba2
expose palette and sprite sequence to lint testing
2015-12-27 11:38:58 +01:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
Matija Hustić
03c80fb9c6
Added tesla boost capabilities.
...
Shock troopers and tesla tanks standing near a tesla coil
will charge it up, enhancing its range, modifying the zap
animation and allowing it to work even when player's power
is down.
The sound for charger weapons edited from
https://www.freesound.org/people/JoelAudio/sounds/136542/
2015-10-09 22:41:21 +02:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00