lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menu / main.menu
1 // Property of Alientrap
2 //
3 // Main menu
4 Item Layout Main
5 {
6         Item Layout MainBar
7         {
8                 origin          '11 17'
9                 direction       '10 0'
10         
11                 DeriveTemplate PictureButton MainButton
12                 {
13                         soundPressed    "misc/menu2.wav"
14                         colorSelected   [DefaultPicColor]
15                 }
16         
17                 Derive MainButton Campaign
18                 {
19                         normal          "$gfx/b_campaign"
20                         selected        "$gfx/b_campaign_u"
21         
22                         target  "Campaign"
23                         init    Nex_Action_SetNormalPanelLink
24                 }
25                 Derive MainButton Join
26                 {
27                         normal          "$gfx/b_join"
28                         selected        "$gfx/b_join_u"
29         
30                         target  "JoinGame"
31                         action  Nex_Action_JumpToJoinGame
32                 }
33                 Derive MainButton Create
34                 {
35                         normal          "$gfx/b_create"
36                         selected        "$gfx/b_create_u"
37         
38                         target  "CreateGame"
39                         init    Nex_Action_SetNormalPanelLink
40                 }
41                 Derive MainButton Options
42                 {
43                         normal          "$gfx/b_options"
44                         selected        "$gfx/b_options_u"
45         
46                         target  "Options"
47                         init    Nex_Action_SetNormalPanelLink
48                 }
49                 Derive MainButton Quit
50                 {
51                         normal          "$gfx/b_quit"
52                         selected        "$gfx/b_quit_u"
53         
54                         action          Nex_Quit_Action
55                 }
56         }
57         Item Layout MainInsta
58         {
59                 origin          '11 715'
60                 direction       '10 0'
61
62                 DeriveTemplate PictureButton MainButton
63                 {
64                         soundPressed    "misc/menu2.wav"
65                         colorSelected   [DefaultPicColor]
66                 }
67         
68                 Derive MainButton Credits
69                 {
70                         size            '119 39'
71                         normal          "$gfx/b_instantaction"
72                         selected        "$gfx/b_instantaction_u"
73         
74                         action          Nex_Action_Instant_Action
75                 }
76                 Derive MainButton InstantAction
77                 {
78                         size            '119 39'
79                         normal          "$gfx/b_credits"
80                         selected        "$gfx/b_credits_u"
81         
82                         action          Nex_Credits_Action
83                 }
84                 Derive MainButton Demos
85                 {
86                         size            '119 39'
87                         normal          "$gfx/b_demos"
88                         selected        "$gfx/b_demos_u"
89         
90                         target  "Demos"
91                         init    Nex_Action_SetNormalPanelLink
92                 }
93         }
94 }