+ Added FastMovementImpl

* Can be enabled or disabled by setting the static property 'Enabled' to true or false (disabled by default).
* Uses single-list caching for movement operations instead of multiple caches depending on direction.
* Uses deferred Linq queries to process high volumes of items in collision detection only when necessary.
* Reduces movement lag for all Mobiles, including players, even with thousands of on-screen Mobiles and Items.
This commit is contained in:
Vorspire 2015-08-22 03:26:10 +01:00
parent 9bae957ccb
commit 75c9c79a48
2 changed files with 728 additions and 0 deletions

View file

@ -508,6 +508,7 @@
<Compile Include="Engines\Party\PartyMemberInfo.cs" />
<Compile Include="Engines\Party\RemoveFromParty.cs" />
<Compile Include="Engines\Party\RemovePartyTarget.cs" />
<Compile Include="Engines\Pathing\FastMovement.cs" />
<Compile Include="Engines\Pathing\FastAStarAlgorithm.cs" />
<Compile Include="Engines\Pathing\Movement.cs" />
<Compile Include="Engines\Pathing\MovementPath.cs" />