abcdefg30
d6d8cf05b0
Adjust IsAtGroundLevel fixing EjectOnDeath
2017-08-26 15:54:02 -07:00
Paul Chote
afd8b9ab86
Rework harvester resource claiming:
...
* Maintains lists of claims, and only restricts
reservations for friendly units.
* Removes OnNotifyResourceClaimLost; it's not
clear whether that is still useful, and it
prevents future necessary cleanups.
* Moves other code without changing behaviour.
This fixed stale claims from dead units and enemy
claims from preventing otherwise valid harvest
activities.
2017-07-18 01:09:19 +02:00
atlimit8
6aaa7fa042
ActorExts.AppearsFriendlyTo simplification
2017-04-25 15:53:50 -05:00
Paul Chote
c5547ec20b
Fix harvesters harvesting resources from underground.
2017-04-20 19:57:26 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
1506a3c26f
Fix crash with multiple RevealsShrouds targeting dead frozen actor.
2016-11-21 22:33:35 +00:00
Paul Chote
365bd5b9bd
Rename ResourceType trait fields for consistency.
2016-09-25 17:04:18 +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
atlimit8
7de98ad6d8
Merge pull request #9635 from RoosterDragon/occupy-space-perf
...
Speed up checks for IOccupySpace trait
2015-10-22 18:28:57 -05:00
reaperrr
2f69711341
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
...
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
RoosterDragon
262ab408b5
Speed up checks for IOccupySpace trait.
...
Eagerly load the trait (if it exists) in Actor, and use this reference to avoid having to perform self.Info.HasTraitInfo<IOccupySpaceInfo>() checks.
2015-10-14 20:46:15 +01:00
Pavel Penev
02be188d14
Add ActorExts.ClosestCell()
2015-09-23 19:13:34 +03:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
Matthias Mailänder
0df8b3ba39
bring back AI search for new resource patches avoiding enemies
2015-09-06 12:56:23 +02:00
Matthias Mailänder
208cfa9542
fix IsAtGroundLevel always being false for immobile actors
2015-08-09 11:45:25 +02:00
Taryn Hill
6fa1f757b0
Add Map.DistanceAboveTerrain(WPos) and Actor.IsAtGroundLevel() extension method
2015-08-01 11:48:47 -05:00
Matthias Mailänder
7447e0bf93
rename WRange to WDist
2015-07-09 10:55:38 +02:00
Taryn Hill
0dc65e5cf3
Merge pull request #7301 from abcdefg30/yearnumbers
...
Updated year numbers in all files.
2015-01-10 17:57:42 -07:00
atimoschenkow
cefd554a5e
NotifyBlocker extension method for Actor
2015-01-10 12:02:59 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
penev92
62601491ad
Move Enter and Repair Building activities, EngineerRepair trait and ActorExts to Mods.Common and extract IgnoresDisguise trait to its own file
2015-01-03 07:03:41 +02:00