summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-06-30 03:23:39 +0000
committerTim Angus <tim@ngus.net>2002-06-30 03:23:39 +0000
commit5d6752b15d995f1af06d812475275e1a877e3d32 (patch)
tree702e384573e5ce5fa0e06c537ec72035d69156d7 /ui
parent9ef13732711d4b37336472f1e5bf1a2a063c6541 (diff)
Ingame menu alterations
Diffstat (limited to 'ui')
-rw-r--r--ui/ingame.menu629
-rw-r--r--ui/ingame.txt7
-rw-r--r--ui/ingame_about.menu704
3 files changed, 576 insertions, 764 deletions
diff --git a/ui/ingame.menu b/ui/ingame.menu
index 8814d223..bcdfc98c 100644
--- a/ui/ingame.menu
+++ b/ui/ingame.menu
@@ -1,382 +1,285 @@
#include "ui/menudef.h"
{
+ assetGlobalDef
+ {
+ font "fonts/font" 16 // font
+ smallFont "fonts/smallfont" 12 // font
+ bigFont "fonts/bigfont" 20 // font
+ cursor "ui/assets/3_cursor3" // cursor
+ gradientBar "ui/assets/gradientbar2.tga" // gradient bar
+ itemFocusSound "sound/misc/menu2.wav" // sound for item getting focus (via keyboard or mouse )
+
+ fadeClamp 1.0 // sets the fadeup alpha
+ fadeCycle 1 // how often fade happens in milliseconds
+ fadeAmount 0.1 // amount to adjust alpha per cycle
- assetGlobalDef {
- font "fonts/font" 16 // font
- smallFont "fonts/smallfont" 12 // font
- bigFont "fonts/bigfont" 20 // font
- cursor "ui/assets/3_cursor3" // cursor
- gradientBar "ui/assets/gradientbar2.tga" // gradient bar
- itemFocusSound "sound/misc/menu2.wav" // sound for item getting focus (via keyboard or mouse )
-
- fadeClamp 1.0 // sets the fadeup alpha
- fadeCycle 1 // how often fade happens in milliseconds
- fadeAmount 0.1 // amount to adjust alpha per cycle
+ shadowColor 0.1 0.1 0.1 0.25 // shadow color
+ }
+
- shadowColor 0.1 0.1 0.1 0.25 // shadow color
- }
-
+ \\ INGAME MENU \\
-\\ INGAME MENU \\
+ menuDef
+ {
+ name "ingame"
+ visible 0
+ fullScreen 0
+ outOfBoundsClick // this closes the window if it gets a click out of the rectangle
+ rect 0 0 640 480
+ focusColor 1 .75 0 1
+ disableColor .5 .5 .5 1
- menuDef {
- name "ingame"
- visible 0
- fullScreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 0 0 640 480
- focusColor 1 .75 0 1
- disableColor .5 .5 .5 1
+ itemdef
+ {
+ name about
+ text "About"
+ rect 179 0 53 30
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ textalign 1
+ textalignx 27
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor .0 .17 .0 1
+ visible 1
+ action { open ingame_about }
+ mouseEnter { setitemcolor about backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor about backcolor .0 .17 .0 1 }
+ }
+
+ itemdef
+ {
+ name aboutframe
+ style 3
+ rect 174 0 58 32
+ background "ui/assets/ingameframea.tga"
+ visible 1
+ decoration
+ }
-itemDef {
- name "ingameRect"
- visible 1
- rect 0 0 620 26
- style 0
- border 1
- bordercolor .5 .5 .5 1
- forecolor 1 1 1 1
- backcolor 0 0 .75 .5
- visible 1
- decoration
- }
-itemdef
- {
- name about
- text "About"
- rect 5 0 53 30
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- textalign 1
- textalignx 27
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor .0 .17 .0 1
- visible 1
- action { open ingame_about }
- mouseEnter { setitemcolor about backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor about backcolor .0 .17 .0 1 }
- }
-itemdef
- {
- name aboutframe
- style 3
- rect 0 0 58 32
- background "ui/assets/ingameframea.tga"
- visible 1
- decoration
- }
+ itemDef
+ {
+ name player
+ text "Player"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ rect 232 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_player }
+ mouseEnter { setitemcolor player backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor player backcolor 0 .17 0 1 }
+ }
+
+ itemdef
+ {
+ name playerframe
+ style 3
+ rect 232 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
- itemDef {
- name join
- text "Join"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- cvarTest "ui_singleplayeractive"
- disableCvar { "1" }
- rect 58 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_join }
- mouseEnter { setitemcolor join backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor join backcolor 0 .17 0 1 }
- }
+ itemDef
+ {
+ name controls
+ text "Controls"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ rect 290 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_controls }
+ mouseEnter { setitemcolor controls backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor controls backcolor 0 .17 0 1 }
+ }
-itemdef
- {
- name joinframe
- style 3
- rect 58 0 58 32
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
+ itemdef
+ {
+ name controlsframe
+ style 3
+ rect 290 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
+ itemDef
+ {
+ name options
+ text "Options"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ rect 348 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_options }
+ mouseEnter { setitemcolor options backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor options backcolor 0 .17 0 1 }
+ }
- itemDef {
- name orders
- text "Orders"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 116 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- cvarTest "g_gametype"
- disableCvar { "0" ; "1" ; "2" ; "3" ; "8" }
- visible 1
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- action { open ingame_orders }
- mouseEnter { setitemcolor orders backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor orders backcolor 0 .17 0 1 }
- }
+ itemdef
+ {
+ name optionsframe
+ style 3
+ rect 348 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
-itemdef
- {
- name ordersframe
- style 3
- rect 116 0 58 32
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
+ itemDef
+ {
+ name system
+ text "System"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ rect 406 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_system }
+ mouseEnter { setitemcolor system backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor system backcolor 0 .17 0 1 }
+ }
- itemDef {
- name addBot
- text "Add Bot"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 174 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- cvarTest "ui_singleplayeractive"
- disableCvar { "1" }
+ itemdef
+ {
+ name systemframe
+ style 3
+ rect 406 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_addbot }
- mouseEnter { setitemcolor addBot backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor addBot backcolor 0 .17 0 1 }
- }
-itemdef
- {
- name addBotframe
- style 3
- rect 174 0 58 32
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
+ itemDef
+ {
+ name vote
+ text "Vote"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ cvarTest "ui_singleplayeractive"
+ disableCvar { "1" }
-itemDef {
- name player
- text "Player"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 232 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_player }
- mouseEnter { setitemcolor player backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor player backcolor 0 .17 0 1 }
- }
-itemdef
- {
- name playerframe
- style 3
- rect 232 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
+ rect 464 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_vote }
+ mouseEnter { setitemcolor vote backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor vote backcolor 0 .17 0 1 }
+ }
+
+ itemdef
+ {
+ name voteframe
+ style 3
+ rect 464 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
-itemDef {
- name controls
- text "Controls"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 290 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_controls }
- mouseEnter { setitemcolor controls backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor controls backcolor 0 .17 0 1 }
- }
+ itemDef
+ {
+ name callvote
+ text "CallVote"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ cvarTest "ui_singleplayeractive"
+ disableCvar { "1" }
-itemdef
- {
- name controlsframe
- style 3
- rect 290 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
+ rect 522 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_callvote }
+ mouseEnter { setitemcolor callvote backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor callvote backcolor 0 .17 0 1 }
+ }
+
+ itemdef
+ {
+ name callvoteframe
+ style 3
+ rect 522 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name leave
+ text "Exit"
+ type 1
+ style WINDOW_STYLE_FILLED
+ background "ui/assets/button_back.tga"
+ rect 580 0 58 30
+ textalign 1
+ textalignx 29
+ textaligny 22
+ textscale .25
+ forecolor 1 1 1 1
+ backcolor 0 .17 0 1
+ visible 1
+ action { open ingame_leave }
+ mouseEnter { setitemcolor leave backcolor .1 .37 .1 1 }
+ mouseExit { setitemcolor leave backcolor 0 .17 0 1 }
+ }
-itemDef {
- name options
- text "Options"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 348 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_options }
- mouseEnter { setitemcolor options backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor options backcolor 0 .17 0 1 }
- }
-
-itemdef
- {
- name optionsframe
- style 3
- rect 348 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name system
- text "System"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 406 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_system }
- mouseEnter { setitemcolor system backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor system backcolor 0 .17 0 1 }
- }
-
-itemdef
- {
- name systemframe
- style 3
- rect 406 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name vote
- text "Vote"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- cvarTest "ui_singleplayeractive"
- disableCvar { "1" }
-
- rect 464 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_vote }
- mouseEnter { setitemcolor vote backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor vote backcolor 0 .17 0 1 }
- }
-itemdef
- {
- name voteframe
- style 3
- rect 464 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name callvote
- text "CallVote"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- cvarTest "ui_singleplayeractive"
- disableCvar { "1" }
-
- rect 522 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_callvote }
- mouseEnter { setitemcolor callvote backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor callvote backcolor 0 .17 0 1 }
- }
-itemdef
- {
- name callvoteframe
- style 3
- rect 522 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
-itemDef {
- name leave
- text "Exit"
- type 1
- style WINDOW_STYLE_FILLED
- background "ui/assets/button_back.tga"
- rect 580 0 58 30
- textalign 1
- textalignx 29
- textaligny 22
- textscale .25
- forecolor 1 1 1 1
- backcolor 0 .17 0 1
- visible 1
- action { open ingame_leave }
- mouseEnter { setitemcolor leave backcolor .1 .37 .1 1 }
- mouseExit { setitemcolor leave backcolor 0 .17 0 1 }
- }
-
-itemdef
- {
- name leave
- style 3
- rect 580 0 58 32
- textalign 1
- background "ui/assets/ingameframe.tga"
- visible 1
- decoration
- }
-
-
-
+ itemDef
+ {
+ name leave
+ style 3
+ rect 580 0 58 32
+ textalign 1
+ background "ui/assets/ingameframe.tga"
+ visible 1
+ decoration
+ }
+ }
}
-
-} \ No newline at end of file
diff --git a/ui/ingame.txt b/ui/ingame.txt
index fb523ba7..65f56203 100644
--- a/ui/ingame.txt
+++ b/ui/ingame.txt
@@ -2,15 +2,12 @@
//
{
loadMenu { "ui/ingame.menu" }
- loadMenu { "ui/ingame_vote.menu" }
loadMenu { "ui/ingame_about.menu" }
loadMenu { "ui/ingame_controls.menu" }
- loadMenu { "ui/ingame_join.menu" }
loadMenu { "ui/ingame_options.menu" }
- loadMenu { "ui/ingame_system.menu" }
loadMenu { "ui/ingame_leave.menu" }
loadMenu { "ui/ingame_player.menu" }
- loadMenu { "ui/ingame_addbot.menu" }
+ loadMenu { "ui/ingame_vote.menu" }
loadMenu { "ui/ingame_callvote.menu" }
- loadMenu { "ui/ingame_orders.menu" }
+ loadMenu { "ui/ingame_system.menu" }
}
diff --git a/ui/ingame_about.menu b/ui/ingame_about.menu
index fb3d348c..bc078234 100644
--- a/ui/ingame_about.menu
+++ b/ui/ingame_about.menu
@@ -1,400 +1,312 @@
#include "ui/menudef.h"
{
-\\ INGAME ABOUT BOX \\
-
-menuDef {
- name "ingame_about"
- visible 0
- fullscreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 0 30 256 295
- focusColor 1 .75 0 1
- style 1
- border 1
-
-itemDef {
- name window
- rect 10 15 256 280
- style 1
- backcolor 0 .1 0 1
- visible 1
- decoration
- }
-
-
-
-// FRAME //
-
-
-
-itemDef {
- name window
- rect 0 10 16 128
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 3 0 65 16
- style 3
- background "ui/assets/ingameconnection.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 67 10 64 8
- style 3
- background "ui/assets/ingametop.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 131 10 96 8
- style 3
- background "ui/assets/ingametop.tga"
- visible 1
- decoration
- }
-
-
-itemDef {
- name window
- rect 0 138 16 64
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 0 202 16 64
- style 3
- background "ui/assets/ingameleft.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 0 233 64 64
- style 3
- background "ui/assets/ingameleftcornerb.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 212 10 64 64
- style 3
- background "ui/assets/ingamerightcorner.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 212 233 64 64
- style 3
- background "ui/assets/ingamerightcornerb.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name window
- rect 64 289 66 8
- style 3
- background "ui/assets/ingamebottom.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 128 289 96 8
- style 3
- background "ui/assets/ingamebottom.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 260 74 16 64
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 260 138 16 64
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-itemDef {
- name window
- rect 260 202 16 64
- style 3
- background "ui/assets/ingameright.tga"
- visible 1
- decoration
- }
-
-itemDef {
- name about
- rect 0 25 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 40 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 70 256 20
- type 4
- style 0
- text "Capture Limit:"
- cvarTest "G_GAMETYPE"
- hideCvar { "0" ; "1" ; "2" ; "3" }
- maxPaintChars 12
- cvar capturelimit
- 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
- 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 85 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 20 100 256 20
- type 4
- style 0
- text "Red Team:"
- maxPaintChars 12
- cvar g_redTeam
- textalign ITEM_ALIGN_RIGHT
- textalignx 108
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-itemDef {
- name about
- rect 20 115 256 20
- type 4
- style 0
- text "Blue Team:"
- maxPaintChars 12
- cvar g_blueTeam
- textalign ITEM_ALIGN_RIGHT
- textalignx 108
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-itemDef {
- name about
- rect 0 140 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 155 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 170 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 205 256 20
- type 11
- style 0
- text "Password Required:"
- cvar g_needpass
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-
-itemDef {
- name about
- rect 0 220 256 20
- type 11
- style 0
- text "DM Flags:"
- cvar g_dmflags
- textalign ITEM_ALIGN_RIGHT
- textalignx 128
- textaligny 12
- textscale .25
- forecolor 1 1 1 1
- visible 1
- decoration
- }
-itemDef {
- name about
- rect 0 235 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 0 265 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
- }
-
-
-
-
-}
-
-
+ \\ INGAME ABOUT BOX \\
+
+ menuDef
+ {
+ name "ingame_about"
+ visible 0
+ fullscreen 0
+ outOfBoundsClick // this closes the window if it gets a click out of the rectangle
+ rect 0 30 256 295
+ focusColor 1 .75 0 1
+ style 1
+ border 1
+
+ itemDef
+ {
+ name window
+ rect 10 15 256 280
+ style 1
+ backcolor 0 .1 0 1
+ visible 1
+ decoration
+ }
+
+ // FRAME //
+ itemDef
+ {
+ name window
+ rect 0 10 16 128
+ style 3
+ background "ui/assets/ingameleft.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 3 0 65 16
+ style 3
+ background "ui/assets/ingameconnection.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 67 10 64 8
+ style 3
+ background "ui/assets/ingametop.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 131 10 96 8
+ style 3
+ background "ui/assets/ingametop.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 0 138 16 64
+ style 3
+ background "ui/assets/ingameleft.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 0 202 16 64
+ style 3
+ background "ui/assets/ingameleft.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 0 233 64 64
+ style 3
+ background "ui/assets/ingameleftcornerb.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 212 10 64 64
+ style 3
+ background "ui/assets/ingamerightcorner.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 212 233 64 64
+ style 3
+ background "ui/assets/ingamerightcornerb.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 64 289 66 8
+ style 3
+ background "ui/assets/ingamebottom.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 128 289 96 8
+ style 3
+ background "ui/assets/ingamebottom.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 260 74 16 64
+ style 3
+ background "ui/assets/ingameright.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 260 138 16 64
+ style 3
+ background "ui/assets/ingameright.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name window
+ rect 260 202 16 64
+ style 3
+ background "ui/assets/ingameright.tga"
+ visible 1
+ decoration
+ }
+
+ itemDef
+ {
+ name about
+ rect 0 25 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 40 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 55 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 70 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 85 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 100 256 20
+ type 11
+ style 0
+ text "Password Required:"
+ cvar g_needpass
+ 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 11
+ style 0
+ text "DM Flags:"
+ cvar g_dmflags
+ 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 "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
+ }
+ }
}