teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
46cf56d6ff
Remove editor-specific resource rendering.
...
Mods must manually move their *ResourceRenderer definitions from
World onto BaseWorld to restore resource rendering in the editor.
2020-08-15 18:43:40 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
01e955ca37
Implement TS-style terrain lighting.
2020-07-13 14:02:02 +02:00
Paul Chote
fdb66c769c
Change terrain layers to track sequences instead of sprites.
2020-07-13 14:02:02 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
teinarss
f0b69f8b8d
Separated resource rendering into another trait
2020-01-14 19:38:47 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Mustafa Alperen Seki
863091d5cc
Make Concrete under buildings indestructible.
2018-12-24 13:48:19 +01:00
Paul Chote
5efbcf19f2
Fix cell-out-of-bounds crashes in BuildableTerrainLayer.
2018-12-22 21:15:09 +01:00
Paul Chote
6b7f1c6458
Use EmbeddedSpritePalette in D2k.
2018-10-28 20:55:40 +00:00
Matthias Mailänder
399e451ada
Add a DamagesConcreteWarhead to remove buildable concrete.
2018-09-15 15:36:12 +02:00
Voidwalker
711bad91a3
Generalize WormManager into ActorSpawnManager.
...
Added support of multiple actors, conditions and types.
2018-03-08 15:39:44 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
reaperrr
8ec3d5ddb8
Require explicit ITickRender
2017-10-07 10:17:11 +02:00
reaperrr
9aaf800bca
Require explicit INotifyActorDisposing
2017-09-28 13:14:08 +02:00
reaperrr
a8e6cd2604
Require explicit IRenderOverlay
2017-09-28 13:14:08 +02:00
reaperrr
ec354f89cd
Make ITick implementations explicit in Mods.Cnc and Mods.D2k
2017-09-16 15:51:37 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
c412e4e86c
Prepare MapCreeps code for trait-defined lobby options.
2016-05-14 18:54:44 +01:00
Paul Chote
2915db67c4
Add depth buffer support to sprites and sequences.
2016-04-15 09:42:29 -04:00
Paul Chote
602acabe47
Remove World.TileSet.
2016-03-12 19:47:07 +00: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
Pavel Penev
861d1368a4
Unhardcode internal terrain palette name from all over the codebase
2016-01-17 19:02:16 +02: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
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
reaperrr
e37729f634
Tweak D2k worm disappear chance, spawn interval and minimum
2015-10-26 15:14:05 +01:00
Pavel Penev
f7a63ab2f8
Fix D2kEditorResourceLayer starting NetWorth
2015-10-22 01:10:16 +03:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Paul Chote
794c317687
Unhardcode BuildableTerrainLayer palette.
2015-07-18 12:14:23 +01:00
Paul Chote
bf08bbc357
Use a TerrainSpriteLayer for buildable terrain.
2015-07-18 12:14:22 +01:00
atlimit8
1bcc07ce69
Add property requirements to safe traits
2015-07-12 12:44:30 -05:00
Paul Chote
ae0d9c0e7d
Move ResourceLayer init into the constructor.
...
Stylecop rules force renaming content and render.
2015-07-06 19:54:43 +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
6e09c62fdd
Allow resource placement outside the map cordon.
2015-06-11 21:27:35 +01:00
Paul Chote
469f47aeea
Add new map editor UI.
2015-05-15 17:09:27 +01:00
Paul Chote
d211fe9fe1
Add the world components of the new editor.
2015-05-15 17:09:20 +01:00
Paul Chote
8b7453070a
Include all the relevant palettes in the asset browser.
2015-04-27 19:21:55 +12:00
Taryn Hill
4ed53c5952
Simplify return statements.
...
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
Paul Chote
e52c15553f
Remove legacy sidebar code.
2015-02-20 16:46:55 +00:00
RoosterDragon
82bea961ba
Checked LINQ queries and collections for inefficiencies.
...
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
- Collection queried often via Contains use ToHashSet to speed up lookups.
- Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
- Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
penev92
a4a8a793df
Add EnemyWatcher trait to D2k and AnnounceOnSeen to D2k units and sandworms; remove sandworm announcement on worm spawn
2015-01-17 14:41:23 +02:00
penev92
e6f1c6b460
Enhance sandworm targeting logic by having actors produce noise
2015-01-14 21:26:55 +02:00
reaperrr
0e1773ac5d
Move Production to Mods.Common
2015-01-11 03:04:39 +01:00