]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/creategame.menu
Adding my current version of the scmenu to the nexuiz cvs.
[divverent/nexuiz.git] / scmenu / creategame.menu
1 // Property of Alientrap/AK
2 //
3 // creategame.menu
4 Item Window CreateGame
5 {
6         size    '800 650'
7         Item Window Map
8         {
9                 size '350 650'
10                 flag [FlagEmbedded]
11
12                 Derive Picture Picture
13                 {
14                         picture "gfx/m_white"
15                         size    '350 300'
16                         pos     '0 14'
17                 }
18                 Derive MultiLabel Description
19                 {
20                         pos     '0 314'
21                         size    '350 336'
22                         wrap    29
23                 }
24                 Derive TextButton Prev
25                 {
26                         normal  "<<"
27
28                         action  Nex_Action_Map_Prev
29                 }
30                 Derive Label Name
31                 {
32                         alignment       [AlignCenter]
33                         size            '302 14'
34                         pos             '24 0'
35                 }
36                 Derive TextButton Next
37                 {
38                         normal  ">>"
39                         pos     '326 0'
40
41                         action  Nex_Action_Map_Next
42                 }
43                 Item Task_Job Job
44                 {
45                         init    Nex_Automation_UpdateMap
46                 }
47         }
48         Item Layout Settings
49         {
50                 pos             '350 0'
51                 size            '450 650'
52                 origin          '175 0'
53                 alignment       [AlignFirst]
54                 direction       [Nex_DefaultVertDirection]
55                 flag            [FlagEmbedded]
56
57                 DeriveTemplate Nex_Composition Nex_Option_EditBox
58                 {
59                         DeriveTemplate Nex_Automation_Option_EditBox Automation
60                         {}
61                         DeriveTemplate TextButton Description
62                         {}
63                         DeriveTemplate EditBox EditBox
64                         {
65                                 size    '260 12'
66                                 action  Nex_Action_TestOnChange
67                                 select  Nex_Action_TestOnSelect
68                         }
69                 }
70
71                 Derive Nex_Option_EditBox Hostname
72                 {
73                         text    "Server Name"
74                         target  "Data::CreateGame::Hostname::Text"
75                 }
76                 Derive Nex_Composition Gametype
77                 {
78                         Derive TextButton Description
79                         {
80                                 normal  "Game Mode"
81                                 link    "##next"
82                         }
83                         Derive SwitchButton Switch
84                         {
85                                 target  "Data::CreateGame::ServerProgs::Switch"
86                                 action  Nex_Action_TestOnChange
87                         }
88                 }
89                 Derive Nex_Composition PublicServer
90                 {
91                         Derive TextButton Description
92                         {
93                                 normal  "Public Server"
94                                 link    "##next"
95                         }
96                         Derive SwitchButton Switch
97                         {
98                                 target  "Data::CreateGame::PublicServer::Switch"
99                                 action  Nex_Action_TestOnChange
100                         }
101                 }
102                 Derive Nex_Option_EditBox FragLimit
103                 {
104                         text    "Frag Limit"
105                         target  "Data::CreateGame::FragLimit::Text"
106                 }
107                 Derive Nex_Option_EditBox TimeLimit
108                 {
109                         text    "Time Limit"
110                         target  "Data::CreateGame::TimeLimit::Text"
111                 }
112                 Derive Nex_Option_EditBox MaxPlayer
113                 {
114                         text    "Max Players"
115                         target  "Data::CreateGame::MaxPlayers::Text"
116                 }
117                 Derive Nex_Line Seperator1
118                 {}
119                 Derive Nex_Option_EditBox NumBots
120                 {
121                         text    "Bot Count"
122                         target  "Data::CreateGame::NumBots::Text"
123                 }
124                 Derive Nex_Composition BotSkill
125                 {
126                         Derive TextButton Description
127                         {
128                                 normal  "Skill Level"
129                                 link    "##next"
130                         }
131                         Derive SwitchButton Switch
132                         {
133                                 target  "Data::CreateGame::BotSkill::Switch"
134                                 action  Nex_Action_TestOnChange
135                         }
136                 }
137                 Derive Nex_Void Seperator2
138                 {}
139                 Derive TextButton StartMap
140                 {
141                         normal  "Start"
142
143                         action  Nex_Action_Map_Start
144                 }
145         }
146 }