Paul Chote
bfcbe8c004
Improve batching by binding up to 8 simultaneous textures.
2018-06-04 23:33:57 +02:00
Paul Chote
131496ebf8
Merge RGBA sprite rendering into SpriteRenderer.
...
Renderer.RgbaSpriteRenderer is kept as a thin
wrapper to maintain compatibility with consumer
code.
2018-06-04 23:33:57 +02:00
Paul Chote
ba38878933
Add TextureChannel.RGBA for RBGA sprites.
2018-06-04 23:33:57 +02:00
Paul Chote
c307b3e291
Encode channel attributes in a more sensible way.
2018-06-04 23:33:57 +02:00
Paul Chote
382f4c3af5
Remove the AddEditorPlayer update rule.
2018-06-04 23:15:56 +02:00
Paul Chote
df95b90de2
Remove CheckDeathTypes lint test.
...
This causes false positive errors when mods use
SpawnActorOnDeath to implement special-case death
effects.
2018-06-04 23:12:07 +02:00
Paul Chote
6c338eb06c
Revert "Run graphics rendering on a dedicated thread."
...
This reverts commit b9be52c5428d4a3862d62fe3a2c01663bd3692c3.
2018-06-04 23:04:35 +02:00
Paul Chote
afc5a54ab5
Remove unused gate sequences.
...
The artwork no longer exists, so these cause
errors to be written to debug.log.
2018-06-03 18:21:23 +02:00
Paul Chote
d4592c13d8
Remove Training Camp minigame map.
2018-06-03 17:16:53 +01:00
Paul Chote
5b47aa4a9e
Remove unused map options from minigame maps.
2018-06-03 12:27:20 +01:00
Voidwalker
398ae75525
Added fully random spawn position option.
2018-06-03 12:27:20 +01:00
reaperrr
1408fb74b2
Use Armament.ReloadingCondition on RA V2
...
The new property makes the AmmoPool work-around obsolete.
2018-06-03 12:23:54 +01:00
reaperrr
e4738ce722
Update rule for AimAnimation splits and ReloadPrefix removal
2018-06-03 12:23:54 +01:00
reaperrr
2136d6dc4a
Split and refactor aim animation from WithAttackAnimation
...
Splitting it from the attack animation, triggering start and end of the aiming animation via interface, as well as removing ReloadPrefix (in favor of switching sprite bodies via condition when reloading) allows us to drop updating via ITick, which in turn will make it much easier to ultimately make this trait compatible with other animation traits, once the priority system lands.
2018-06-03 12:23:54 +01:00
reaperrr
7d4956e309
Refactor WithTurretAimAnimation using INotifyAiming
...
Triggering start and end of the aiming animation via interface, as well as removing ReloadPrefix (in favor of switching sprite bodies via condition when reloading), allows us to drop updating via ITick, which in turn will make it much easier to ultimately make this trait compatible with other animation traits, once the priority system lands.
2018-06-03 12:23:54 +01:00
reaperrr
a784081973
Add ReloadingCondition to Armament
...
Allows to grant condition while reloading.
2018-06-03 12:23:54 +01:00
reaperrr
bd38fe4926
Add INotifyAiming interface
...
And trigger notifications from Attack* traits.
2018-06-03 12:23:54 +01:00
reaperrr
4898873617
Locomotor update rule typo fix
2018-06-03 12:15:11 +01:00
Paul Chote
a61454f409
Fix experience/hospital indicator overlap in TS.
2018-06-02 18:12:08 +02:00
Paul Chote
74971cfbb1
Add hospital heal indicators to RA.
2018-06-02 18:12:08 +02:00
Paul Chote
6359d32946
Fix overlapping veterancy/hospital/hazmat indicators in TD.
...
This also changes the hazmat indicator to only be visible when on
tiberium, and the hospital indicator to blink while active and only
be visible when the infantry is damaged.
2018-06-02 18:12:08 +02:00
Paul Chote
eccfac7840
Add blink parameters to WithDecoration.
2018-06-02 18:12:08 +02:00
Paul Chote
82d3829c87
Fix overlapping repair / powerdown indicators.
2018-06-02 18:12:08 +02:00
Paul Chote
bb34d4de49
Add conditional offset support to WithDecoration.
2018-06-02 18:12:08 +02:00
Paul Chote
2ef6f7c0cc
Replace repair indicator effect with a Decoration subclass.
2018-06-02 18:12:08 +02:00
Paul Chote
218914458f
Document RepairableBuilding fields.
2018-06-02 18:12:08 +02:00
lawando
7dd64445fc
Rename EmitInfantryOnSell and remove default actor type.
2018-06-02 15:37:35 +02:00
Paul Chote
3d79541148
Remove unused usings and add end of file newline.
2018-06-02 15:30:59 +02:00
Paul Chote
55d3040a0e
Blink the color picker palette tab when the Store button is pressed.
...
This provides some visual feedback that something
has happened on the hidden tab.
2018-06-02 15:30:59 +02:00
Jason Zmuda
2cf3c4873d
Update EmitInfantryOnSell.cs
2018-05-31 20:48:40 +02:00
Paul Chote
ebf3ec0e90
Add some basic safeguards around RenderPlayer.set.
2018-05-31 18:54:07 +02:00
Paul Chote
3a1857886a
Add support for displaying master server warnings.
2018-05-31 17:45:58 +02:00
Paul Chote
de4199048f
Add additional metadata to the default mods.
2018-05-31 17:45:58 +02:00
Paul Chote
c425650b7d
Truncate mod-version labels to the correct width.
2018-05-31 17:45:58 +02:00
Paul Chote
6ef802b929
Send mod title, website, and an icon URL to the master server.
...
Prefer the title returned by the master server in the games list.
2018-05-31 17:45:58 +02:00
Paul Chote
10aaa8eea8
Cancel Rearm activity when the host goes away.
...
This also ensures that the first reload tick always
takes the correct amount of time.
2018-05-30 18:17:37 +02:00
Paul Chote
ba8eac0e38
Remove deprecated Order.TargetActor and Target.FromOrder.
2018-05-30 18:06:59 +02:00
Paul Chote
768265bbd2
Unify TargetFlash handling around Targets.
2018-05-30 18:06:59 +02:00
Paul Chote
d0be594609
Remove order.TargetActor from RepairsBridges.
2018-05-30 18:06:59 +02:00
Paul Chote
eb01fe6b26
Fix missing voice response when ordering a minelayer to reload.
2018-05-30 18:06:59 +02:00
Paul Chote
6528edecb1
Fix order queuing on Repairable.
2018-05-30 18:06:59 +02:00
Paul Chote
e5701ecb20
Remove order.TargetActor from Repairable.
2018-05-30 18:06:59 +02:00
Paul Chote
2e2f982e41
Fix order queuing on Passenger.
2018-05-30 18:06:59 +02:00
Paul Chote
c78ee66d92
Remove order.TargetActor from Passenger.
2018-05-30 18:06:59 +02:00
Paul Chote
fde531b808
Fix order queuing on RepairableNear.
2018-05-30 18:06:59 +02:00
Paul Chote
148b5cad2c
Remove order.TargetActor from RepairableNear.
2018-05-30 18:06:59 +02:00
Paul Chote
ae056e969f
Remove order.TargetActor from Harvester.
2018-05-30 18:06:59 +02:00
Paul Chote
883834f1c3
Remove order.TargetActor from Aircraft.
2018-05-30 18:06:59 +02:00
Paul Chote
4a7bb39fbe
Remove order.TargetActor from Infiltrates, EngineerRepair, ExternalCaptures.
...
These cases already checked order.Target.Type so these are simple swaps.
2018-05-30 18:06:59 +02:00
Paul Chote
6e400c5d60
Don't trigger LobbyInfoSynced on ping update.
...
This interface is only used for updating the master
server advertisement, which doesn't use the player
pings at all. Removing this should reduce the
master server traffic by a factor of several tens.
2018-05-30 18:05:32 +02:00