Merge pull request #9189 from reaperrr/bye-rendersimple3

Remove RenderBuilding
This commit is contained in:
Pavel Penev
2015-09-02 19:21:01 +03:00
53 changed files with 559 additions and 408 deletions

View File

@@ -261,7 +261,7 @@ AMMOCRAT:
Type: none
Health:
HP: 1
RenderBuilding:
RenderSprites:
Palette: player
BBOARD01:
@@ -625,7 +625,7 @@ CAARAY:
Type: concrete
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
CAARMR:
@@ -639,7 +639,7 @@ CAARMR:
Type: concrete
Health:
HP: 800
RenderBuilding:
RenderSprites:
Palette: player
ProvidesPrerequisite:
Prerequisite: barracks.upgraded
@@ -655,7 +655,7 @@ CABHUT:
Dimensions: 1, 1
Health:
HP: 2000
RenderBuilding:
RenderSprites:
Palette: player
CACRSH01:
@@ -729,7 +729,7 @@ CAHOSP:
Type: concrete
Health:
HP: 800
RenderBuilding:
RenderSprites:
Palette: player
CAPYR01:
@@ -1130,7 +1130,7 @@ GAKODK:
Type: heavy
Health:
HP: 1500
RenderBuilding:
RenderSprites:
Palette: player
WithIdleOverlay@LARGELIGHTS:
Sequence: large-lights
@@ -1150,7 +1150,7 @@ GAOLDCC1:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GAOLDCC2:
@@ -1164,7 +1164,7 @@ GAOLDCC2:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GAOLDCC3:
@@ -1178,7 +1178,7 @@ GAOLDCC3:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GAOLDCC4:
@@ -1192,7 +1192,7 @@ GAOLDCC4:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GAOLDCC5:
@@ -1206,7 +1206,7 @@ GAOLDCC5:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GAOLDCC6:
@@ -1220,7 +1220,7 @@ GAOLDCC6:
Type: heavy
Health:
HP: 400
RenderBuilding:
RenderSprites:
Palette: player
GASAND:
@@ -1247,7 +1247,7 @@ GASAND:
NodeTypes: sandbags
LineBuildNode:
Types: sandbags
RenderBuildingWall:
WithWallSpriteBody:
Type: sandbags
GASPOT:
@@ -1283,7 +1283,7 @@ GALITE:
Cost: 200
Tooltip:
Name: Light Post
RenderBuilding:
RenderSprites:
Palette: terraindecoration
-WithMakeAnimation:
-WithDeathAnimation:
@@ -1340,7 +1340,7 @@ NAMNTK:
Type: heavy
Health:
HP: 1500
RenderBuilding:
RenderSprites:
Palette: player
WithIdleOverlay@LIGHTS:
Sequence: idle-lights
@@ -1358,7 +1358,7 @@ NTPYRA:
Type: heavy
Health:
HP: 1500
RenderBuilding:
RenderSprites:
Palette: player
WithIdleOverlay@LIGHTS:
Sequence: idle-lights
@@ -1368,7 +1368,7 @@ UFO:
Building:
Dimensions: 6, 4
Footprint: xxxxxx xxxxxx xxxxxx xxxxxx
RenderBuilding:
RenderSprites:
Palette: terraindecoration
Selectable:
Bounds: 144, 72, 0, 0

View File

@@ -84,7 +84,9 @@
DamagedSounds: expnew01.aud
DestroyedSounds: crmble2.aud
QuantizeFacingsFromSequence:
RenderBuilding:
RenderSprites:
WithSpriteBody:
AutoSelectionSize:
WithBuildingExplosion:
Sequences: building, large_bang, large_brnl, verylarge_clsn, large_tumu
EngineerRepairable:
@@ -136,7 +138,7 @@
Range: 4c0
Tooltip:
Description: Civilian Building
RenderBuilding:
RenderSprites:
Palette: terraindecoration
^CivBillboard:
@@ -187,7 +189,9 @@
Types: wall
TargetableBuilding:
TargetTypes: Ground, Wall, C4
RenderBuildingWall:
RenderSprites:
AutoSelectionSize:
WithWallSpriteBody:
Type: wall
GivesExperience:
AutoTargetIgnore:
@@ -532,8 +536,10 @@
^BlossomTree:
Tooltip:
Name: Blossom Tree
RenderBuilding:
RenderSprites:
Palette: player
WithSpriteBody:
AutoSelectionSize:
Building:
Footprint: x
Dimensions: 1,1
@@ -638,7 +644,9 @@
Dimensions: 1,1
Footprint: x
TerrainTypes: Clear, Road, DirtRoad, Rough
RenderBuilding:
RenderSprites:
WithSpriteBody:
AutoSelectionSize:
WithMakeAnimation:
SelectionDecorations:
Palette: pips

