4 Singleplayer & Multiplayer menu
7 template for map selection
9 /////////////////////////
10 // map selection window
15 origin "0 30" // to allow easy editing of the posititons
19 name mapselection_frame
24 init nex_xp_build_maplist
29 name mapselection_label
37 name mapselection_prev
40 picture_selected "gfx/m_arrow"
41 picture_pressed "gfx/m_arrow"
42 color_selected "0.5 0.5 1"
43 color_pressed "1 0.2 0.2"
51 name mapselection_next
53 picture "gfx/m_arrow_i"
54 picture_selected "gfx/m_arrow_i"
55 picture_pressed "gfx/m_arrow_i"
56 color_selected "0.5 0.5 1"
57 color_pressed "1 0.2 0.2"
62 // template used to create the different pictures
65 name mapselection_template_picture
66 parent mapselection_frame
75 name mapselection_template_text
76 parent mapselection_frame
87 name mapselection_selsquare
88 parent mapselection_frame
89 color "0.9 0.9 0.6" //"^1 0.5 0.5"
95 ///////////////////////
97 // singleplayer options
102 name singleplayer_maxfrag_text
106 //font_size "10 10 0"
107 alignment 16 // TEXT_ALIGN_RIGHTPOS
108 flag 256 // FLAG_AUTOSETCLICK
114 name singleplayer_maxfrag_switch
115 parent singleplayer_maxfrag_text
117 //font_size "10 10 0"
118 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
121 refresh nex_xp_maxfrags
126 name singleplayer_maxtime_text
130 //font_size "10 10 0"
131 alignment 16 // TEXT_ALIGN_RIGHTPOS
132 flag 256 // FLAG_AUTOSETCLICK
138 name singleplayer_maxtime_switch
139 parent singleplayer_maxtime_text
141 //font_size "10 10 0"
142 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
145 refresh nex_xp_maxtime
150 name singleplayer_maxbots_text
154 //font_size "10 10 0"
155 alignment 16 // TEXT_ALIGN_RIGHTPOS
156 flag 256 // FLAG_AUTOSETCLICK
162 name singleplayer_maxbots_switch
163 parent singleplayer_maxbots_text
165 //font_size "10 10 0"
166 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
169 refresh nex_xp_maxbots
174 name singleplayer_mapselection
183 name singleplayer_start
186 flag 256 // FLAG_AUTOSETCLICK
191 //////////////////////
193 // multiplayer selection
196 name multiplayer_create
201 action nex_goto_createserver
205 name multiplayer_join
210 action nex_display_serverlist
212 // multiplayer options (spawn server)
215 name multiplayer_frame
223 name multiplayer_mapselection
224 parent multiplayer_frame
232 name multiplayer_gamename_text
233 parent multiplayer_frame
236 //font_size "10 10 0"
237 alignment 16 // TEXT_ALIGN_RIGHTPOS
238 flag 256 // FLAG_AUTOSETCLICK
244 name multiplayer_gamename_switch
245 parent multiplayer_gamename_text
247 //font_size "10 10 0"
248 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
249 text "xxx-game (.)(.)"
251 refresh nex_mp_hostname
256 name multiplayer_maxfrag_text
257 parent multiplayer_frame
260 //font_size "10 10 0"
261 alignment 16 // TEXT_ALIGN_RIGHTPOS
262 flag 256 // FLAG_AUTOSETCLICK
268 name multiplayer_maxfrag_switch
269 parent multiplayer_maxfrag_text
271 //font_size "10 10 0"
272 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
275 refresh nex_xp_maxfrags
280 name multiplayer_maxtime_text
281 parent multiplayer_frame
284 //font_size "10 10 0"
285 alignment 16 // TEXT_ALIGN_RIGHTPOS
286 flag 256 // FLAG_AUTOSETCLICK
292 name multiplayer_maxtime_switch
293 parent multiplayer_maxtime_text
295 //font_size "10 10 0"
296 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
299 refresh nex_xp_maxtime
304 name multiplayer_maxclients_text
305 parent multiplayer_frame
308 //font_size "10 10 0"
309 alignment 16 // TEXT_ALIGN_RIGHTPOS
310 flag 256 // FLAG_AUTOSETCLICK
316 name multiplayer_maxclients_switch
317 parent multiplayer_maxclients_text
319 //font_size "10 10 0"
320 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
323 refresh nex_mp_maxclients
328 name multiplayer_maxbots_text
329 parent multiplayer_frame
332 //font_size "10 10 0"
333 alignment 16 // TEXT_ALIGN_RIGHTPOS
334 flag 256 // FLAG_AUTOSETCLICK
340 name multiplayer_maxbots_switch
341 parent multiplayer_maxbots_text
343 //font_size "10 10 0"
344 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
347 refresh nex_xp_maxbots
355 name multiplayer_publicserv_text
356 parent multiplayer_frame
359 //font_size "10 10 0"
360 alignment 16 // TEXT_ALIGN_RIGHTPOS
361 flag 256 // FLAG_AUTOSETCLICK
367 name multiplayer_publicserv_switch
368 parent multiplayer_publicserv_text
370 //font_size "10 10 0"
371 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
374 switchchange nex_mp_publicserv
379 name multiplayer_start
380 parent multiplayer_frame
382 flag 256 // FLAG_AUTOSETCLICK
387 // multiplayer server list
392 // link the background_rect
395 name serverlist_background
396 picture "gfx/m_slist_bg"
402 name serverlist_info1
414 name serverlist_info2
424 // clip rect for the slist
427 name serverlist_cliprect
435 name serverlist_slist
436 parent serverlist_cliprect
440 refresh slist_refresh
441 flag 256 //FLAG_AUTOSETCLICK
445 // this specifies the text bar drawing behavior
450 //this specifies the selection bar drawing behavior
451 color_selected "1 0 0"