Commit Graph

1320 Commits

Author SHA1 Message Date
Paul Chote
30dcbeb873 Remove legacy Move constructor. 2016-06-25 16:29:47 +01:00
reaperrr
38e1d409ff Make Wanders.TickIdle virtual
So inheriting traits can override it.
2016-06-24 16:43:54 +02:00
reaperrr
4eb17e1642 Fix all wandering actors wandering at first game tick
NotifyBecomingIdle is only notified at the first idle tick, so `countdown` is not set when TickIdle checks it at first game tick. Therefore, we let TickIdle return early at first game tick to avoid that.
2016-06-24 16:43:53 +02:00
Oliver Brakmann
c2d4a3a8e8 Merge pull request #11470 from pchote/fix-direction-check
Fix Mobile.IsMovingInMyDirection check.
2016-06-22 22:49:03 +02:00
Paul Chote
2355ad9dd1 Move carryall code to Mods.Common. 2016-06-21 21:38:19 +01:00
reaperrr
526f851489 Merge pull request #11426 from pchote/actorpreview-dynamic-facing
Support dynamic ActorPreview facings and creating previews from live actors.
2016-06-20 14:38:11 +02:00
reaperrr
7467a0e1a9 Merge pull request #11451 from pchote/map-lua-options
Port map difficulties to new lobby options backend.
2016-06-20 13:03:47 +02:00
reaperrr
94bde04422 Merge pull request #11483 from Mailaender/supportpower-factionspeech
Added support power speech notifications
2016-06-20 12:21:48 +02:00
Paul Chote
8ce4ab0bd1 Port map difficulty to new options backend. 2016-06-19 22:15:26 +01:00
Paul Chote
1d1b97cb6a Add ScriptLobbyDropdown trait and lua API. 2016-06-19 22:15:26 +01:00
abcdefg30
a8fc18522e Merge pull request #11479 from reaperrr/improve-shadow
Improve WithShadow
2016-06-19 22:29:29 +02:00
reaperrr
cc9b24d932 Make WithShadow Offset and ZOffset customizable 2016-06-19 19:13:10 +02:00
Matthias Mailänder
409fe9067a Add speech notification equivalents to support power sounds. 2016-06-19 18:46:05 +02:00
reaperrr
723c107aa5 Merge pull request #11473 from pchote/shroud-map-crate
Disable hide map crate if explored map is enabled.
2016-06-19 18:32:11 +02:00
reaperrr
6b1adbacc4 Make WithShadow public and upgradable 2016-06-19 15:16:28 +02:00
reaperrr
38295341a8 Merge pull request #11445 from abcdefg30/emp-support-power
Emp support power take 2
2016-06-18 21:14:01 +02:00
Paul Chote
9edf4be229 Disable hide map crate if explored map is enabled. 2016-06-18 14:18:05 +01:00
Paul Chote
cf23c85834 Fix Mobile.IsMovingInMyDirection check.
self.Location returns mobile.ToCell, so the old
code would always return a dot product of 0.
2016-06-18 13:07:59 +01:00
Paul Chote
8a6bc1f6f1 Merge pull request #11308 from reaperrr/fix-11304-IsMoving
Fix IsMoving returning false when activity is a MovePart-derivative
2016-06-18 11:32:51 +01:00
Zimmermann Gyula
58a0e381a5 Expose ParachutableInfo. 2016-06-18 11:37:57 +02:00
Paul Chote
eb5b50185c Add IActorPreviewInitModifier interface. 2016-06-15 20:36:25 +01:00
Paul Chote
970caf38c6 Support dynamic initial turret facings. 2016-06-15 20:36:24 +01:00
teees
4fa3ecfafb Add DynamicFacingInit. 2016-06-15 20:36:23 +01:00
teees
8724ed29bc Support dynamic offsets in ActorPreviews. 2016-06-15 20:36:08 +01:00
Paul Chote
4c5429200e Don’t double-notify passenger addition. 2016-06-15 20:35:22 +01:00
Paul Chote
3585d8afd4 Remove legacy installation logic. 2016-06-14 20:18:57 +01:00
teees
86eabeea3f Add AttackOrderPower as Supportpower 2016-06-14 20:18:44 +02:00
Curtis Shmyr
f05c537491 Merge pull request #11447 from obrakmann/fix11446_fix-disabled-aa-tracking-targets
Fix disabled AA gun continuing to track targets
2016-06-13 18:08:51 -06:00
Oliver Brakmann
79fa3f731e Merge pull request #11435 from reaperrr/remove-rotoroverlay
Remove WithSpriteRotorOverlay
2016-06-13 21:59:32 +02:00
Oliver Brakmann
3edc4da15c Fix disabled AA gun continuing to track targets 2016-06-12 18:01:04 +02:00
abcdefg30
d97d02b97f Merge pull request #11407 from reaperrr/ts-infantry-tweaks
Various TS infantry fixes
2016-06-12 14:42:12 +02:00
reaperrr
ce73faaa1f Change WithDeathAnimation to look up string rather than integers
For DeathType sequence mapping.
2016-06-12 14:25:31 +02:00
reaperrr
0947e7bdd6 Introduce ExplosionOnDamageTransition
And use it for TS cyborgs.
2016-06-12 14:25:26 +02:00
reaperrr
e59a491c1b Allow UpgradeOnDamage to grant permanent upgrades
Needed to properly implement things like permanently crippled weapons or limbs.
2016-06-12 14:25:23 +02:00
reaperrr
9def6b0f70 Merge pull request #11211 from Mailaender/debugcustomterrain
Added a CustomTerrainDebugOverlay
2016-06-12 11:53:47 +02:00
reaperrr
1adf887c75 Remove WithSpriteRotorOverlay
This is now redundant as WithIdleOverlay + upgrades can be used to completely replicate its functionality.
2016-06-11 17:43:10 +02:00
reaperrr
b1e331e7ec Merge pull request #11364 from pchote/lobby-trait-options
Unhardcode the lobby options backend.
2016-06-11 13:40:09 +02:00
Matthias Mailänder
9b6e15ea78 Add a CustomTerrain debug overlay. 2016-06-06 19:25:37 +02:00
teees
524bc3d45f Added INotifyBurstComplete trait interface to notify when a full salvo has been fired 2016-06-04 22:33:28 +02:00
reaperrr
f35338e88b Fix some style issues in Mobile 2016-06-04 21:44:48 +02:00
Oliver Brakmann
8de91be069 Merge pull request #11380 from Mailaender/upgrade-on-terrain
Added UpgradeOnTerrain
2016-06-04 18:16:55 +02:00
Matthias Mailänder
3dc472bb06 Add UpgradeOnTerrain. 2016-06-04 17:42:58 +02:00
reaperrr
099c44f6f9 Remove ActorExtensionsForMove
And use IMove.IsMoving instead.
2016-06-04 16:34:47 +02:00
reaperrr
3f19e7c9de Merge pull request #11374 from obrakmann/fix-koth-capture-notification
Fix calling OnOwnerChange with wrong player in ProximityCapturable
2016-06-04 13:47:51 +02:00
Paul Chote
24f166595f Convert lobby dropdowns to new options backend. 2016-06-04 10:06:18 +01:00
Paul Chote
eb884ca76f Convert lobby checkboxes to new options backend. 2016-06-04 10:03:06 +01:00
Paul Chote
d27d265bdd Add Id field to ProvidesTechPrerequisite. 2016-06-04 10:03:05 +01:00
Matthias Mailänder
1a2851bdaf Merge pull request #11316 from obrakmann/mp-allies02
Add Scott's Allies02 multiplayer mission as "Evacuation"
2016-05-30 19:49:07 +02:00
Oliver Brakmann
e6dcf3dee6 Fix calling OnOwnerChange with wrong player in ProximityCapturable
The actor's owner only gets changed in an end frame task queued by `Actor.ChangeOwner`. So during this frame end task, `self.Owner` still points to the old owner, whereas we want the new one, represented by `captor.Owner`.

This bug lead to the capture notification being played when *losing* a building, but not when actually capturing it.
2016-05-29 20:33:34 +02:00
Oliver Brakmann
363d47f08b Merge pull request #11194 from abcdefg30/providesTech
Fix ProvidesPrerequisite not refreshing the tech tree (on owner change)
2016-05-29 20:30:23 +02:00