Use MobileInfo.GetMovementClass for domain indexing, clearing path for caching and smarter behavior

* Move DomainIndex from being a manual hard-coded hook in World to an IWorldLoaded trait.
This commit is contained in:
Andrew Aldridge
2013-06-26 23:38:01 -04:00
parent 6fb01c7ab8
commit ba885907ba
9 changed files with 169 additions and 119 deletions

View File

@@ -158,7 +158,7 @@ Player:
silo: 1
BuildingFractions:
proc: 17%
nuke: 10%
nuke: 10%
pyle: 7%
hand: 9%
hq: 1%
@@ -273,6 +273,7 @@ World:
ProductionQueueFromSelection:
ProductionTabsWidget: PRODUCTION_TABS
BibLayer:
DomainIndex:
ResourceLayer:
ResourceClaimLayer:
ResourceType@green-tib:

View File

@@ -354,6 +354,7 @@ World:
BibLayer:
BibTypes: bib3x, bib2x
BibWidths: 3, 2
DomainIndex:
ResourceLayer:
ResourceClaimLayer:
ResourceType@Spice:

View File

@@ -604,6 +604,7 @@ World:
Name: Soviet
Race: soviet
BibLayer:
DomainIndex:
ResourceLayer:
ResourceClaimLayer:
ResourceType@ore: