Commit Graph

1004 Commits

Author SHA1 Message Date
reaperrr
621cdeb996 Make color validator less permissive and increase minimum color lumination.
Closes #7902.
2015-06-08 03:07:51 +02:00
Oliver Brakmann
ce1eed6bcc Merge pull request #8432 from pchote/shroud-wpos
Add WPos shroud visibility queries.
2015-06-07 21:57:39 +02:00
Oliver Brakmann
747d762681 Merge pull request #8370 from penev92/bleed_newsDownload
Expand Battlefield News when a new news post has been downloaded
2015-06-07 21:23:37 +02:00
Matthias Mailänder
f084322162 also add namespaces to the toc 2015-06-07 21:07:37 +02:00
Paul Chote
3994e1eec9 Use FogObscures(WPos). 2015-06-07 19:50:03 +01: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
8442dc4bf0 Fixed missing ships when importing legacy RA maps 2015-06-07 15:45:16 +02:00
Matthias Mailänder
99c9841274 don't log to which player the duplicate color belonged 2015-06-06 16:50:44 +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
bean601
730cec3974 Expand Battlefield News when a new news post has been downloaded 2015-06-06 10:41:31 +03: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
Pavel Penev
c22f15de55 Merge pull request #8299 from pchote/map-visiblecells
Distinguish between all map cells and cells inside map bounds.
2015-06-03 14:59:21 +03:00
Pavel Penev
707c403cc3 Merge pull request #8342 from LipkeGu/editor-crash-colorpicker
Allow changing of player Color/Name only on main menu
2015-06-03 14:08:30 +03:00
Guido L
a1fc77980d Allow changing of player color/Name only on main menu to Allow changing of player Color/Name ONLY on main menu 2015-06-03 07:24:41 +01:00
Paul Chote
bf4722fb9f Distinguish between all map cells and cells inside map bounds. 2015-06-02 21:53:25 +01:00
Oliver Brakmann
6650e3d9c7 Merge pull request #8319 from Mailaender/hacky-currentstate-nre
Fixed possible NREs in AI.StateMachine
2015-06-02 22:35:49 +02:00
Oliver Brakmann
05e9b22af7 Merge pull request #8329 from Mailaender/worldtooltip-owner-nre
Fixed a NullReferenceException in WorldTooltipLogic
2015-06-02 22:22:10 +02:00
Matthias Mailänder
cd5c0eca79 fix possible null reference exceptions 2015-06-02 22:16:16 +02:00
Matthias Mailänder
06106b09ed fix NRE 2015-06-02 22:04:34 +02: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
Pavel Penev
d7a7dc9219 Merge pull request #8331 from Mailaender/replay-utility-nre
Added more useful exceptions to the command line utility replay parser
2015-06-01 20:04:11 +03:00
Oliver Brakmann
56e0af67fa Merge pull request #8328 from Mailaender/desc-label-nre
Made the tech description label optional
2015-06-01 17:18:42 +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
031dc1c1ff provide more useful exceptions 2015-06-01 09:03:32 +02:00
Pavel Penev
53f26adb88 Merge pull request #8309 from Mailaender/lint-neutral
Added a lint rule to check if Neutral is set up correctly
2015-06-01 02:06:06 +03:00
Pavel Penev
926900d3f9 Merge pull request #8330 from Mailaender/gametimer-nre
Fixed a NullReferenceException in GameTimeLogic
2015-06-01 01:59:32 +03:00
Pavel Penev
c11214f697 Merge pull request #8332 from Mailaender/language-extract-nre
Fixed an explicit NullReferenceException in ExtractLanguageStringsCommand
2015-06-01 01:58:28 +03: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
060e83b35d fix an explicit NRE 2015-05-31 22:13:07 +02:00
Matthias Mailänder
14a4b876e3 fix a possible NRE 2015-05-31 21:10:56 +02:00
Matthias Mailänder
7efdd6820f make the description label optional 2015-05-31 20:59:11 +02:00
Matthias Mailänder
1fd25a3d3a fix an explicit NRE from SwallowActor.WormAttack 2015-05-31 20:47:08 +02:00
Matthias Mailänder
98afa922ac Random is already in the race list 2015-05-31 20:33:29 +02:00
Oliver Brakmann
79edf648a7 Merge pull request #8308 from Mailaender/lint-owners
Added a lint check for invalid owners
2015-05-31 20:25:00 +02:00
Matthias Mailänder
44691831ad check for invalid owners 2015-05-31 18:33:23 +02:00
Oliver Brakmann
1dc1155ad7 Merge pull request #8316 from Mailaender/dispose-blank-loadscreen
Added missing disposings of the *LoadScreen base class
2015-05-31 18:13:19 +02:00
Oliver Brakmann
4d4ee90ac8 Merge pull request #8322 from Mailaender/demolish-warhead-damagemod-nre
Fixed an explicit NRE in TerrainModifiesDamage
2015-05-31 17:54:42 +02:00
Oliver Brakmann
f25300c703 Merge pull request #8320 from Mailaender/flyattack-tick-nre
Fixed a possible NRE in FlyAttack.Tick
2015-05-31 17:39:36 +02:00
Matthias Mailänder
8fe57e80df fix an explicit NRE from Demolish.OnInside 2015-05-31 16:07:55 +02:00
Matthias Mailänder
723c2d82c8 fix a possible NRE 2015-05-31 15:58:55 +02:00
Matthias Mailänder
f171b23a1b move the null check up further to catch everything 2015-05-31 15:36:48 +02:00
Matthias Mailänder
a3c8d4691a add a missing dispose of the base class 2015-05-31 15:31:22 +02:00