trees work again.
This commit is contained in:
@@ -70,8 +70,8 @@ namespace OpenRa
|
|||||||
Timer.Time( "SeqProv, viewport: {0}" );
|
Timer.Time( "SeqProv, viewport: {0}" );
|
||||||
|
|
||||||
skipMakeAnims = true;
|
skipMakeAnims = true;
|
||||||
//foreach (var treeReference in Game.world.Map.Trees)
|
foreach (var treeReference in Game.world.Map.Trees)
|
||||||
// world.CreateActor(treeReference.Image, new int2(treeReference.Location), null);
|
world.CreateActor(treeReference.Image, new int2(treeReference.Location), null);
|
||||||
Timer.Time( "trees: {0}" );
|
Timer.Time( "trees: {0}" );
|
||||||
|
|
||||||
world.LoadMapActors(Rules.AllRules);
|
world.LoadMapActors(Rules.AllRules);
|
||||||
|
|||||||
@@ -1758,6 +1758,78 @@ MINE:
|
|||||||
SeedsOre:
|
SeedsOre:
|
||||||
-Selectable:
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES01:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES02:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES03:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES04:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES05:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES06:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES07:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES08:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
|
BOXES09:
|
||||||
|
Inherits: ^Building
|
||||||
|
Building:
|
||||||
|
Footprint: x
|
||||||
|
Dimensions: 1,1
|
||||||
|
RenderBuilding:
|
||||||
|
-Selectable:
|
||||||
|
|
||||||
FCOM:
|
FCOM:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Building:
|
Building:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- openra/sequences.xml
|
<!-- openra/sequences.xml
|
||||||
|
|
||||||
this file describes animation sequences for structures and units.
|
this file describes animation sequences for structures and units.
|
||||||
@@ -680,6 +680,33 @@
|
|||||||
<sequence name="idle" start="0" length="1" />
|
<sequence name="idle" start="0" length="1" />
|
||||||
<sequence name="burn" start="1" length="9" />
|
<sequence name="burn" start="1" length="9" />
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit name="boxes01">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes02">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes03">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes04">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes05">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes06">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes07">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes08">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
|
<unit name="boxes09">
|
||||||
|
<sequence name="idle" start="0" length="1" />
|
||||||
|
</unit>
|
||||||
<unit name="mine">
|
<unit name="mine">
|
||||||
<sequence name="idle" start="0" length="1" />
|
<sequence name="idle" start="0" length="1" />
|
||||||
</unit>
|
</unit>
|
||||||
|
|||||||
@@ -20,6 +20,15 @@ TC03
|
|||||||
TC04
|
TC04
|
||||||
TC05
|
TC05
|
||||||
MINE
|
MINE
|
||||||
|
BOXES01
|
||||||
|
BOXES02
|
||||||
|
BOXES03
|
||||||
|
BOXES04
|
||||||
|
BOXES05
|
||||||
|
BOXES06
|
||||||
|
BOXES07
|
||||||
|
BOXES08
|
||||||
|
BOXES09
|
||||||
|
|
||||||
[T01]
|
[T01]
|
||||||
Description=Tree
|
Description=Tree
|
||||||
@@ -188,3 +197,76 @@ Footprint=x
|
|||||||
Dimensions=1,1
|
Dimensions=1,1
|
||||||
Name=MINE
|
Name=MINE
|
||||||
Selectable=no
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES01]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES01
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES02]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES02
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES03]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES03
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES04]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES04
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES05]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES05
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES06]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES06
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES07]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES07
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES08]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES08
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
[BOXES09]
|
||||||
|
Description=Boxes
|
||||||
|
Traits=Building, RenderBuilding
|
||||||
|
Footprint=x
|
||||||
|
Dimensions=1,1
|
||||||
|
Name=BOXES09
|
||||||
|
Selectable=no
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user