Matthias Mailänder
6c7d2095b9
Merge pull request #8464 from GraionDilach/customcameopal
...
Closes #8434
2015-06-12 21:10:12 +02:00
Zimmermann Gyula
d5a5640f52
Adds an IconPalette property to Buildable and SupportPower traits.
2015-06-12 20:33:58 +02:00
Pavel Penev
649409e2ce
Merge pull request #8430 from pchote/editor-cordon
...
Display and support editing the area outside the map bounds
2015-06-12 17:49:10 +03:00
Paul Chote
6e09c62fdd
Allow resource placement outside the map cordon.
2015-06-11 21:27:35 +01:00
Paul Chote
293c7fb840
Disable shroud in the map editor.
2015-06-11 21:27:33 +01:00
Matthias Mailänder
e2e9ce9d7e
check sequence image at RenderSprites level
2015-06-11 21:18:25 +02:00
Pavel Penev
a4f85c6201
Merge pull request #8300 from matija-hustic/withrank_trait
...
Rank effect moved to new trait
2015-06-11 04:54:08 +03:00
Matija Hustić
a4ac3ecd5f
Rank moved to new trait.
2015-06-11 02:41:29 +01:00
Pavel Penev
5097137b95
Merge pull request #8402 from obrakmann/fix8041_undeployable_conyard
...
Fix WithBuildingPlacedAnimation interrupting WithMakeAnimation
2015-06-10 14:55:22 +03:00
Oliver Brakmann
588cb7a959
Merge pull request #8337 from pchote/shroud-vertexbuffer
...
Simplify and improve shroud rendering performance.
2015-06-07 20:26:22 +02:00
Paul Chote
ec576558c0
Generate shroud cells outside the map.
2015-06-07 19:15:11 +01:00
Christopher Grant
e94435ceaf
Fixed turrets not firing at fast moving targets.
2015-06-07 12:54:56 -04:00
Paul Chote
cac7ec39f4
Rework shroud rendering using TerrainSpriteLayer.
2015-06-07 17:02:56 +01:00
Matthias Mailänder
9882a6e34d
Merge pull request #8171 from reaperrr/withunitbody1
...
Introduce WithFacingSpriteBody and related With*Animation traits
2015-06-07 17:11:48 +02:00
Oliver Brakmann
a9339d91ea
Fix WithBuildingPlacedAnimation interrupting WithMakeAnimation
...
The bug happens when a second (or third, fourth etc.) Conyard deploys while a building is placed from the first Conyard.
The `WithMakeAnimation` running on the second CY uses `Animation::PlayThen` to call `Building::Unlock` in a delegate.
`WithBuildingPlacedAnimation::BuildingPlaced` runs when a building placed and replaces the delegate from `WithMakeAnimation` with its own before it has a chance to run, and so the new Conyard never gets unlocked.
The fix is then to simply not run `BuildingPlaced` on conyards that haven't completed the make animation yet.
2015-06-06 15:13:22 +02:00
Taryn Hill
0dd6f54a11
Merge pull request #8090 from penev92/bleed_upgradableTraits
...
Make some traits upgradable.
2015-06-04 12:04:07 -05:00
reaperrr
733b7fc0b0
Added WithMoveAnimation trait
...
RenderUnitFlying -> WithUnitBody + WithMoveAnimation upgrade rule
Make TD Orca use WithMoveAnimation
Remove RenderUnitFlying
2015-06-04 14:42:11 +02:00
reaperrr
4d79cce491
Added WithAttackAnimation trait
...
Interacts with WithUnitBody.
Upgrade rule for RenderUnitReload -> RenderSprites + WithUnitBody + WithAttackAnimation
Use WithAttackAnimation for RA V2 launcher
Remove RenderUnitReload
2015-06-04 14:42:10 +02:00
reaperrr
b21ca9b7e7
Add deprecation notices to RenderUnit and RenderSimple
2015-06-04 14:42:09 +02:00
reaperrr
0e3a53bec7
Added WithFacingSpriteBody trait.
...
Extracted AutoSelectionSize into its own trait.
RenderUnit -> RenderSprites + WithFacingSpriteBody upgrade rule
Remove RenderSimple dependencies of ThrowsParticle
and WithHarvestAnimation.
2015-06-04 14:42:08 +02:00
Paul Chote
bf4722fb9f
Distinguish between all map cells and cells inside map bounds.
2015-06-02 21:53:25 +01:00
Oliver Brakmann
206c33ed41
Merge pull request #8226 from pchote/actor-disposal
...
Dispose traits when destroying an actor.
2015-06-02 19:33:22 +02:00
Oliver Brakmann
c1835e9214
Merge pull request #8327 from Mailaender/swallow-ammopool-nre
...
Fixed an explicit NRE from SwallowActor.WormAttack
2015-06-01 17:14:37 +02:00
Matthias Mailänder
ea5003cd2d
add new long WRange.RangeSquared to avoid integer overflows
2015-05-31 23:51:30 +02:00
Matthias Mailänder
1fd25a3d3a
fix an explicit NRE from SwallowActor.WormAttack
2015-05-31 20:47:08 +02:00
Matthias Mailänder
8fe57e80df
fix an explicit NRE from Demolish.OnInside
2015-05-31 16:07:55 +02:00
penev92
fcd9906683
Make speedModifiers Lazy
2015-05-31 00:24:12 +03:00
penev92
afb97ac4b4
Make WithInfantryBody upgradable
2015-05-30 20:01:38 +03:00
Paul Chote
8ae3afa3c5
Properly clean up traits that used to hook only death.
2015-05-29 19:21:35 +01:00
Paul Chote
585a43fd8f
Rename Actor.Destroy/Destroyed to Dispose/Disposed.
2015-05-29 19:08:38 +01:00
Taryn Hill
26a72fff5b
Move Cursor field to SupportPower.
2015-05-29 09:47:05 -05:00
Oliver Brakmann
16a9b9284b
Merge pull request #8167 from deniz1a/fix-sat-icon
...
Prevents satellite icons from being drawn over frozen actors.
2015-05-29 13:56:37 +02:00
Matthias Mailänder
6e6c8abc74
Merge pull request #8265 from abcdefg30/healanim
...
Don't skip the heal animation
2015-05-28 06:54:52 +02:00
Oliver Brakmann
d3bda15bdc
Merge pull request #8056 from penev92/bleed_carryalls
...
Added unit repair via order button with optional Carryall transport
2015-05-26 12:14:02 +02:00
abcdefg30
a39f966a11
Don't skip the heal animation
2015-05-26 12:00:10 +02:00
penev92
463ac0ddc2
Enable Repairable actors to call for transport to the repair pad
2015-05-26 12:44:18 +03:00
penev92
070e5109f5
Issue repair orders to Repairable units via RepairOrderGenerator
2015-05-26 12:43:34 +03:00
deniz1a
106286da23
Prevents satellite icons from being drawn over frozen actors.
2015-05-25 06:31:04 +03:00
Paul Chote
322285ef66
Update NukePaletteEffect for premultiplied alpha.
2015-05-24 18:32:42 +01:00
Pavel Penev
9ed7ef10b9
Merge pull request #8227 from obrakmann/fix8219_rise_of_the_undead_bridges
...
Fix broken bridges being initialized with a non-zero HP value
2015-05-24 15:05:29 +03:00
Pavel Penev
3ebb6573a4
Merge pull request #8228 from Mailaender/render-trait-doc
...
Added render trait documentation
2015-05-24 14:41:44 +03:00
Matthias Mailänder
5b5b0c02dd
add trait documentation
2015-05-24 13:37:04 +02:00
Oliver Brakmann
c6c9863681
Merge pull request #8176 from pchote/fix-palette-alpha
...
Load textures using premultiplied alpha.
2015-05-24 13:15:54 +02:00
Matthias Mailänder
cc34463019
require DetectCloaked as it is useless otherwise
2015-05-24 09:06:03 +02:00
Oliver Brakmann
d9f0ca362f
Fix broken bridges being initialized with a non-zero HP value
2015-05-24 02:02:20 +02:00
penev92
32bb70abca
Remove DamageWarhead.DeathType in favor of DamageWarhead.DamageTypes
2015-05-24 00:15:07 +03:00
Matthias Mailänder
486c7527c9
Merge pull request #8012 from reaperrr/voiceset
...
Extracted actor Voices from Selectable into own Voiced trait
2015-05-23 21:59:34 +02: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
Paul Chote
4eb76046f4
Fix deviator gas blending.
2015-05-23 08:50:28 +01:00