Commit Graph

154 Commits

Author SHA1 Message Date
reaperrr
39034b0de9 Allow keeping empty selection bars visible 2016-08-25 20:40:56 +02: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
reaperrr
87537d9669 Move WithAttackOverlay to Mods.Common 2016-07-02 16:02:00 +02: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
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
Oliver Brakmann
b1fd74010f Fix filename case of sandworm attack sound 2016-03-19 23:07:59 +01:00
Paul Chote
602acabe47 Remove World.TileSet. 2016-03-12 19:47:07 +00:00
Oliver Brakmann
0039cbc590 Fix indentation in ProductionFromMapEdge 2016-03-05 14:46:16 +01:00
Oliver Brakmann
df7ec2b029 Fix ProductionFromMapEdge spawning ground units in inappropriate places 2016-03-05 14:22:12 +01:00
Oliver Brakmann
f547a4b6e9 Add ProductionSpawnLocationInit, used by ProductionFromMapEdge
This enables fixed per-factory actor spawn locations.
2016-03-05 14:16:57 +01:00
Oliver Brakmann
a1e6f65f8f Use a "real" Move instead of VisualMove in ProductionFromMapEdge 2016-03-05 14:11:52 +01:00
Oliver Brakmann
7a29cfeaea Add optional use of a rally point to ProductionFromMapEdge 2016-03-05 14:11:46 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Paul Chote
d573e21a48 Traits open files via the Map. 2016-02-18 18:12:33 +00:00
Oliver Brakmann
a04223fcd2 Merge pull request #10143 from Phrohdoh/interface-reflection
Implement a utility command to check for explicit interface implementation violations.
2016-01-18 20:23:43 +01:00
Taryn Hill
25eddb9567 Explicitly implement ISelectionBar 2016-01-17 22:33:41 -06:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Pavel Penev
861d1368a4 Unhardcode internal terrain palette name from all over the codebase 2016-01-17 19:02:16 +02:00
Paul Chote
47c97735ed Overhaul sand worm rendering and attacking. 2016-01-03 01:17:30 +00:00
abcdefg30
fa260ddee1 Document fields in DamagedWithoutFoundationInfo 2015-12-20 16:36:13 +01:00
abcdefg30
c0206b18b0 Fix DamagedWithoutFoundation causing more damage than it should
Tick caused extra damage in addition to the damage in AddedToWorld,
which lead the actor to have less health than damageThreshold.
2015-12-20 16:36:11 +01:00
Oliver Brakmann
02fa63c1b4 Merge pull request #9853 from penev92/unglobalFileSystem
Unglobal file system
2015-12-14 20:52:30 +01:00
Pavel Penev
1b88d24cfa Unstatic GlobalFileSystem and rename it to FileSystem
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
RoosterDragon
0f70e23b70 Ensure LaysTerrain doesn't access cells outside the map. 2015-12-13 16:21:08 +00:00
Matthias Mailänder
142d3ef6ab Merge pull request #9438 from atlimit8/UpgradableMobile
Upgradable Mobile and replace IDisableMove
2015-12-05 18:24:40 +01:00
atlimit8
c827dbe183 Replace IDisableMove with upgradability 2015-12-04 19:26:49 -06:00
atlimit8
019951795d Upgrades for Carryable while waiting or being carried 2015-12-04 19:19:54 -06:00
Paul Chote
03693a06eb Add CurrentSource parameter to ProjectileArgs. 2015-12-01 07:47:39 +02:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
Oliver Brakmann
a6dadbe26e Merge pull request #9926 from reaperrr/d2k-spiceblooms3
Further improve D2k spiceblooms
2015-11-22 17:17:47 +01:00
reaperrr
c4ca5d6497 Add invisible spice bloom spawn
When real spiceblooms explode, they spawn an invisible
spicebloom.spawnpoint actor, which only 'grows' when the cell is of
GrowthTerrainType. When 'exploding', it then displays the animation of
blowing spice up into the air, and spawns a real spicebloom.

This replicates the original behavior where spice blooms would only grow
on sand cells that had been harvested and free of spice.
2015-11-22 16:43:16 +01:00
reaperrr
a175f53ba7 Improve spice bloom seeding mechanism
Improve seeding target cell determination.
Draw out spice seedable cells before loop.
Default to null for SpiceBloom.Weapon.
Pull spice seeding into its own method.
Skip it completely if no seed weapon is defined.
2015-11-22 16:41:12 +01:00
reaperrr
64b1aea065 Only allow spice blooms to grow on certain terrain types 2015-11-22 16:16:24 +01:00
reaperrr
820b193d27 Fix spice bloom editor visibility 2015-11-12 19:52:55 +01:00
Matthias Mailänder
b45aa98081 Merge pull request #9888 from reaperrr/d2k-spiceblooms2
Improve D2k spiceblooms
2015-11-07 18:28:11 +01:00
reaperrr
008eda7a5f Make sure that a spice bloom spawns at least the minimum of pieces 2015-11-04 23:44:36 +01:00
reaperrr
2e6b71154a Increase variation and average of spice bloom growth 2015-11-04 23:44:36 +01:00
reaperrr
46a728826b Fix spice debris target cell randomization 2015-11-04 23:41:02 +01:00
Oliver Brakmann
177d983728 Merge pull request #9759 from atlimit8/ActorsHavingTrait
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
reaperrr
2e0a8ef9c4 Make sandworms not eat infantry 2015-10-31 13:44:00 +01:00