Paul Chote
acab6f1f4b
Fix custom order generators for left-click targeting.
2016-04-09 11:59:54 -04:00
abcdefg30
d9d78715cd
Fix paratroopers on heightmapped terrain
2016-04-02 11:36:45 +02:00
Paul Chote
e79fbe1bb9
Reference SubCells directly from MapGrid.
2016-03-16 18:57:07 +00:00
Paul Chote
602acabe47
Remove World.TileSet.
2016-03-12 19:47:07 +00:00
reaperrr
cddf182996
Renamed ROT to TurnSpeed on Mobile, Aircraft, Turreted and ThrowsParticle
2016-03-04 15:13:55 +01:00
Oliver Brakmann
59d9eeaa08
Merge pull request #10795 from Mailaender/screenmap-bounds-crash
...
Fixed screen map updates for invisible mobile actors
2016-02-27 17:52:49 +01:00
Matthias Mailänder
9734054582
Reduce duplication.
2016-02-27 14:10:17 +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
Matthias Mailänder
3885f0b559
Fix screen map updates for boundless actors.
2016-02-21 11:34:33 +01:00
abcdefg30
24ec7b0ad7
Fix the mobile trait spamming crush-notifications
2016-02-14 19:38:12 +01:00
abcdefg30
fe5754e2bd
Change the parameters of ICrushable.CrushableBy
2016-02-14 18:51:59 +01:00
abcdefg30
8b59ce4dc2
Add a new INotifyCrushed interface
2016-02-14 18:51:56 +01:00
RoosterDragon
7fe42d7493
Fix mobility checks when we aren't checking a realized actor.
2016-02-06 22:18:30 +00:00
RoosterDragon
4b308dee02
Remove checks for self being null in Mobile.cs.
2016-02-05 22:11:11 +00:00
reaperrr
75d066d6af
Fix Mobile using legacy CenterPosition.Z check
2016-01-29 22:26:52 +01:00
teees
cb3be2cd0d
Fix units visually moving to a bogus subcell via MoveIntoWorld
2016-01-27 12:01:37 +01:00
teees
65e1e301f4
Added Gates
...
FIXUP: account for full gate footprint when updating neighbours.
FIXUP: gate-wall connection adjacency yaml.
2016-01-25 09:14:00 +01:00
Paul Chote
0039a2bdbf
Split out an ActivityUtils class.
2016-01-19 23:34:13 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
3b18c7815d
Remove Util.GetFacing.
2016-01-16 22:38:17 +00:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
RoosterDragon
4ed5a24bbe
Merge pull request #10118 from pchote/rework-order-targets
...
Rework order targeting crazyness.
2015-12-10 20:09:57 +00:00
atlimit8
c827dbe183
Replace IDisableMove with upgradability
2015-12-04 19:26:49 -06:00
atlimit8
0fc04b7a4a
Make Mobile upgradable
2015-12-04 19:22:23 -06:00
Paul Chote
373bfefc6c
Only support move orders against terrain targets.
2015-11-26 18:38:10 +00:00
Paul Chote
124c0ea041
Make CanTarget modifiers a ref parameter.
2015-11-16 20:38:53 +00:00
atlimit8
7352290c94
Move SpawnActorOnDeath to OpenRA.Mods.Common & fix spawned death actor teleportation
2015-11-05 00:55:29 -06: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
Nolt
7994d08702
Create #9435 DisableMovementOnUpgrade, rename DisableUpgrade to DisableOnUpgrade and Fixed not showing the blocked move cursor when movement is disabled.
2015-09-28 21:32:00 -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
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
RoosterDragon
0739fc80a3
Cache the speed modifiers enumerable, not just the traits, in Mobile.
2015-08-31 20:45:34 +01:00
RoosterDragon
be59d045ce
Only enumerate crushable traits once in MobileInfo.IsBlockedBy.
2015-08-31 20:45:25 +01:00
RoosterDragon
ac1658c9ce
Refactor movement cost method to avoid repeated terrain information lookups.
...
As the world tileset is fixed, the pathfinder can look up the terrain information for that tileset on creation. This is implemented by the WorldMovementInfo struct. When calculating node costs, this allows the pathfinder to avoid having to repeat this expensive dictionary lookup on every node.
2015-08-31 20:43:18 +01:00
RoosterDragon
3d94c4b216
Minor formatting fix in Mobile.cs.
2015-08-18 22:03:14 +01:00
RoosterDragon
7eab7220ff
In CanMoveFreelyInto, check if transient actor checks are needed at the start.
...
When transient actors checks are not needed, all control flows in the method return true. Therefore, we can return true directly in this case. Checking this condition is cheaper than checking for a free sub-cell, so this allows us a faster exit when we don't need to check for transient actors.
2015-08-18 22:03:13 +01:00
RoosterDragon
ca75b5af30
Factor logic for determining if an actor blocks movement into IsBlockedBy.
2015-08-18 22:03:11 +01:00
RoosterDragon
6414743f8e
Introduce HasCellCondition to avoid HasFlag overhead.
2015-08-18 22:03:09 +01:00
Taryn Hill
6fa1f757b0
Add Map.DistanceAboveTerrain(WPos) and Actor.IsAtGroundLevel() extension method
2015-08-01 11:48:47 -05:00
Matija Hustić
72e8e08f48
Step in the direction of RA2 paratroopers.
2015-07-14 20:39:06 +01:00
Oliver Brakmann
9415ced6ff
Merge pull request #8664 from Mailaender/unduplicate-mobile
...
Removed code duplication from Mobile.cs
2015-07-13 22:17:37 +02:00
atlimit8
1bcc07ce69
Add property requirements to safe traits
2015-07-12 12:44:30 -05:00
Matthias Mailänder
7447e0bf93
rename WRange to WDist
2015-07-09 10:55:38 +02:00
Matthias Mailänder
3f38d063a9
remove code duplication
2015-07-06 11:06:55 +02:00
Matthias Mailänder
50e5e9df24
check voice actor references
2015-06-20 12:09:58 +02:00
penev92
fcd9906683
Make speedModifiers Lazy
2015-05-31 00:24:12 +03:00
Paul Chote
9e5e1f1a89
Add methods to IOccupySpaceInfo.
2015-05-15 17:08:31 +01:00
David Jiménez
044b51742f
Remove plumbing for trait unit tests.
2015-05-01 16:24:14 +12:00