Paul Chote
44a7422375
Fix variable naming in Locomotor.
2020-03-11 15:40:12 +01:00
Paul Chote
85a5b6cc17
Fix subcell crusher logic.
2020-02-09 13:18:57 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
tovl
434c46058f
Disallow units idling on service depot.
2020-01-04 16:04:27 +00:00
abcdefg30
4717e98c48
Add a subCell parameter to IPositionableInfo.CanEnterCell
2019-11-21 14:13:17 +01:00
tovl
d2991247a3
Add separate condition to mobile for disabling nudging only.
2019-10-28 19:35:32 +01:00
tovl
c4d1468f62
Make locomotor cache and nudging logic aware of mobile trait status.
2019-10-28 19:35:32 +01:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
teinarss
d712bdea85
Locomotor cache should handle custom layers
2019-09-09 21:39:25 +02:00
teinarss
c13fb80257
Fix crushable logic for actors in cell
2019-09-07 13:31:57 +01:00
teinarss
6795fb6967
GetAvailableSubCell should block cells outside the map
2019-09-06 13:32:09 +02:00
teinarss
7544d4b4e6
Cells with Temporary blockers should not exit early in locomotor cache
2019-08-19 19:06:57 +02:00
teinarss
ff1d4ec9ae
Fix Out of sync caused by Locomotor cache
2019-08-11 09:53:02 +02:00
teinarss
4193247169
Reset Locomotor cache on world loaded
2019-08-10 17:34:11 +02:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
Tomase
98602cb1cb
Change impassable terrain to short.max
2019-08-10 17:34:11 +02:00
Paul Chote
6345655bb1
Add a PerfSample to UpdateCellBlocking.
2019-07-27 17:21:43 +02:00
teinarss
cc84daacea
Added cache for cell cost and blocking
2019-07-26 15:54:22 +02:00
teinarss
fb1af81280
Updated TerrainInfo cost to use short
2019-07-26 15:54:22 +02:00
reaperrr
a10af382b4
Add plumbing for notifying traits of movement
...
More precisely, about start and stop of movement.
2019-03-30 16:24:47 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Ectras
93977782a7
Updated Description for TerrainSpeeds
...
Added check for speed > 0
2018-10-18 18:45:51 +02:00
Chris Forbes
51e000599a
Convert crushclasses to bitset
2018-07-28 21:28:46 +01:00
Chris Forbes
d4ef841678
Convert masses of HashSet<string> to BitSet<DamageType>
2018-07-28 20:12:42 +01:00
reaperrr
9e95cd5331
Considerably raise Locomotor WaitAverage and WaitSpread
...
This considerably reduces frequency of repathing attempts without too much of an impact of in-game repathing speed, since most of the time the blocking actor doesn't move out of the way that fast anyway.
2018-05-22 13:10:43 +02:00
reaperrr
3c34330925
Skip check for ITemporaryBlocker entirely if rules don't contain any temporary blockers
...
This benefits all mods without temporary blockers like gates or energy walls.
2018-05-04 19:40:18 +02:00
reaperrr
e7fb32b09c
Replace DomainIndex passability hack with Locomotor boolean
2018-05-03 10:49:21 +02:00
reaperrr
5364515004
Don't pass movement class via IsPassable directly
...
Let IsPassable get that info from the locomotor instead.
2018-05-03 10:49:21 +02:00
reaperrr
81343926b6
Split Locomotor trait from Mobile
...
Add GrantConditionOn*Layer traits
This allows to
- drop some booleans from Locomotor
- drop a good part of the subterranean- and jumpjet-specific code/hacks from Mobile
- grant more than 1 condition per layer type (via multiple traits)
- easily add more traits of this kind for other layers
2018-05-03 10:49:21 +02:00