summaryrefslogtreecommitdiff
path: root/assets/ui/ingame_map.menu
blob: 71b2cff5db8bebc57e4ef1ca83014da32695e5e0 (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
#include "ui/menudef.h"
{
#define W       640
#define H       480
  menuDef
  {
    name "ingame_map"
    visible MENU_FALSE
	outOfBoundsClick
    style WINDOW_STYLE_FILLED
    rect 0 0 W H
    focusColor 1 1 1 1
	onopen
    {
	  close ingame;
    }
    onESC
    {
      play "sound/misc/menu1.wav";
      close ingame_map
	  open ingame
    }
	
	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 "window"
      rect -480 250 1280 100
      style WINDOW_STYLE_FILLED
      backcolor 0 0 0 .9
      visible 1
      decoration
    }
    itemDef
    {
    name "but1"
      type ITEM_TYPE_BUTTON
      text "Widescreen Resolution (16:9)"
      style WINDOW_STYLE_EMPTY
      textscale .5
      textstyle   ITEM_TEXTSTYLE_NORMAL
      rect 230 265 200 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible 1
      action
    {
      play "sound/misc/menu1.wav";
	  close ingame_map
	  open ingame_map19201080
    }
    }
	itemDef
    {
    name "but2"
      type ITEM_TYPE_BUTTON
      text "Normal Resolution (4:3)"
      style WINDOW_STYLE_EMPTY
      textscale .5
      textstyle   ITEM_TEXTSTYLE_NORMAL
      rect 230 305 200 20
      textalign ALIGN_CENTER
      textvalign VALIGN_CENTER
      forecolor 0 0.8 1 1
      visible MENU_TRUE
      action
    {
      play "sound/misc/menu1.wav";
	  close ingame_map
	  open ingame_map640480
    }
    }
  }
}