home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ INGAME ABOUT BOX \\
-
- menuDef {
- name "ingame_serverinfo"
- visible 0
- fullscreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 326 41 276 220
- focusColor 1 .75 0 1
- style 1
- border 1
-
- //Background
- itemDef {
- name window
- rect 2 2 272 216
- style 1
- backcolor 0 0 0 .5
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 2 2 272 216
- style 1
- backcolor .66 1 0 .35
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name serverinfo
- rect 5 20 320 20
- text "Server Information:"
- textalign 0
- textscale .3
- textalignx 10
- textaligny 20
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name about
- rect 0 55 256 20
- name gametypefield
- type 4
- style 0
- text "Map Name:"
- cvar mapname
- maxPaintChars 12
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
-
- itemDef {
- name about
- rect 0 70 256 20
- style 0
- //type 4
- textalign ITEM_ALIGN_RIGHT
- text "GameType:"
- type ITEM_TYPE_MULTI
- cvar "G_GAMETYPE"
- cvarFloatList { "Free For All" 0 "Tournament" 1 "Free For All" 2 "Team Deathmatch" 3 "Capture the Flag" 4 "One Flag CTF" 5 "Overload" 6 "Harvester" 7 "Team Tournament" 8 }
- textalignx 128
- textaligny 12
- textscale .25
- backcolor 0 0 .75 .25
- visible 1
- decoration
- }
- itemDef {
- name about
- rect 0 85 256 20
- type 4
- style 0
- text "Frag Limit:"
- cvarTest "G_GAMETYPE"
- showCvar { "0" ; "1" ; "2" ; "3" }
- maxPaintChars 12
- cvar fraglimit
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name about
- rect 0 100 256 20
- type 4
- style 0
- text "Time Limit:"
- maxPaintChars 12
- cvar timelimit
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
- itemDef {
- name about
- rect 0 115 256 20
- type 4
- style 0
- text "Protocol:"
- cvar protocol
- maxPaintChars 12
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
- itemDef {
- name about
- rect 0 130 256 20
- type 4
- style 0
- text "Max Clients:"
- cvar sv_maxclients
- maxPaintChars 12
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
- itemDef {
- name about
- rect 0 145 256 20
- type 4
- style 0
- text "Host Name:"
- cvar sv_hostname
- maxPaintChars 12
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
- itemDef {
- name about
- rect 0 160 256 20
- type 11
- style 0
- text "Bot/Min Players:"
- cvar bot_minplayers
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
- itemDef {
- name about
- rect 10 200 256 20
- type 4
- style 0
- text "Version:"
- cvar version
- maxPaintChars 32
- textalign ITEM_ALIGN_LEFT
- textalignx 128
- textaligny 12
- textalign 1
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- //Corners
- itemDef {
- name corners
- style 3
- rect 0 0 40 40
- background "ui/sidrial/Popup/ULCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 238 0 40 40
- background "ui/sidrial/Popup/URCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 0 182 40 40
- background "ui/sidrial/Popup/BLCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 238 182 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-
-
- }
-
-
- }
-