View File

@@ -247,7 +247,7 @@ GADEPT:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 98, 68, -6, -6
RenderBuilding:
RenderSprites:
Image: gadept.gdi
FactionImages:
gdi: gadept.gdi
@@ -348,7 +348,6 @@ GAPLUG:
CanPowerDown:
IndicatorPalette: mouse
DisabledOverlay:
RenderBuilding:
WithIdleOverlay@DISH:
Sequence: idle-dish
WithIdleOverlay@LIGHTS:

View File

@@ -25,6 +25,9 @@ GAWALL:
GACTWR:
Inherits: ^Defense
-WithSpriteBody:
WithWallSpriteBody:
Type: wall
Valued:
Cost: 600
Tooltip:
@@ -102,9 +105,6 @@ GACTWR:
Sequence: idle-lights
LineBuildNode:
Types: turret
-RenderBuilding:
RenderBuildingWall:
Type: wall
Power@base:
Amount: -10
Power@turrets:

View File

@@ -206,7 +206,6 @@ GAARTY:
MuzzleSequence: muzzle
BodyOrientation:
QuantizedFacings: 32
RenderBuilding:
RenderVoxels:
LightAmbientColor: 0.4, 0.4, 0.4
WithVoxelBarrel:

View File

@@ -97,7 +97,7 @@ PROC:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 134, 122, 0, -18
RenderBuilding:
RenderSprites:
Image: proc.gdi
FactionImages:
gdi: proc.gdi
@@ -126,12 +126,13 @@ GASILO:
Type: Wood
RevealsShroud:
Range: 4c0
-RenderBuilding:
RenderBuildingSilo:
RenderSprites:
Image: gasilo.gdi
FactionImages:
gdi: gasilo.gdi
nod: gasilo.nod
WithSpriteBody:
WithSiloAnimation:
WithIdleOverlay@UNDERLAY:
Sequence: idle-underlay
WithIdleOverlay@LIGHTS:

View File

@@ -60,7 +60,7 @@ NAPULS:
Amount: -150
SelectionDecorations:
VisualBounds: 78, 54, 0, -12
RenderBuilding:
RenderSprites:
Image: napuls.gdi
FactionImages:
gdi: napuls.gdi

View File

@@ -11,7 +11,7 @@ BIGBLUE:
Inherits: ^BlossomTree
Tooltip:
Name: Large Blue Tiberium Crystal
RenderBuilding:
RenderSprites:
Palette: bluetiberium
RadarColorFromTerrain:
Terrain: BlueTiberium

View File

@@ -16,11 +16,14 @@ gacnst:
ShadowStart: 24
crane-overlay: gtcnst_d
Length: 20
ZOffset: 1023
damaged-crane-overlay: gtcnst_d
Length: 20
ZOffset: 1023
critical-crane-overlay: gtcnst_d
Start: 20
Length: 20
ZOffset: 1023
idle-top: gtcnst_c
Length: 15
Tick: 200
@@ -109,10 +112,12 @@ gapile:
production-lights: gtpile_a
Length: 7
Tick: 200
ZOffset: 1023
damaged-production-lights: gtpile_a
Start:7
Length: 7
Tick: 200
ZOffset: 1023
idle-light: gtpile_b
Length: 7
Tick: 200
@@ -273,10 +278,12 @@ nahand:
production-light: nthand_a
Length: 5
Tick: 100
ZOffset: 1023
damaged-production-light: nthand_a
Start: 5
Length: 5
Tick: 100
ZOffset: 1023
idle-lights: nthand_b
Length: 8
Tick: 200
@@ -1163,10 +1170,10 @@ namisl:
make: ntmislmk
Length: 18
ShadowStart: 18
active: ntmisl_a
active: ntmisl_a # TODO: This is an overlay, but currently used as animation
Length: 10
Tick: 80
damaged-active: ntmisl_a
damaged-active: ntmisl_a # TODO: This is an overlay, but currently used as animation
Start: 10
Length: 10
Tick: 80