atlimit8
a9908bffb4
UpgradeManager after IUpgradables
2015-06-28 10:24:00 -05:00
Matthias Mailänder
7faebe874a
check for missing sequence entries using lint
2015-06-20 22:22:59 +02:00
Paul Chote
2156a234db
Render shroud outside map bounds.
...
Fixes a regression from #8337 .
2015-06-15 18:06:43 +01:00
Oliver Brakmann
ae8b146d2d
Merge pull request #8325 from Mailaender/foundations-zero-tiles
...
Fixed a division through zero
2015-06-14 23:04:09 +02:00
Paul Chote
6e09c62fdd
Allow resource placement outside the map cordon.
2015-06-11 21:27:35 +01:00
Taryn Hill
0dd6f54a11
Merge pull request #8090 from penev92/bleed_upgradableTraits
...
Make some traits upgradable.
2015-06-04 12:04:07 -05:00
Matthias Mailänder
a4f7daf47a
avoid a division through zero
2015-06-02 22:12:48 +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
Matthias Mailänder
ea5003cd2d
add new long WRange.RangeSquared to avoid integer overflows
2015-05-31 23:51:30 +02:00
penev92
5b00fddfc9
Make AttractsWorms upgradable
2015-05-30 20:01:47 +03:00
Paul Chote
8ae3afa3c5
Properly clean up traits that used to hook only death.
2015-05-29 19:21:35 +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
Taryn Hill
cace31f5e9
Implement WithDecorationCarryable.
2015-05-08 09:55:40 -05: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
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
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
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
737a0e0b67
move common traits
2015-03-15 18:25:28 +01: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
abcdefg30
f63bc1e001
Fix a glitch in WithBuildingPlacedOverlay
...
when transforming the actor.
2015-02-18 12:50:17 +01: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
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
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Matthias Mailänder
d2d715765c
Merge pull request #7263 from reaperrr/ra-common26
...
Moved Armament, Attack, Move, Air features and dependencies to Mods.Common
2015-01-04 15:33:16 +01:00
reaperrr
cb3ba37462
StyleCop fixes
2015-01-04 15:02:19 +01:00
reaperrr
654f56c5d5
Moves Attack, Armament, Move, Air traits and activities as well as anything required by them to Mods.Common.
...
Extracts Exit from Production into its own trait.
2015-01-04 05:24:28 +01:00
Matthijs Benschop
3c49364b57
Fix harvesters doing nothing after being dropped of by a carryall
2015-01-03 22:44:41 +01:00
Matthijs Benschop
740595064a
The carryable should not unreserve itself
2015-01-03 22:44:41 +01:00