mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Merge pull request #12 from petr666/feature/team-arena-menus
Update of main menu for Team Arena
This commit is contained in:
commit
1727aae218
10 changed files with 2833 additions and 0 deletions
Binary file not shown.
148
android/app/src/main/pakQ3Q/ui/comfort.menu
Executable file
148
android/app/src/main/pakQ3Q/ui/comfort.menu
Executable file
|
@ -0,0 +1,148 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ SETUP MENU \\
|
||||
|
||||
menuDef {
|
||||
name "comfort_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox }
|
||||
onEsc { close comfort_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpControlbutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Comfort Vignette:"
|
||||
cvarfloat "vr_comfortVignette" 0.2 0 1
|
||||
rect 99 150 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Height Adjust:"
|
||||
cvarfloat "vr_heightAdjust" 0.2 0 1
|
||||
rect 99 175 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Roll When Hit:"
|
||||
cvar "vr_rollWhenHit"
|
||||
rect 99 200 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Haptic Intensity:"
|
||||
cvarfloat "vr_hudYOffset" 0.2 0 1
|
||||
rect 99 225 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_MULTI
|
||||
text "HUD Depth:"
|
||||
cvar "vr_hudDepth"
|
||||
cvarFloatList { "Very Close" 0 "Close" 1 "Middle" 2 "Further" 3 "Far" 4 "Distant" 5 }
|
||||
rect 99 250 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
group grpComfort
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "HUD Y Offset:"
|
||||
cvarfloat "vr_hudYOffset" 20 -200 200
|
||||
rect 99 275 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
179
android/app/src/main/pakQ3Q/ui/controls3.menu
Executable file
179
android/app/src/main/pakQ3Q/ui/controls3.menu
Executable file
|
@ -0,0 +1,179 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ SETUP MENU \\
|
||||
|
||||
menuDef {
|
||||
name "controls3_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox }
|
||||
onEsc { close controls3_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpControlbutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Autoswitch Weapons:"
|
||||
cvar "cg_autoswitch"
|
||||
rect 99 125 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Railgun Scope:"
|
||||
cvar "vr_weaponScope"
|
||||
rect 99 150 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Two-Handed Weapons:"
|
||||
cvar "vr_twoHandedWeapons"
|
||||
rect 99 175 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Direction Mode:"
|
||||
cvar "vr_directionMode"
|
||||
cvarFloatList { "HMD (Default)" 0 "Off-hand Controller" 1 }
|
||||
rect 99 200 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Turning Mode:"
|
||||
cvar "vr_snapturn"
|
||||
cvarFloatList { "Smooth Turning" 0 "45 Degrees" 45 "90 Degrees" 90 }
|
||||
rect 99 225 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Right-Handed:"
|
||||
cvar "vr_righthanded"
|
||||
rect 99 250 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Weapon Pitch:"
|
||||
cvarfloat "vr_weaponPitch" 5 -25 5
|
||||
rect 99 275 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
group grpControls3
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Weapon Selector Mode:"
|
||||
cvar "vr_weaponSelectorMode"
|
||||
cvarFloatList { "Controller Weapon Selector" 0 "HMD Weapon Wheel" 1 "Alt-Key Bindings" 2 "Thumbstick Forward/Back" 3 }
|
||||
rect 99 300 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
255
android/app/src/main/pakQ3Q/ui/default.menu
Normal file
255
android/app/src/main/pakQ3Q/ui/default.menu
Normal file
|
@ -0,0 +1,255 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ DEFAULT MENU \\
|
||||
|
||||
menuDef {
|
||||
name "default_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox ;
|
||||
show grpdefault ;
|
||||
hide grpfinish }
|
||||
onEsc { close default_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpControlbutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "This will set your Controls,"
|
||||
rect 0 140 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "Graphics and game Options"
|
||||
rect 0 160 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "to their original defaults."
|
||||
rect 0 180 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "Are you sure?"
|
||||
rect 0 220 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
text "YES"
|
||||
group grpdefault
|
||||
type 1
|
||||
textscale .3
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 135 250 70 26
|
||||
textalign 1
|
||||
textalignx 35
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/nomenu.wav" ;
|
||||
hide grpdefault ;
|
||||
show grpfinish ;
|
||||
uiScript resetDefaults }
|
||||
mouseEnter { setitemcolor yes backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor yes backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 135 250 70 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 123 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 204 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
text "No"
|
||||
group grpdefault
|
||||
type 1
|
||||
textscale .3
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 235 250 70 26
|
||||
textalign 1
|
||||
textalignx 35
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/nomenu.wav" ;
|
||||
close default_menu ; open controls3_menu }
|
||||
mouseEnter { setitemcolor no backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor no backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 235 250 70 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 223 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 304 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name finish_message
|
||||
group grpfinish
|
||||
style 0
|
||||
text "Your settings are now set"
|
||||
rect 0 160 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name finish_message
|
||||
group grpfinish
|
||||
style 0
|
||||
text "to their original default values."
|
||||
rect 0 180 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
559
android/app/src/main/pakQ3Q/ui/main.menu
Normal file
559
android/app/src/main/pakQ3Q/ui/main.menu
Normal file
|
@ -0,0 +1,559 @@
|
|||
#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
|
||||
|
||||
shadowColor 0.1 0.1 0.1 0.25 // shadow color
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
menuDef {
|
||||
name "main"
|
||||
background "menuback_a" // Spinning Circle Background
|
||||
fullScreen MENU_TRUE
|
||||
rect 0 0 640 480 // Size and position of the menu
|
||||
visible MENU_TRUE // Visible on open
|
||||
focusColor 1 .75 0 1 // Menu focus color for text and items
|
||||
|
||||
|
||||
onOpen {
|
||||
setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
playlooped "music/sonic1.wav" ;
|
||||
fadeout fadebox ;
|
||||
transition cinematic 390 198 250 1 390 163 250 155 20 12 ;
|
||||
transition menuback_d 0 198 250 1 0 163 255 155 20 12 ;
|
||||
transition menuback_b 0 198 640 1 0 163 640 155 20 12 ;
|
||||
transition teamArenaBar 80 55 520 1 80 40 520 30 20 10 ;
|
||||
transition singlebar 0 95 640 1 0 80 640 30 20 10 ;
|
||||
transition optionbar 0 375 640 1 0 360 640 30 20 10 ;
|
||||
transition quitbar 0 419 640 1 0 404 640 30 20 10 ;
|
||||
play "sound/misc/tim_pump.wav" ;
|
||||
uiScript stopRefresh ;
|
||||
}
|
||||
|
||||
onESC { open quit_popmenu }
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name modelselection //Precache player model
|
||||
ownerdraw UI_PLAYERMODEL //Ownerdraw for player models
|
||||
rect 0 0 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name menuback_e // Flashing and rotating light
|
||||
style WINDOW_STYLE_SHADER
|
||||
rect 0 163 640 155
|
||||
background "menuback_e"
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name menuback_b // Transparent Blue Effect
|
||||
style WINDOW_STYLE_SHADER
|
||||
rect 0 163 640 155
|
||||
visible 1
|
||||
background "menuback_b"
|
||||
bordercolor 0.5 0.5 0.5 .7
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name cinematic
|
||||
style 5 // Style for cinematic
|
||||
cinematic "mpintro.roq"
|
||||
rect 390 163 250 155
|
||||
backcolor 1 1 1 .25
|
||||
decoration
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name menuback_d // Team arena text
|
||||
style WINDOW_STYLE_SHADER
|
||||
rect 0 163 255 155
|
||||
background "menuback_d"
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name windowscreen // Vertical Line Image
|
||||
rect 0 0 640 240
|
||||
style 3
|
||||
background levelshotdetail
|
||||
forecolor 0 0 0 0
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name windowscreen // Vertical Line Image
|
||||
rect 0 240 640 240
|
||||
style 3
|
||||
background levelshotdetail
|
||||
forecolor 0 0 0 0
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name menuback_c // Center medal image
|
||||
style WINDOW_STYLE_SHADER
|
||||
rect 205 123 235 235
|
||||
background "menuback_c"
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// GAMETYPE //
|
||||
|
||||
itemDef {
|
||||
name teamArenaBar
|
||||
style 2
|
||||
rect 80 40 520 30
|
||||
backcolor 0 0 .75 .25
|
||||
border 4
|
||||
bordercolor 0.5 0.5 0.5 1
|
||||
bordersize 1
|
||||
visible 1
|
||||
mouseEnter { hide gametype ; show teamarena ; setcolor backcolor .75 0 0 .25 }
|
||||
mouseExit { show gametype ; hide teamarena ; setcolor backcolor 0 0 .75 .25 }
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name gametype
|
||||
type 1
|
||||
text "TEAM ARENA"
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 0 40 640 30
|
||||
forecolor 1 1 1 1
|
||||
textalignx 320
|
||||
textaligny 24
|
||||
textalign 1
|
||||
textscale .416
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name teamarena
|
||||
type 1
|
||||
text "Quake3"
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 120 40 80 30
|
||||
textscale .333
|
||||
textalign 1
|
||||
textalignx 40
|
||||
textaligny 22
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
open quake3_popmenu }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name teamarena
|
||||
text "Rules"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 200 40 80 30
|
||||
textscale .333
|
||||
textalignx 40
|
||||
textaligny 22
|
||||
textalign 1
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open help_menu }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name teamarena
|
||||
text "Credits"
|
||||
type 1
|
||||
textstyle 6
|
||||
textscale .333
|
||||
style 0
|
||||
rect 280 40 80 30
|
||||
textalignx 40
|
||||
textaligny 22
|
||||
textalign 1
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open credit }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name teamarena
|
||||
text "Mods"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
textscale .333
|
||||
rect 360 40 80 30
|
||||
textalignx 40
|
||||
textaligny 22
|
||||
textalign 1
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open mod }
|
||||
}
|
||||
itemDef {
|
||||
name teamarena
|
||||
text "Cinematics"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
textscale .333
|
||||
rect 440 40 80 30
|
||||
textalignx 40
|
||||
textaligny 22
|
||||
textalign 1
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open cinematicMenu }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// SINGLEPLAYER //
|
||||
|
||||
itemDef {
|
||||
name singlebar
|
||||
style 2
|
||||
rect 0 80 640 30
|
||||
backcolor 0 0 .75 .25
|
||||
border 4
|
||||
bordercolor 0.5 0.5 0.5 1
|
||||
bordersize 1
|
||||
visible 1
|
||||
mouseEnter { setcolor backcolor .75 0 0 .25 ; hide play ; show playselection }
|
||||
mouseExit { setcolor backcolor 0 0 .75 .25 ; show play ; hide playselection }
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name play
|
||||
text "PLAY"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 0 80 640 30
|
||||
textalign 1
|
||||
textscale .416
|
||||
textalignx 320
|
||||
textaligny 24
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name playselection
|
||||
text "SinglePlayer"
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 170 80 100 30
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open Skirmish }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name playselection
|
||||
text "MultiPlayer"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 270 80 100 30
|
||||
textalign 1 // center
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open joinserver }
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name playselection
|
||||
text "StartServer"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 370 80 100 30
|
||||
textalign 1 // center
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open createserver }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// OPTIONS //
|
||||
itemDef {
|
||||
name optionbar
|
||||
style 2
|
||||
rect 0 360 640 30
|
||||
backcolor 0 0 1 .25
|
||||
border 4
|
||||
bordercolor 0.5 0.5 0.5 1
|
||||
bordersize 1
|
||||
visible 1
|
||||
mouseEnter { setcolor backcolor .75 0 0 .25 ; hide options ; show optionselection }
|
||||
mouseExit { setcolor backcolor 0 0 .75 .25 ; show options ; hide optionselection }
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
text "OPTIONS"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 0 360 640 30
|
||||
textalignx 320
|
||||
textaligny 24
|
||||
textscale .416
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name optionselection
|
||||
text "Player"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 170 360 100 30
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open player_menu }
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name optionselection
|
||||
text "Setup"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 270 360 100 30
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open setup_menu ;
|
||||
open controls3_menu }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name optionselection
|
||||
text "Demos"
|
||||
type 1
|
||||
style 0
|
||||
textstyle 6
|
||||
rect 370 360 100 30
|
||||
textalignx 50
|
||||
textaligny 22
|
||||
textscale .333
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close main ;
|
||||
open demo }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// QUIT //
|
||||
|
||||
itemDef {
|
||||
name quitbar
|
||||
style 2
|
||||
rect 0 404 640 30
|
||||
backcolor 0 0 1 .25
|
||||
border 4
|
||||
bordercolor 0.5 0.5 0.5 1
|
||||
bordersize 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name quit
|
||||
text "QUIT"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 0 404 640 30
|
||||
textalignx 320
|
||||
textaligny 24
|
||||
textscale .416
|
||||
textalign 1
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
open quit_popmenu }
|
||||
mouseEnter { setitemcolor quitbar backcolor .75 0 0 .25 }
|
||||
mouseExit { setitemcolor quitbar backcolor 0 0 .75 .25 }
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
// DEMO ONLY OPTION //
|
||||
|
||||
itemDef {
|
||||
name copyright
|
||||
// demo_only
|
||||
text "Demo Version Only. Content Warning: Contains Depictions of Violence."
|
||||
style 0
|
||||
textscale .25
|
||||
rect 0 425 640 40
|
||||
textalign 1
|
||||
textaligny 32
|
||||
textalignx 320
|
||||
forecolor 1 .75 0 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name copyright
|
||||
text "Quake III: Team Arena Copyright 2000 Id Software, Inc. All rights reserved"
|
||||
style 0
|
||||
textscale .25
|
||||
rect 0 440 640 40
|
||||
textalign 1
|
||||
textaligny 32
|
||||
textalignx 320
|
||||
forecolor .75 0 0 .75
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name fadebox // Box for fading in menus
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
2
android/app/src/main/pakQ3Q/ui/menus.txt
Normal file → Executable file
2
android/app/src/main/pakQ3Q/ui/menus.txt
Normal file → Executable file
|
@ -11,6 +11,8 @@
|
|||
loadMenu { "ui/skirmish.menu" }
|
||||
loadMenu { "ui/createserver.menu" }
|
||||
loadMenu { "ui/controls.menu" }
|
||||
loadMenu { "ui/controls3.menu" }
|
||||
loadMenu { "ui/comfort.menu" }
|
||||
loadMenu { "ui/cdkey.menu" }
|
||||
loadMenu { "ui/system.menu" }
|
||||
loadMenu { "ui/options.menu" }
|
||||
|
|
340
android/app/src/main/pakQ3Q/ui/options.menu
Executable file
340
android/app/src/main/pakQ3Q/ui/options.menu
Executable file
|
@ -0,0 +1,340 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ SETUP MENU \\
|
||||
|
||||
menuDef {
|
||||
name "options_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox }
|
||||
onEsc { close options_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpControlbutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
text "Crosshair:"
|
||||
rect 227 15 20 20
|
||||
ownerdraw UI_CROSSHAIR
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 0
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Laser Sight:"
|
||||
cvar "vr_lasersight"
|
||||
rect 99 35 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Simple Items (World):"
|
||||
cvar "cg_simpleItems"
|
||||
rect 99 55 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Simple Items (Holster):"
|
||||
cvar "cg_weaponSelectorSimple2DIcons"
|
||||
rect 99 75 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Show Item In Hand:"
|
||||
cvar "vr_showItemInHand"
|
||||
rect 99 95 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Marks On Walls:"
|
||||
cvar "cg_marks"
|
||||
rect 99 115 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Show Floating Scores:"
|
||||
cvar "cg_scorePlums"
|
||||
rect 99 135 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
text "Ejecting Brass:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "cg_brassTime"
|
||||
cvarFloatList { "High" 2500 "Med" 1250 "Off" 0 }
|
||||
rect 99 155 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Identify Target:"
|
||||
cvar "cg_drawCrosshairNames"
|
||||
rect 99 175 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Low Quality Sky:"
|
||||
cvar "r_fastsky"
|
||||
rect 99 195 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Force Player Models:"
|
||||
cvar "cg_forceModel"
|
||||
rect 99 215 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Draw Team Overlay:"
|
||||
cvar "cg_drawTeamOverlay"
|
||||
rect 99 235 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Show Time:"
|
||||
cvar "cg_drawTimer"
|
||||
rect 99 255 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Taunts Off:"
|
||||
cvar "cg_noTaunt"
|
||||
rect 99 275 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "In Game Video:"
|
||||
cvar "r_inGameVideo"
|
||||
rect 99 295 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Statusbar:"
|
||||
cvar "cg_hudfiles"
|
||||
cvarStrList { Normal "ui/hud.txt" Small "ui/hud2.txt" }
|
||||
rect 99 315 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Blood:"
|
||||
cvar "com_blood"
|
||||
rect 99 345 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Gibs:"
|
||||
cvar "cg_gibs"
|
||||
rect 99 365 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name options
|
||||
group grpOptions
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Extra Gibs (Performance Hit):"
|
||||
cvar "cg_megagibs"
|
||||
rect 99 385 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .3
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
223
android/app/src/main/pakQ3Q/ui/resetscore.menu
Normal file
223
android/app/src/main/pakQ3Q/ui/resetscore.menu
Normal file
|
@ -0,0 +1,223 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ RESET SCORE MENU \\
|
||||
|
||||
menuDef {
|
||||
name "resetscore_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
fadeout fadebox ;
|
||||
show grpdefault ;
|
||||
hide grpfinish }
|
||||
onEsc { close resetscore_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpControlbutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "This will set all of your map scores"
|
||||
rect 0 140 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "and completion times to zero."
|
||||
rect 0 160 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name default
|
||||
group grpdefault
|
||||
style 0
|
||||
text "Are you sure?"
|
||||
rect 0 220 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
text "YES"
|
||||
group grpdefault
|
||||
type 1
|
||||
textscale .3
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 135 250 70 26
|
||||
textalign 1
|
||||
textalignx 35
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/nomenu.wav" ;
|
||||
uiScript resetScores ;
|
||||
show grpfinish ;
|
||||
hide grpdefault }
|
||||
mouseEnter { setitemcolor yes backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor yes backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 135 250 70 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 123 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name yes
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 204 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
text "No"
|
||||
group grpdefault
|
||||
type 1
|
||||
textscale .3
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 235 250 70 26
|
||||
textalign 1
|
||||
textalignx 35
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/nomenu.wav" ;
|
||||
close resetscore_menu ; open controls3_menu }
|
||||
mouseEnter { setitemcolor no backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor no backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 235 250 70 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 223 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name no
|
||||
group grpdefault
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 304 250 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name finish_message
|
||||
group grpfinish
|
||||
style 0
|
||||
text "Your values are now set to zero."
|
||||
rect 0 160 443 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 221
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
522
android/app/src/main/pakQ3Q/ui/setup.menu
Executable file
522
android/app/src/main/pakQ3Q/ui/setup.menu
Executable file
|
@ -0,0 +1,522 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ SETUP MENU \\
|
||||
|
||||
menuDef {
|
||||
name "setup_menu"
|
||||
visible 0
|
||||
fullscreen 1
|
||||
rect 186 0 454 480
|
||||
background "menuback_a"
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ;
|
||||
playlooped "music/fla_mp03.wav" ;
|
||||
fadeout fadebox ;
|
||||
hide back_alt ;
|
||||
show back ;
|
||||
hide grpmessage }
|
||||
onEsc { close setup_menu ; open main }
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name solid_box
|
||||
style 1
|
||||
rect 4 2 178 426
|
||||
border 1
|
||||
bordersize 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
backcolor 0 0 .75 .25
|
||||
visible 1
|
||||
decoration
|
||||
mouseEnter { setcolor backcolor .75 0 0 .5 }
|
||||
mouseExit { setcolor backcolor 0 0 .75 .25 }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Control //
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name controls3
|
||||
text "Controls"
|
||||
textscale .45
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 0 75 200 40
|
||||
textalign 3
|
||||
textalignx 20
|
||||
textaligny 32
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open controls3_menu }
|
||||
mouseenter { show message_controls }
|
||||
mouseexit { hide message_controls }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Comfort Options //
|
||||
|
||||
|
||||
itemDef {
|
||||
name comfort
|
||||
text "Comfort Options"
|
||||
textscale .45
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
rect 0 125 200 40
|
||||
textalign 3
|
||||
textalignx 20
|
||||
textaligny 32
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open comfort_menu }
|
||||
mouseenter { show message_comfort }
|
||||
mouseexit { hide message_comfort }
|
||||
}
|
||||
|
||||
|
||||
// Game Options //
|
||||
|
||||
itemDef {
|
||||
name gameoptions
|
||||
text "Game Options"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
textscale .45
|
||||
rect 0 175 200 40
|
||||
textalign 3 // center
|
||||
textalignx 20 // x alignment point for text
|
||||
// use it to offset left/right text from the edge
|
||||
// or to center the text on a different point
|
||||
textaligny 32
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open options_menu }
|
||||
mouseenter { show message_gameoptions }
|
||||
mouseexit { hide message_gameoptions }
|
||||
}
|
||||
|
||||
|
||||
// System //
|
||||
|
||||
itemDef {
|
||||
name system
|
||||
text "System"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
textscale .45
|
||||
rect 0 225 200 40
|
||||
textalign 3 // center
|
||||
textalignx 20 // x alignment point for text
|
||||
// use it to offset left/right text from the edge
|
||||
// or to center the text on a different point
|
||||
textaligny 32
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open system_menu }
|
||||
mouseenter { show message_system }
|
||||
mouseexit { hide message_system }
|
||||
}
|
||||
|
||||
|
||||
// Reset Defaults //
|
||||
|
||||
itemDef {
|
||||
name defaults
|
||||
text "Defaults"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
textscale .45
|
||||
rect 0 275 200 40
|
||||
textalign 3 // center
|
||||
textalignx 20 // x alignment point for text
|
||||
// use it to offset left/right text from the edge
|
||||
// or to center the text on a different point
|
||||
textaligny 32
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
mouseenter { show message_default }
|
||||
mouseexit { hide message_default }
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open default_menu }
|
||||
}
|
||||
|
||||
// Reset Score //
|
||||
|
||||
|
||||
itemDef {
|
||||
name scores
|
||||
text "Clear Scores"
|
||||
style 0
|
||||
type 1
|
||||
textstyle 6
|
||||
textscale .45
|
||||
rect 0 325 200 40
|
||||
textalign 3 // center
|
||||
textalignx 20 // x alignment point for text
|
||||
// use it to offset left/right text from the edge
|
||||
// or to center the text on a different point
|
||||
textaligny 32
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
mouseenter { show message_scores }
|
||||
mouseexit { hide message_scores }
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open resetscore_menu }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// BACK BAR //
|
||||
|
||||
|
||||
itemDef {
|
||||
name gotobar
|
||||
style 2
|
||||
rect 0 430 640 30
|
||||
textscale 0.4
|
||||
textalign 0 // center
|
||||
textalignx 60 // x alignment point for text
|
||||
// use it to offset left/right text from the edge
|
||||
// or to center the text on a different point
|
||||
textaligny 21
|
||||
style 2
|
||||
border 4
|
||||
bordercolor 0.5 0.5 0.5 0.5
|
||||
bordersize 2
|
||||
backcolor 0 0 .75 0.5
|
||||
visible 1
|
||||
mouseEnter { setcolor backcolor .75 0 0 .5 }
|
||||
mouseExit { setcolor backcolor 0 0 .75 .5 }
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name back
|
||||
style 3
|
||||
background "ui/assets/backarrow.tga"
|
||||
rect 16 424 50 50
|
||||
visible 1
|
||||
action { close setup_menu ; open main }
|
||||
mouseEnter { hide back ; show back_alt ; show message_back }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name back_alt
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/backarrow_alt.tga"
|
||||
rect 14 422 54 54
|
||||
backcolor 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
type ITEM_TYPE_BUTTON
|
||||
action { hide grpControls3 ;
|
||||
close controls3_menu ;
|
||||
close comfort_menu ;
|
||||
close setup_menu ;
|
||||
close system_menu ;
|
||||
close options_menu ;
|
||||
close default_menu ;
|
||||
close resetscore_menu ;
|
||||
open main }
|
||||
mouseExit { hide back_alt ; show back ; hide message_back }
|
||||
}
|
||||
|
||||
|
||||
// MESSAGES //
|
||||
|
||||
itemDef {
|
||||
name message_back
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textstyle 1
|
||||
textalign 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Exit to Main Menu"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_accept
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Refresh Video"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_controls
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit Game Controls"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_comfort
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit Comfort Options"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_nowork
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Selection Isn't Implemented"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_look
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit View Controls"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_move
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit Movement Controls"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name message_shoot
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit Firing and Weapon Selection"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_misc
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Select to Edit Chat and Mouse Functions"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_system
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Edit System Settings"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_gameoptions
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Edit Game Options"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_cdkey
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Enter Encryption Key"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_default
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Reset to Default Settings"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
itemDef {
|
||||
name message_scores
|
||||
group grpmessage
|
||||
style 0
|
||||
rect 320 430 128 30
|
||||
textalign 1
|
||||
textstyle 1
|
||||
textalignx 0
|
||||
textaligny 25
|
||||
textscale .4
|
||||
text "Clear High Scores to Zero"
|
||||
forecolor 1 1 1 1
|
||||
decoration
|
||||
visible 0
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
605
android/app/src/main/pakQ3Q/ui/system.menu
Executable file
605
android/app/src/main/pakQ3Q/ui/system.menu
Executable file
|
@ -0,0 +1,605 @@
|
|||
#include "ui/menudef.h"
|
||||
|
||||
{
|
||||
\\ SETUP MENU \\
|
||||
|
||||
menuDef {
|
||||
name "system_menu"
|
||||
visible 0
|
||||
fullscreen 0
|
||||
rect 186 0 443 426
|
||||
focusColor 1 .75 0 1
|
||||
style 1
|
||||
border 1
|
||||
onOpen { setitemcolor fadebox backcolor 0 0 0 1 ; fadeout fadebox ; hide grpSystem ; show graphics }
|
||||
onEsc { close system_menu ; close setup_menu ; open main }
|
||||
|
||||
|
||||
itemDef {
|
||||
name window
|
||||
group grpSystembutton
|
||||
rect 0 2 443 426
|
||||
style WINDOW_STYLE_FILLED
|
||||
border 1
|
||||
bordercolor .5 .5 .5 .5
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 .25
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// System //
|
||||
|
||||
itemDef {
|
||||
name ctr_graphics
|
||||
text "Graphics"
|
||||
type 1
|
||||
textscale .3
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 56 395 100 26
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpSystem ; show graphics }
|
||||
mouseEnter { show message_graphics ; setitemcolor ctr_graphics backcolor .1 .37 .1 1 }
|
||||
mouseExit { hide message_graphics ; setitemcolor ctr_graphics backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_graphics
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 56 395 100 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_graphics
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 44 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_graphics
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 155 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
text "Quality:"
|
||||
type ITEM_TYPE_MULTI
|
||||
cvar "ui_glCustom"
|
||||
cvarFloatList { "High Quality" 0 "Normal" 1 "Fast" 2 "Fastest" 3 "Custom" 4 }
|
||||
rect 99 42 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript update "ui_glCustom" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Refresh Rate:"
|
||||
cvar "vr_refreshrate"
|
||||
cvarFloatList { "60" 0 "72 (Default)" 1 "80" 2 "90" 3 }
|
||||
rect 99 67 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript update "vr_refreshrate" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Sync Every Frame:"
|
||||
cvar "r_finish"
|
||||
rect 99 92 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Color Depth:"
|
||||
cvar "r_colorbits"
|
||||
cvarFloatList { "Desktop Default" 0 "16-bit" 16 "32-bit" 32 }
|
||||
rect 99 117 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom ; uiScript update "r_colorbits" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Lighting:"
|
||||
cvar "r_vertexlight"
|
||||
cvarFloatList { "Light Map (high)" 0 "Vertex (low)" 1 }
|
||||
rect 99 142 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Dynamic Lights:"
|
||||
cvar "r_dynamiclight"
|
||||
rect 99 167 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Geometric Detail:"
|
||||
cvar "r_lodbias"
|
||||
cvarFloatList { "High" 0 "Medium" 1 "Low" 2 }
|
||||
rect 99 192 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom ; uiScript update "r_lodbias" }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Texture Detail:"
|
||||
cvar "r_picmip"
|
||||
cvarFloatList { "Low" 2 "Normal" 1 "High" 0 }
|
||||
rect 99 217 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Texture Quality:"
|
||||
cvar "r_texturebits"
|
||||
cvarFloatList { "Default" 0 "16 bit" 16 "32 bit" 32 }
|
||||
rect 99 244 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Texture Filter:"
|
||||
cvar "r_texturemode"
|
||||
cvarStrList { "Bilinear", "GL_LINEAR_MIPMAP_NEAREST", "Trilinear", "GL_LINEAR_MIPMAP_LINEAR" }
|
||||
rect 99 269 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Compress Textures:"
|
||||
cvar "r_ext_compressed_textures"
|
||||
rect 99 294 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript glCustom }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
text "Apply"
|
||||
type 1
|
||||
group grpSystem
|
||||
textscale .3
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 181 357 100 26
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
open vid_restart_popmenu }
|
||||
mouseEnter { setitemcolor graphics backcolor .1 .37 .1 1 }
|
||||
mouseExit { setitemcolor graphics backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 181 357 100 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 169 357 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name graphics
|
||||
group grpSystem
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 280 357 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
text "Driver Info"
|
||||
type 1
|
||||
textscale .3
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 181 395 100 26
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpSystem ; show driver }
|
||||
mouseEnter { show message_driver ; setitemcolor ctr_driver backcolor .1 .37 .1 1 }
|
||||
mouseExit { hide message_driver ; setitemcolor ctr_driver backcolor .37 .1 .1 1 }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 181 395 100 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 169 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_driver
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 280 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name driver
|
||||
group grpSystem
|
||||
rect 0 32 454 256
|
||||
text "Driver Information"
|
||||
textalign 1
|
||||
textscale .333
|
||||
textalignx 227
|
||||
textaligny 23
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name driver
|
||||
group grpSystem
|
||||
rect 10 70 400 300
|
||||
ownerdraw UI_GLINFO
|
||||
textalign 0
|
||||
textalignx 0
|
||||
textaligny 23
|
||||
textscale .25
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
decoration
|
||||
style 1
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name ctr_other
|
||||
text "Other"
|
||||
type 1
|
||||
textscale .3
|
||||
group grpSystembutton
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/button_back.tga"
|
||||
rect 306 395 100 26
|
||||
textalign 1
|
||||
textalignx 50
|
||||
textaligny 20
|
||||
forecolor 1 1 1 1
|
||||
backcolor .37 .1 .1 1
|
||||
visible 1
|
||||
action { play "sound/misc/kcaction.wav" ;
|
||||
hide grpSystem ; show other }
|
||||
mouseEnter { show message_other ; setitemcolor ctr_other backcolor .1 .37 .1 1 }
|
||||
mouseExit { hide message_other ; setitemcolor ctr_other backcolor .37 .1 .1 1}
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_other
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/framebutton.tga"
|
||||
rect 306 395 100 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_other
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/leftbutton.tga"
|
||||
rect 294 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name ctr_other
|
||||
style WINDOW_STYLE_SHADER
|
||||
background "ui/assets/rightbutton.tga"
|
||||
rect 405 395 13 26
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
style 1
|
||||
text "Sound"
|
||||
rect 163 48 128 20
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 64
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor .4 .4 .65 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Effects Volume:"
|
||||
cvarfloat "s_volume" 0.7 0 1
|
||||
rect 99 92 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_SLIDER
|
||||
text "Music Volume:"
|
||||
cvarfloat "s_musicvolume" 0.25 0 1
|
||||
rect 99 119 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Sound Quality:"
|
||||
cvar "s_khz"
|
||||
cvarFloatList { "22 khz (high)" 22 "11 khz (low)" 11 }
|
||||
rect 99 146 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Doppler Sound:"
|
||||
cvar "s_doppler"
|
||||
rect 99 173 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
style 1
|
||||
text "Network"
|
||||
rect 163 217 128 20
|
||||
textalign 1
|
||||
textalignx 64
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor .4 .4 .65 1
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_MULTI
|
||||
text "Net Data Rate:"
|
||||
cvar "rate"
|
||||
cvarFloatList { "<=28.8k" 2500 "33.6k" 3000 "56k" 4000 "ISDN" 5000 "LAN/CABLE/xDSl" 25000 }
|
||||
rect 99 259 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 0
|
||||
action { uiScript update ui_setRate }
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Auto-Download:"
|
||||
cvar "cl_allowDownload"
|
||||
rect 99 286 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name other
|
||||
group grpSystem
|
||||
type ITEM_TYPE_YESNO
|
||||
text "Send Roll Angle:"
|
||||
cvar "vr_sendRollToServer"
|
||||
rect 99 313 256 20
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 128
|
||||
textaligny 20
|
||||
textscale .333
|
||||
forecolor 1 1 1 1
|
||||
visible 1
|
||||
}
|
||||
|
||||
itemDef {
|
||||
name fadebox
|
||||
style WINDOW_STYLE_FILLED
|
||||
background "ui/assets/fadebox.tga"
|
||||
forecolor 0 0 0 1
|
||||
backcolor 0 0 0 1
|
||||
rect 0 0 640 480
|
||||
visible 1
|
||||
decoration
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue