]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/main.menu
primitive version of instant action
[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          '132 9'
9                 direction       '10 0'
10         
11                 DeriveTemplate PictureButton MainButton
12                 {
13                         soundPressed    "misc/menu2.wav"
14                 }
15         
16                 Derive MainButton Join
17                 {
18                         normal          "$gfx/b_join"
19                         selected        "$gfx/b_join_u"
20         
21                         target  "JoinGame"
22                         action  Nex_Action_JumpToJoinGame
23                 }
24                 Derive MainButton Create
25                 {
26                         normal          "$gfx/b_create"
27                         selected        "$gfx/b_create_u"
28         
29                         target  "CreateGame"
30                         init    Nex_Action_SetNormalPanelLink
31                 }
32                 Derive MainButton Options
33                 {
34                         normal          "$gfx/b_options"
35                         selected        "$gfx/b_options_u"
36         
37                         target  "Options"
38                         init    Nex_Action_SetNormalPanelLink
39                 }
40                 Derive MainButton Credits
41                 {
42                         normal          "$gfx/b_credits"
43                         selected        "$gfx/b_credits_u"
44         
45                         action          Nex_Credits_Action
46                 }
47                 Derive MainButton Quit
48                 {
49                         normal          "$gfx/b_quit"
50                         selected        "$gfx/b_quit_u"
51         
52                         action          Nex_Quit_Action
53                 }
54         }
55         Item Layout MainInsta
56         {
57                 origin          '440 690'
58
59                 DeriveTemplate PictureButton MainButton
60                 {
61                         soundPressed    "misc/menu2.wav"
62                 }
63         
64                 Derive MainButton InstantAction
65                 {
66                         normal          "$gfx/b_instantaction"
67                         selected        "$gfx/b_instantaction_u"
68         
69                         action          Nex_Action_Instant_Action
70                 }
71         }
72 }