Paul Chote
8ae3afa3c5
Properly clean up traits that used to hook only death.
2015-05-29 19:21:35 +01:00
Paul Chote
585a43fd8f
Rename Actor.Destroy/Destroyed to Dispose/Disposed.
2015-05-29 19:08:38 +01:00
penev92
97e150e757
Introduce ICallForTransport + carryall code fixes
2015-05-26 12:43:35 +03: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
Oliver Brakmann
f251813f89
Keep downloaded files in a separate directory
...
As a side effect, this re-enables building the Windows installer on Linux hosts.
2015-05-08 20:59:24 +02:00
Oliver Brakmann
14886bc3f7
Merge pull request #8101 from penev92/bleed_references
...
Cleanup unused DLL references
2015-05-08 20:41:37 +02:00
Taryn Hill
cace31f5e9
Implement WithDecorationCarryable.
2015-05-08 09:55:40 -05:00
penev92
bb51657e40
Cleanup unused DLL references
2015-05-07 18:59:01 +03:00
Oliver Brakmann
a310411bcc
Merge pull request #8013 from penev92/bleed_wormSound
...
Add sandworm attack sound
2015-05-03 23:23:11 +02:00
Oliver Brakmann
62b3592bd4
Merge pull request #7998 from Mailaender/ts-proc-dock
...
Added the Tiberian Sun docking overlays
2015-05-03 22:50:16 +02:00
Oliver Brakmann
622685c8f4
Merge pull request #7968 from pchote/ts-tileset-depth
...
Load depth data from tmp(ts) sprites.
2015-05-03 22:31:27 +02:00
penev92
76a3b9c3b7
Add sandworm attack sound
2015-05-03 12:55:32 +03:00
Matthias Mailänder
d999617a3c
add the flame animation
2015-05-03 08:50:06 +02:00
Paul Chote
4b1f541f34
Reorganize actor and smudge loading.
...
The actor and smudge definitions are now stored
as raw MiniYamlNodes in the map. It is now the
responsibility of the consumers to parse these
into real objects.
2015-04-30 07:06:14 +12:00
Paul Chote
614f96046c
Remove RenderSprites animation keys.
2015-04-27 19:38:23 +12:00
Paul Chote
8b7453070a
Include all the relevant palettes in the asset browser.
2015-04-27 19:21:55 +12:00
abcdefg30
c4a63eee30
Merge pull request #7875 from penev92/bleed_exposePlayerReferences
...
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
penev92
2402b56da7
Reorganize PlayerReference loading to enable upgrade rules for them.
...
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
RoosterDragon
fb0cab7481
Cache results of TraitsImplementing calls.
...
If a class is caching the TraitsImplementing enumerable, instead cache the results of enumerating it to an array. The avoids having to enumerate the sequence each time it is needed.
2015-04-25 20:42:27 +01:00
Oliver Brakmann
3924e2643d
Clean up state properly when a Carryall's cargo has died
2015-04-22 21:51:01 +02:00
penev92
665c82305e
Fix carryalls telling carryables to unreserve when they are reserved for a different carryall;
...
Reserve carryable in FreeActorWithDelivery
2015-04-15 00:40:06 +03: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
84e85d8a5d
Rename Image -> Images.
2015-03-30 20:20:36 +01:00
Paul Chote
4be5334a0e
Add support for TS-style random tile variants.
2015-03-30 19:44:53 +01:00
reaperrr
1e9d1a6cb7
Cache trait look-ups in the constructor where possible for Air activities/traits
2015-03-27 13:47:04 +01:00
Oliver Brakmann
6fca67e7f6
Merge pull request #7664 from penev92/bleed_harvesterInsurance
...
Implement Carryall edge spawn, harvester delivery by carryall and harvester insurance for D2k
2015-03-25 20:03:00 +01:00
abcdefg30
c5a5bb0844
Add a missing space in the Template description
2015-03-23 17:27:51 +01:00
penev92
efee3598f9
Add D2k harvester insurance on worm frenzy
2015-03-22 17:00:59 +02:00
penev92
0d05fb5326
Implement FreeActorWithDelivery to enable off-map harvester delivery
...
Fix FreeActorInfo fields descriptions
2015-03-22 17:00:57 +02:00
penev92
7608cb93b4
Split CarryUnit into PickupUnit and DeliverUnit
2015-03-22 16:58:15 +02:00
penev92
4eb67b328f
Refactor AutoCarryall trait and rename to Carryall
...
Fixup Carryable
2015-03-22 16:58:14 +02:00
penev92
f9a2378be8
Produce D2k carryalls at the edge of the map
2015-03-22 16:58:13 +02:00
Matthias Mailänder
7be8c4461b
Merge pull request #7405 from Rydra/upstream/int2immutable
...
Made int2 class immutable
2015-03-20 16:03:46 +01:00
David Jiménez
f15f1e41e8
Made int2 struct immutable
2015-03-20 13:54:01 +01:00
Matthias Mailänder
737a0e0b67
move common traits
2015-03-15 18:25:28 +01:00
penev92
4a5b3b59ed
Properly remove worms from the world
2015-03-08 15:01:40 +02:00
penev92
58ab28206f
Fix multiple notifications in multiplayer bug
2015-03-08 15:01:38 +02:00
Paul Chote
6e08fd33c4
Update d2k map importer actor table.
2015-03-03 18:45:46 +00:00
Paul Chote
00a2146299
Adjust GetImage plumbing in preparation for race-specific sequences.
2015-03-02 20:46:24 +00:00
Paul Chote
e52c15553f
Remove legacy sidebar code.
2015-02-20 16:46:55 +00:00
Pavel Penev
e2da1f11cb
Merge pull request #7495 from abcdefg30/placed_overlay
...
Fix a visual glitch in WithBuildingPlacedOverlay
2015-02-19 00:40:58 +02:00
abcdefg30
f63bc1e001
Fix a glitch in WithBuildingPlacedOverlay
...
when transforming the actor.
2015-02-18 12:50:17 +01:00
penev92
da425f47e7
Initial implementation of D2k legacy map importer
...
Improve error handling; fix utility command description
Revert output location to working directory for both map importers
Rework how the map tiles get populated
Remove actor comments
2015-02-18 13:16:32 +02:00
ScottNZ
582b6635ff
Brace style fixes
2015-02-13 02:32:49 +13:00
huwpascoe
804cdee8f0
BugFix: harvester-carryall remote death
...
The d2k harvester would suddenly explode if the approaching carryall was
destroyed. This is because there was no distinction between the unit being
carried and the unit being reserved. To test you'll probably have to tweak
the turret missile in weapons.yaml so you can forcefire on the carryall.
* added a bool to check if carryall is actually holding it's target
* fixed harvester being stuck in reserved mode
2015-02-03 22:43:35 +00:00
Matthias Mailänder
bcda232a1c
Merge pull request #7231 from RoosterDragon/linq-checks
...
Checked LINQ queries and collections for inefficiencies.
2015-02-01 08:56:15 +01:00
Matthias Mailänder
89a5facb14
fix SP2000
2015-01-31 11:07:06 +01:00
Matthias Mailänder
7592f7d6fb
Merge pull request #7342 from LipkeGu/Draw_sprite_crash
...
Do not try to draw "null" sprites
2015-01-31 10:55:26 +01: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