summaryrefslogtreecommitdiff
path: root/assets/ui/ingame_map640480.menu
blob: ef89470b4900ba7424a7d8139da3772f78ae2ef9 (plain)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
#include "ui/menudef.h"
{
#define W  1000
#define H  800
  menuDef
  {
    name "ingame_map640480"
    visible MENU_TRUE
    rect 0 0 H W
    focusColor 1 1 1 1
    aspectBias ALIGN_LEFT
	fullscreen 0
    style WINDOW_STYLE_FILLED
	onclose
	{exec stopmusic}
    onopen
    {
	  playlooped "ui/assets/maporama.wav"
      uiScript loadArenas;
      show mapvote;
    }
    onESC
    {
    uiScript closeingame
	exec stopmusic
    }
	
	itemDef
    {
      name "aurora_add"
      style WINDOW_STYLE_SHADER
      rect -180 0 1000 480
      visible 1
	  background "ui/menu_main_aurora_base_stars"
      decoration
    }
	
	itemDef
    {
      name "aurora"
      style WINDOW_STYLE_SHADER
      rect -160 0 1000 480
      visible 1
	  background "ui/menu_main_aurora_base"
      decoration
    }

	itemDef
    {
      name mappreview
      ownerdraw UI_SELECTEDMAPPREVIEW
      rect 320 130 280 280
      visible 1
    }
	itemDef
    {
      name "boy"
	  type ITEM_TYPE_OWNERDRAW
      style WINDOW_STYLE_SHADER
      rect 510 10 100 95
      visible 1
      background "scripts/yboy"
    }   
    itemDef
    {
      name "lsm"
      text "Load Selected Map"
      type ITEM_TYPE_BUTTON
      textscale .42
      rect  115 80 120 30
      textalign ALIGN_LEFT
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
        play "ui/assets/fart.wav";
        uiScript voteMap;
        uiScript closeingame
		exec stopmusic
    }
    }
    itemDef
    {
      name "lsmn"
      text "Load Selected Map Next"
      type ITEM_TYPE_BUTTON
      textscale .42
      rect  250 80 130 30
      textalign ALIGN_LEFT
      textvalign VALIGN_CENTER
      textstyle   ITEM_TEXTSTYLE_SHADOWED
      forecolor 0 0.8 1 1
      visible 1
      action
      {
        play "ui/assets/fart.wav";
        uiScript voteNextMap;
        uiScript closeingame
		exec stopmusic
      }
    }
    itemDef
    {
      name "rcm"
      type ITEM_TYPE_BUTTON
      text "Restart Current Map"
      textstyle   ITEM_TEXTSTYLE_SHADOWED
      style WINDOW_STYLE_EMPTY
      textscale .42
      rect  425 80 100 30
      textalign ALIGN_LEFT
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
        play "ui/assets/fart.wav";
        exec "cmd callvote map_restart";
        uiScript closeingame
		exec stopmusic
    }
    }
	itemDef
    {
      name "listbox"
      rect 40 130 280 280
      type ITEM_TYPE_LISTBOX
      style WINDOW_STYLE_FILLED
      textstyle   ITEM_TEXTSTYLE_SHADOWED
      backcolor 0.00 1.35 2.55 0.2
      elementwidth 100
      elementheight 25
      textscale .35
      elementtype LISTBOX_TEXT
      feeder FEEDER_MAPS
      border WINDOW_BORDER_NONE
      forecolor 0 0.8 1 1
      backcolor    0 0.8 1 0.1
	  outlinecolor  1 1 1 0.1
      visible 1
      doubleclick
      {
        play "sound/misc/menu1.wav";
        uiScript voteMap;
        uiScript closeingame
		exec stopmusic
      }
	}
	itemDef
    {
      name        "MOR"
      rect        325 60 10 -20
      type        ITEM_TYPE_TEXT
      textalign   ALIGN_CENTER
      textscale   0.25
	  textstyle   ITEM_TEXTSTYLE_BLINK
      text        "Yalt's"
      forecolor 0 0.8 1 1
      backcolor   1 0 0 1
      visible     1
      decoration
    }
    itemDef
    {
      name        "MOR"
      rect        325 60 10 1
      type        ITEM_TYPE_TEXT
      textalign   ALIGN_CENTER
      textscale   0.50
      textstyle   ITEM_TEXTSTYLE_BLINK
      text        "MAP-O-RAMA"
      forecolor 0 0.8 1 1
      backcolor   1 0 0 1
      visible     1
      decoration
    }
    itemDef
    {
      name        "MOR"
      rect        325 55 10 15
      type        ITEM_TYPE_TEXT
      textalign   ALIGN_CENTER
      textscale   0.25
      textstyle   ITEM_TEXTSTYLE_BLINK
      text        "The easiest way to vote maps!"
      forecolor 0 0.8 1 1
      visible     1
      decoration
    }
	 itemDef
    {
      name        "legende"
      rect        310 420 10 20
      type        ITEM_TYPE_TEXT
      textalign   ALIGN_CENTER
      textscale   0.22
      textstyle   ITEM_TEXTSTYLE_SHADOWED
      text        "[yedge]^7=Yalt's Edge Maps  [official]^7=Original Tremulous Maps  [z]^7=Contributed Maps [xyedge]^7=Ported Maps ^5Maps without any tag = Not on server but on your system!"
      forecolor   1 1 1 1
      backcolor   1 0 0 1
      visible     1
      decoration
    }
  }
}