]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/creategame/basic.menu
lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menu / creategame / basic.menu
1 // Property of Alientrap/AK
2 //
3 // creategame/basic.menu
4 Item Window Basic
5 {
6         Item Window Map
7         {
8                 pos     '0 50'
9                 size '400 585'
10                 flag [FlagEmbedded]
11
12                 DeriveTemplate Nex_Composition Nex_Option_MapType
13                 {
14                         DeriveTemplate Nex_Automation_Option_Switch Automation
15                         {}
16                         DeriveTemplate TextButton Description
17                         {}
18                         DeriveTemplate SwitchButton Switch
19                         {
20                                 size    '200 12'
21                                 action  Nex_Action_Maplist_ChangeMapType
22                         }
23                 }
24
25                 Derive Picture PrevPicture
26                 {
27                         size    '30 18'
28                         picture "gfx/create_map_nav"
29                         pos     '30 25'
30                 }
31                 Derive TextButton Prev
32                 {
33                         normal  "<<"
34                         pos     '33 29'
35                         action  Nex_Action_MapSelector_Prev
36                 }
37                 Derive Picture NamePicture
38                 {
39                         picture         "gfx/create_map_nav_background"
40                         size            '305 18'
41                         pos             '60 24'
42                 }
43                 Derive Label Name
44                 {
45                         alignment       [AlignCenter]
46                         color           "1 1 1"
47                         size            '306 14'
48                         pos             '64 29'
49                 }
50                 Derive Picture NextPicture
51                 {
52                         size    '30 18'
53                         picture "gfx/create_map_nav"
54                         pos     '366 25'
55                 }
56                 Derive TextButton Next
57                 {
58                         normal  ">>"
59                         pos     '369 29'
60
61                         action  Nex_Action_MapSelector_Next
62                 }
63                 Derive Picture Table1
64                 {
65                         picture "gfx/create_map_border"
66                         pos     '20 35'
67                         size    '385 275'
68                 }
69                 Derive Picture Picture
70                 {
71                         picture "gfx/m_white"
72                         size    '323 226'
73                         pos     '51 60'
74                 }
75                 Derive Picture Table2
76                 {
77                         picture "gfx/create_map_desc_background"
78                         pos     '20 295'
79                         size    '385 245'
80                 }
81                 Derive MultiLabel Description
82                 {
83                         pos     '38 298'
84                         size    '383 285'
85                         wrap    32
86                         fontSize '11 11 0'
87                 }
88                 Derive Nex_Option_MapType MapType
89                 {
90                         pos '50 5'
91                         text    "Filter"
92                         target  "Data::Server::Map::Query::Switch"
93                 }
94                 Item Task_Job UpdateJob
95                 {
96                         update  Nex_MapSelector_UpdateMap
97                 }
98         }
99         Item Layout Settings
100         {
101                 pos             '400 80'
102                 size            '500 585'
103                 origin          '250 0'
104                 alignment       [AlignFirst]
105                 direction       [Nex_DefaultVertDirection]
106                 flag            [FlagEmbedded]
107
108                 DeriveTemplate Nex_Composition Option_EditBox
109                 {
110                         DeriveTemplate Nex_Automation_Option_EditBox Automation
111                         {}
112                         DeriveTemplate TextButton Description
113                         {}
114                         DeriveTemplate EditBox EditBox
115                         {
116                                 size    '200 12'
117                                 action  Nex_Action_TestOnChange
118                                 select  Nex_Action_TestOnSelect
119                         }
120                 }
121
122                 Derive Option_EditBox Hostname
123                 {
124                         text    "Server Name"
125                         target  "Data::Server::Hostname::Text"
126                 }
127                 //Derive Nex_Option_Switch GameMode
128                 //{
129                 //      text    "Game Mode"
130                 //      target  "::Data::Server::GameMode::Switch"
131                 //}
132                 Derive Nex_Option_Switch GameType
133                 {
134                         text    "Mod"
135                         target  "Data::Server::ServerProgs::Switch"
136                 }
137                 Derive Nex_Option_Switch PublicServer
138                 {
139                         text    "Public Server"
140                         target  "Data::Server::PublicServer::Switch"
141                 }
142                 Derive Option_EditBox MaxPlayer
143                 {
144                         text    "Max Players"
145                         target  "Data::Server::MaxPlayers::Text"
146                 }
147                 Derive Nex_Line Seperator1
148                 {}
149                 Derive Option_EditBox NumBots
150                 {
151                         text    "Bot Count"
152                         target  "Data::Server::NumBots::Text"
153                 }
154                 Derive Nex_Option_Switch BotSkill
155                 {
156                         text    "Skill Level"
157                         target  "Data::Server::BotSkill::Switch"
158                 }
159                 Derive Nex_Line Seperator2
160                 {}
161                 Derive Option_EditBox ServerFrameTime
162                 {
163                         text    "Server Frame Time"
164                         target  "Data::Server::ServerFrameTime::Text"
165                 }
166                 Derive Option_EditBox ServerMaxRate
167                 {
168                         text    "Server Max Rate"
169                         target  "Data::Server::ServerMaxRate::Text"
170                 }
171                 Derive Nex_Void Seperator3
172                 {}
173                 Derive PictureButton Start
174                 {
175                         normal          "$gfx/create_b_start"
176
177                         action  Nex_Action_Map_Start
178                 }
179         }
180 }