Merge pull request #7457 from pchote/actorpreviews

Introduce ActorPreviewWidget (and other related changes).
This commit is contained in:
Pavel Penev
2015-02-21 01:35:03 +02:00
40 changed files with 476 additions and 313 deletions

View File

@@ -29,14 +29,11 @@ Background@COLOR_CHOOSER:
Y: 2
Width: 144
Height: 72
SpriteSequence@FACT:
ActorPreview@PREVIEW:
X: 153
Y: 1
Width: 80
Height: 73
Palette: colorpicker
Unit: fact
Sequence: idle
Button@RANDOM_BUTTON:
Key: tab
X: 158

View File

@@ -20,6 +20,7 @@ Metrics:
TextContrast: false
TextContrastColor: 0,0,0
ColorPickerRemapIndices: 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95
ColorPickerActorType: ^fact.colorpicker
SpawnFont: TinyBold
SpawnColor: 255,255,255
SpawnContrastColor: 0,0,0

View File

@@ -368,6 +368,12 @@ waypoint:
RenderEditorOnly:
BodyOrientation:
^fact.colorpicker:
Inherits: FACT
RenderBuilding:
Image: fact
Palette: colorpicker
CTFLAG:
Inherits: ^TechBuilding
Building: