Commit Graph

416 Commits

Author SHA1 Message Date
abcdefg30
80f4feeab3 Let the map importer account for duplicate tiles 2017-03-17 20:00:18 +01:00
Paul Chote
f221dd721a Hide the starport animation from highlights and when not playing. 2017-02-25 10:43:00 +00:00
reaperrr
c61a7b4131 Merge pull request #12709 from pchote/spicebloom-spurt
Play spicebloom spurt animation on each growth step.
2017-02-08 15:37:16 +01:00
Paul Chote
cc3c618d60 Play spurt animation on each growth step. 2017-02-05 13:28:00 +00:00
Paul Chote
847a00e938 Remove SpawnActor from SpiceBloom. 2017-02-05 12:32:42 +00:00
reaperrr
76f8fe02e2 Refactor SpiceBloom
- Remove SpiceBloom.RespawnDelay

It is basically redundant (giving the spice bloom spawner a longer
self-kill delay at yaml level has the same effect) and uses the savegame-blocking DelayedAction, so just removing it is the cleanest solution.

- Rename SpiceBloom GrowthDelay to Lifetime

- Refactor spicebloom.spawnpoint to not use SpiceBloom trait and make it visible in editor with corresponding tooltip.
2017-02-04 12:31:19 +01:00
reaperrr
0a53a2022e Make SpiceBloom interfaces explicit 2017-02-04 12:31:17 +01:00
abcdefg30
19549a9068 Fix null being passed through the INotifyAttack interface 2017-01-29 11:07:20 +01:00
reaperrr
d05d7a6944 Remove Game.RunAfterDelay from SwallowActor
RunAfterDelay might be potentially problematic for savegame support.
2017-01-22 17:41:55 +01:00
Mustafa Alperen Seki
a1d349ee38 Make map importer use spicebloom.spawnpoint instead of spicebloom 2017-01-15 20:17:50 +02:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab Rename UpgradableTrait to ConditionalTrait. 2016-12-23 23:28:34 +00:00
Paul Chote
f360c10569 Rename ConditionManager variables. 2016-12-23 15:02:52 +00:00
Paul Chote
dcad5c3f7c Rename UpgradeManager to ConditionManager. 2016-12-23 14:57:56 +00:00
Oliver Brakmann
f15a81282e Merge pull request #12477 from pchote/conditions-lint
Add a conditions lint rule + other rules fixes.
2016-12-23 14:27:22 +01:00
Paul Chote
9ddfdc45b3 Introduce SoundType enum. 2016-12-23 11:34:23 +00:00
Paul Chote
024cc3db7e Prepare condition attributes for new lint rule. 2016-12-23 11:29:24 +00:00
Paul Chote
5719e62c2c Convert AttackSwallow to conditions. 2016-12-13 19:30:40 +00:00
Paul Chote
81113e07a6 Remove WithDecorationCarryable. 2016-11-30 19:24:43 +00:00
reaperrr
e8027a6fdf Remove hardcoded buildComplete delay in some overlays
There certainly was and possibly still is some issue this was trying to
work around, but unless it's a deal-breaker, we should rather try to fix that
issue directly instead of keeping some uncommented magical work-around.
2016-11-02 22:01:45 +01:00
reaperrr
a6b09342bc Make INotifyBuildComplete require explicit implementation 2016-10-22 18:21:52 +02:00
reaperrr
61284d73dd Make interface implementations explicit where possible in traits that implement INotifySold 2016-10-20 19:02:30 +02:00
reaperrr
22dcb1c66f Move INotifySold to Common and require explicit implementation 2016-10-20 19:02:28 +02:00
Paul Chote
f66883c925 Merge pull request #11973 from Phrohdoh/csproj-afterbuild-targets
Fix AfterBuild tasks in csprojs
2016-10-11 02:51:47 +01:00
Paul Chote
abf837a934 Add InfiltrateForDecoration trait. 2016-09-29 22:58:00 +01:00
Paul Chote
365bd5b9bd Rename ResourceType trait fields for consistency. 2016-09-25 17:04:18 +01:00
RoosterDragon
9f1c872340 Improve some exception types. 2016-09-11 15:14:44 +01:00
Taryn Hill
5308a25ab9 D2k csproj: Use MSBuild tasks instead of shelling out 2016-09-05 16:35:42 -05:00
reaperrr
39034b0de9 Allow keeping empty selection bars visible 2016-08-25 20:40:56 +02:00
reaperrr
f12e0d498c Merge pull request #11771 from pchote/split-content-files
Rework mod enumeration and split content metadata into their own files.
2016-08-18 14:59:51 +02:00
Paul Chote
3df9efb95d Rework mod enumeration / caching.
- Replaced ModMetadata.AllMods with Game.Mods.
- Store / reference mod Manifest instead of ModMetadata.
- Removes engine dependency on ModContent class.
2016-08-08 22:36:07 +01:00
Paul Chote
45a596953e Add a Utility class and update command interface. 2016-08-08 22:23:16 +01:00
evgeniysergeev
e824a4afbd Check that worm do not try to move at his current location
check latest value after while loop too
2016-07-19 22:55:43 +03:00
Matthias Mailänder
8df4e9e04c Merge PoisonedByTiberium and DamagedWithoutFoundations
into DamagedByTerrain.
2016-07-10 19:44:19 +02:00
Oliver Brakmann
9ab2ce2362 Merge pull request #11520 from reaperrr/IdleWander
Make civilians wander around when idle
2016-07-04 11:50:35 +02:00
abcdefg30
430b654460 Merge pull request #11428 from reaperrr/attack-delay
Allow attack anims/overlays to start before weapons fire
2016-07-03 18:58:07 +02:00
reaperrr
75c49620d1 Introduce INotifyAttack.PreparingAttack
And use it to allow triggering attack animations/overlays at a different point
than the actual weapon firing.
2016-07-02 16:02:00 +02:00
reaperrr
87537d9669 Move WithAttackOverlay to Mods.Common 2016-07-02 16:02:00 +02:00
Paul Chote
c706e68b73 Rework zip file updating. 2016-07-01 21:58:26 +01:00
reaperrr
09e365bc4a Fix Wanders to be usable on its own
Allows unarmed actors like civilians or harmless critters to wander around when idle.

Additionally made it upgradable.
2016-06-26 20:30:06 +02:00
Paul Chote
2355ad9dd1 Move carryall code to Mods.Common. 2016-06-21 21:38:19 +01:00
teees
8724ed29bc Support dynamic offsets in ActorPreviews. 2016-06-15 20:36:08 +01:00
teees
b7bf7b6ec0 Move mod-level ActorInits out of the engine. 2016-06-15 20:35:22 +01:00
Matthias Mailänder
5029ac705f Update to .NET 4.5 2016-05-19 21:24:21 +02:00
Paul Chote
c412e4e86c Prepare MapCreeps code for trait-defined lobby options. 2016-05-14 18:54:44 +01:00
reaperrr
fd5a597966 Move Render traits to Traits.Render namespace 2016-04-15 20:43:04 +02:00
Paul Chote
2915db67c4 Add depth buffer support to sprites and sequences. 2016-04-15 09:42:29 -04:00
Paul Chote
7315ffbcb7 Fix outdated file headers. 2016-04-10 09:41:12 -04:00
Oliver Brakmann
500216937b Move ProductionFromMapEdge from D2k to Common 2016-03-30 02:46:19 +02:00
Matthias Mailänder
dd0d8c86c6 Merge pull request #10942 from pchote/remove-map-lazyness
Remove map lazyness.
2016-03-21 20:23:47 +01:00