Support split sprites for fog/shroud.

This commit is contained in:
Paul Chote
2014-06-20 23:35:03 +12:00
parent 8c4dcb7fe0
commit 8f046c7c5a
9 changed files with 61 additions and 34 deletions

Binary file not shown.

View File

@@ -72,7 +72,10 @@ World:
Name: fog
Fog: true
ShroudRenderer:
Variants: typea, typeb, typec, typed
ShroudVariants: typea, typeb, typec, typed
FogVariants: typea, typeb, typec, typed
OverrideFullShroud: full
OverrideFullFog: full
Country@gdi:
Name: GDI
Race: gdi

View File

@@ -442,6 +442,7 @@ shroud:
typed: shadow
Start: 36
Length: 12
full: fullshroud
# Note: The order of smudges and craters determines
# the index that is mapped to them in maps

Binary file not shown.

View File

@@ -87,9 +87,11 @@ World:
Offset: 12007
InvertColor: true
ShroudRenderer:
Variants: typea, typeb, typec, typed
ShroudVariants: typea, typeb, typec, typed
FogVariants: typea, typeb, typec, typed
Index: 11, 3, 7, 9, 6, 13, 12, 14, 4, 8, 2, 1, 5, 10
ShroudColor: 31
OverrideFullShroud: full
OverrideFullFog: full
ShroudBlend: Multiply
Country@Atreides:
Name: Atreides

View File

@@ -347,6 +347,8 @@ shroud:
Length: 14
Offset: -16,-16
BlendMode: Multiply
full: fullshroud
BlendMode: Multiply
rockcraters:
rockcrater1: DATA

View File

@@ -87,6 +87,7 @@ World:
Name: fog
Fog: true
ShroudRenderer:
FogVariants: shroud
Index: 255, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 20, 40, 56, 65, 97, 130, 148, 194, 24, 33, 66, 132, 28, 41, 67, 134, 1, 2, 4, 8, 3, 6, 12, 9, 7, 14, 13, 11, 5, 10, 15, 255
UseExtendedIndex: true
Country@0:

View File

@@ -387,6 +387,8 @@ resources:
shroud:
shroud: shadow #TODO: use shroud.shp
Length: *
fog: shadow
Length: *
scorches: #TODO: make use of 07-12 as well
sc1: burnt01