Commit Graph

491 Commits

Author SHA1 Message Date
Matthias Mailänder
87c2e68973 Merge pull request #8321 from penev92/bleed_lintUpgrades
Add a lint check for actor upgrades
2015-06-27 16:41:04 +02:00
Pavel Penev
55128b8f78 Merge pull request #8508 from reaperrr/damaged-sprites
Added support for damage stages to WithSpriteBody and WithTurret
2015-06-25 00:35:05 +03:00
Paul Chote
7d8ee64ce5 Reorganize shroud cell queries.
This is in preparation for a future PR that will
remove GetVisOrigins.
2015-06-21 17:01:45 +01:00
Paul Chote
01dc7edbe9 Remove duplication between CreatesShroud and RevealsShroud. 2015-06-21 17:01:44 +01:00
Paul Chote
2c3198dc27 Move shroud traits to Mods.Common. 2015-06-21 16:58:07 +01:00
reaperrr
5acc103242 Fixes infantry sequence modifier for good 2015-06-21 11:03:52 +02:00
penev92
2647811a13 Add UpgradeUsedReferenceAttribute 2015-06-21 11:06:50 +03:00
penev92
fbbd9a7eaa Add UpgradeGrantedReferenceAttribute 2015-06-21 11:06:35 +03:00
penev92
f1ec71b17d Document GlobalUpgradable 2015-06-21 11:00:17 +03:00
Oliver Brakmann
2d920c43fb Merge pull request #8511 from Mailaender/rm-openra-editor
Dropped the legacy WinForms map editor
2015-06-20 23:35:23 +02:00
Matthias Mailänder
7faebe874a check for missing sequence entries using lint 2015-06-20 22:22:59 +02:00
Matthias Mailänder
ac970cdb44 remove the WinForms map editor 2015-06-20 13:45:44 +02:00
Matthias Mailänder
0f8d22c9a6 rename for consistency 2015-06-20 12:11:45 +02:00
Matthias Mailänder
50e5e9df24 check voice actor references 2015-06-20 12:09:58 +02:00
Pavel Penev
dcae3c9dca Merge pull request #8357 from Mailaender/fix-colorpicker-nre
Fixed a crash in color picker logic when using the in-game editor
2015-06-20 10:43:40 +03:00
Matthias Mailänder
26a8ffb91d set the world owner for color picker logic 2015-06-20 08:19:06 +02:00
Paul Chote
0677c309f3 Move Shroud.IsTargetable to Player. 2015-06-19 22:02:08 +01:00
Paul Chote
b887d2bfd7 Introduce IDefaultVisibility. 2015-06-19 22:02:06 +01:00
Paul Chote
0a2757d0e0 Remove Shroud.IsExplored(Actor) and IsVisible(Actor). 2015-06-19 22:01:48 +01:00
reaperrr
248e6b0e18 Adds support for damage-stage-based sequences to WithSpriteBody and WithTurret 2015-06-19 21:16:39 +02:00
reaperrr
61ea21005a Update CustomSelectionSize description 2015-06-19 12:27:28 +02:00
reaperrr
3bcf0aab00 Move SelectionDecorations to Traits\Render 2015-06-19 12:27:27 +02:00
reaperrr
2986277490 Improved SelectionDecoration description & removed ISelectionDecoration interface 2015-06-17 21:37:24 +02:00
reaperrr
a1fa43966b Newlines to improve readability of SelectionDecorations. 2015-06-17 20:14:01 +02:00
reaperrr
875d8bac06 Move debug target path rendering to SelectionDecorations 2015-06-17 20:14:00 +02:00
reaperrr
c23ee1be2e Remove Selectable boolean from Selectable trait
Add work-around for ta/td bridge huts since they need actor Bounds to
be targetable by C4/engineer repair.
2015-06-17 20:13:59 +02:00
reaperrr
a3bd007ac7 Moved SelectionDecorations to Mods.Common
And added more settings.

Moved SelectionBoxRenderable to Mods.Common, too.
2015-06-17 20:13:52 +02:00
Paul Chote
c44afc0722 Remove viewport editor-mode assumptions. 2015-06-16 08:16:49 +01:00
Paul Chote
2156a234db Render shroud outside map bounds.
Fixes a regression from #8337.
2015-06-15 18:06:43 +01:00
Paul Chote
aee951c86f Remove region assumptions from fast shroud tests. 2015-06-15 18:06:42 +01:00
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