summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/captflag.lay
blob: aa4157c004cc69f7acbf30686dba545880142855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" ?>
<mamelayout version="2">

  <!-- Left Flag (Red) -->
  <element name="left_flag" defstate="0">
    <!-- Top position -->
    <!-- Falgpole -->
    <rect state="0">
      <bounds x="0.95" y="0.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <!-- Flag -->
    <rect state="0">
      <bounds x="0" y="0" width="1" height="0.6"/>
      <color red="1.0" green="0.0" blue="0.0"/>
    </rect>

    <rect state="1">
      <bounds x="0.95" y="1.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="1">
      <bounds x="0" y="1" width="1" height="0.6"/>
      <color red="1.0" green="0.0" blue="0.0"/>
    </rect>

    <rect state="2">
      <bounds x="0.95" y="2.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="2">
      <bounds x="0" y="2" width="1" height="0.6"/>
      <color red="1.0" green="0.0" blue="0.0"/>
    </rect>

    <rect state="3">
      <bounds x="0.95" y="3.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="3">
      <bounds x="0" y="3" width="1" height="0.6"/>
      <color red="1.0" green="0.0" blue="0.0"/>
    </rect>
  </element>

  <!-- Right Flag (White) -->
  <element name="right_flag" defstate="0">
    <!-- Top position -->
    <!-- Falgpole -->
    <rect state="3">
      <bounds x="0" y="0.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <!-- Flag -->
    <rect state="3">
      <bounds x="0" y="0" width="1" height="0.6"/>
      <color red="1.0" green="1.0" blue="1.0"/>
    </rect>

    <rect state="2">
      <bounds x="0" y="1.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="2">
      <bounds x="0" y="1" width="1" height="0.6"/>
      <color red="1.0" green="1.0" blue="1.0"/>
    </rect>

    <rect state="1">
      <bounds x="0" y="2.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="1">
      <bounds x="0" y="2" width="1" height="0.6"/>
      <color red="1.0" green="1.0" blue="1.0"/>
    </rect>

    <rect state="0">
      <bounds x="0" y="3.6" width="0.05" height="0.4"/>
      <color red="0.8" green="0.8" blue="0.8"/>
    </rect>
    <rect state="0">
      <bounds x="0" y="3" width="1" height="0.6"/>
      <color red="1.0" green="1.0" blue="1.0"/>
    </rect>
  </element>

  <view name="Mechanical Torso (No Artwork)">

    <!-- Screen (Face) -->
    <screen index="0">
      <bounds left="0" top="0" right="3" bottom="4" />
    </screen>

    <!-- Left Arm -->
    <bezel name="left" element="left_flag">
      <bounds x="-1.1" y="0" width="1" height="4"/>
    </bezel>

    <!-- Right Arm -->
    <bezel name="right" element="right_flag">
      <bounds x="3.1" y="0" width="1" height="4"/>
    </bezel>

  </view>

</mamelayout>