Menu for replacements, half-assed crosshair menus, bunch of other UI-related stuff.

This commit is contained in:
Tomi Isoaho 2009-07-01 22:40:51 +00:00
parent 857e9bb0a3
commit df62af9f2a
11 changed files with 994 additions and 1277 deletions

View File

@ -80,7 +80,7 @@
"L", 1, "group2,group3,group4,group5",
alignrect "title" ITEM_ALIGN_LEFT 2 28 28 16
)
ADD_HINT("hint_tab1", "Settings that affect your vision", "group2,group3,group4,group5")
ADD_HINT("hint_tab1", "Change mouse/viewing controls", "group2,group3,group4,group5")
//Move
@ -90,7 +90,7 @@
"M", 2, "group1,group3,group4,group5",
alignrect "tab1" ITEM_ALIGN_LEFT 28 0 32 16
)
ADD_HINT("hint_tab2", "Settings that affect your movement", "group1,group3,group4,group5")
ADD_HINT("hint_tab2", "Change movement controls", "group1,group3,group4,group5")
//Shoot
@ -99,7 +99,7 @@
"S", 3, "group1,group2,group4,group5",
alignrect "tab2" ITEM_ALIGN_LEFT 32 0 32 16
)
ADD_HINT("hint_tab3", "Weapon-specific controls", "group1,group2,group4,group5")
ADD_HINT("hint_tab3", "Change weapon controls", "group1,group2,group4,group5")
//Misc
@ -109,7 +109,7 @@
"I", 4, "group1,group2,group3,group5",
alignrect "tab3" ITEM_ALIGN_LEFT 32 0 28 16
)
ADD_HINT("hint_tab4", "User interface related controls", "group1,group2,group3,group5")
ADD_HINT("hint_tab4", "Change user interface related controls", "group1,group2,group3,group5")
//Reaction
@ -117,9 +117,9 @@
ADD_TAB(
"^_R^_eaction.",
"R", 5, "group1,group2,group3,group4",
alignrect "tab4" ITEM_ALIGN_LEFT 28 0 40 16
alignrect "tab4" ITEM_ALIGN_LEFT 28 0 48 16
)
ADD_HINT("hint_tab5", "Things you might not see every day", "group1,group2,group3,group4")
ADD_HINT("hint_tab5", "Other often-used commands", "group1,group2,group3,group4")
/*
@ -180,7 +180,7 @@ Group # 1 - Look
ASSIGN_HINT("keyBindStatus")
END_OPTION
/*
BEGIN_OPTION("Use Joystick", "in_joystick", ITEM_TYPE_YESNO, 9, 1)
OPTION_BELOW("gr1_ctrl8")
ASSIGN_HINT("YesNoMessage")
@ -191,6 +191,7 @@ Group # 1 - Look
OPTION_BELOW("gr1_ctrl9")
ASSIGN_HINT("SliderMessage")
END_OPTION
*/
/*
==========================================================
@ -373,47 +374,57 @@ Group # 4 - Misc
END_OPTION
BEGIN_OPTION("Show Scores", "+button3", ITEM_TYPE_BIND, 2, 4)
BEGIN_OPTION("Show Statistics", "+wstats", ITEM_TYPE_BIND, 2, 4)
OPTION_BELOW("gr4_ctrl1")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Chat", "messagemode", ITEM_TYPE_BIND, 3, 4)
BEGIN_OPTION("Gesture", "+button3", ITEM_TYPE_BIND, 3, 4)
OPTION_BELOW("gr4_ctrl2")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Chat - Team", "messagemode2", ITEM_TYPE_BIND, 4, 4)
BEGIN_OPTION("Chat Message", "messagemode", ITEM_TYPE_BIND, 4, 4)
OPTION_BELOW("gr4_ctrl3")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Chat - Target", "messagemode3", ITEM_TYPE_BIND, 5, 4)
BEGIN_OPTION("Chat - Team", "messagemode2", ITEM_TYPE_BIND, 5, 4)
OPTION_BELOW("gr4_ctrl4")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Chat - Attacker", "messagemode4", ITEM_TYPE_BIND, 6, 4)
BEGIN_OPTION("Chat - Target", "messagemode3", ITEM_TYPE_BIND, 6, 4)
OPTION_BELOW("gr4_ctrl5")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Screenshot", "screenshot", ITEM_TYPE_BIND, 7, 4)
BEGIN_OPTION("Chat - Attacker", "messagemode4", ITEM_TYPE_BIND, 7, 4)
OPTION_BELOW("gr4_ctrl6")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Screenshot - JPEG", "screenshotJPEG", ITEM_TYPE_BIND, 8, 4)
BEGIN_OPTION("VoIP Push-to-talk", "+voiprecord", ITEM_TYPE_BIND, 8, 4)
OPTION_BELOW("gr4_ctrl7")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Screenshot", "screenshot", ITEM_TYPE_BIND, 9, 4)
OPTION_BELOW("gr4_ctrl8")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Screenshot - JPEG", "screenshotJPEG", ITEM_TYPE_BIND, 10, 4)
OPTION_BELOW("gr4_ctrl9")
ASSIGN_HINT("keyBindStatus")
END_OPTION
/*
==========================================================
@ -449,47 +460,53 @@ Group # 5 - Reaction
END_OPTION
BEGIN_OPTION("Drop Weapon", "dropweapon", ITEM_TYPE_BIND, 5, 5)
BEGIN_OPTION("Drop Weapon", "drop weapon", ITEM_TYPE_BIND, 5, 5)
OPTION_BELOW("gr5_ctrl4")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Drop Item", "dropitem", ITEM_TYPE_BIND, 6, 5)
BEGIN_OPTION("Drop Item", "drop item", ITEM_TYPE_BIND, 6, 5)
OPTION_BELOW("gr5_ctrl5")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("IR Vision", "irvision", ITEM_TYPE_BIND, 7, 5)
BEGIN_OPTION("Drop Briefcase", "drop case", ITEM_TYPE_BIND, 7, 5)
OPTION_BELOW("gr5_ctrl6")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Special Weapon Cycle", "specialweapon", ITEM_TYPE_BIND, 8, 5)
BEGIN_OPTION("IR Vision", "irvision", ITEM_TYPE_BIND, 8, 5)
OPTION_BELOW("gr5_ctrl7")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Weapon/Item Choice", "ui_RQ3_loadout", ITEM_TYPE_BIND, 9, 5)
BEGIN_OPTION("Special Weapon Cycle", "specialweapon", ITEM_TYPE_BIND, 9, 5)
OPTION_BELOW("gr5_ctrl8")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Join Team", "ui_RQ3_joinTeam", ITEM_TYPE_BIND, 10, 5)
BEGIN_OPTION("Weapon/Item Choice", "ui_RQ3_loadout", ITEM_TYPE_BIND, 10, 5)
OPTION_BELOW("gr5_ctrl9")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Presets Menu", "ui_RQ3_presets", ITEM_TYPE_BIND, 11, 5)
BEGIN_OPTION("Join Team", "ui_RQ3_joinTeam", ITEM_TYPE_BIND, 11, 5)
OPTION_BELOW("gr5_ctrl10")
ASSIGN_HINT("keyBindStatus")
END_OPTION
BEGIN_OPTION("Presets Menu", "ui_RQ3_presets", ITEM_TYPE_BIND, 12, 5)
OPTION_BELOW("gr5_ctrl11")
ASSIGN_HINT("keyBindStatus")
END_OPTION
}
}

View File

@ -25,9 +25,11 @@
visible MENU_FALSE // Visible on open
//fullScreen MENU_FALSE
focusColor RQ3_MAIN_FOCUSCOLOR // Menu focus color for text and items
rect 160 8 560 440
rect 144 8 332 426
anglevectors ANGLES
style WINDOW_STYLE_EMPTY
//style WINDOW_STYLE_FILLED
//backcolor 0 0 0 1
popup
onOOBClick { close _self ; open _prev }
@ -35,7 +37,7 @@
setitemcolor hints forecolor HINT_COLOR 1 ; hide "hints" ;
ACTIVATE_TAB(1) ;
}
onEsc { uiScript closeJoin }
onEsc { close _self }
onOpenSpecial {
//normal items
@ -56,7 +58,7 @@
style WINDOW_STYLE_SHADER
background UI_ASSETS"/paper_1"
forecolor MENUCOLOR_MOD 1
rect -16 -16 360 500
rect 0 -16 360 500
anglevectors ANGLES
visible 1
decoration
@ -177,49 +179,62 @@ Group # 1
ADD_HINT("hint_maps", "Select a map", "group1")
itemDef {
renderpoint
name "postit"
group "fade_fore_alpha,group1,allgroups"
style WINDOW_STYLE_SHADER
background UI_ASSETS"/post_it"
forecolor .85 .85 .85 1
rect -60 204 188 160
anglevectors 7 -83
visible 1
decoration
}
//Title
itemdef {
renderpoint
name "static"
subgroup "fade_fore_alpha,group1,allgroups"
text "Map:"
forecolor .0 .0 .1 1
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
textalignx 8
textaligny 4
textscale .225
alignRect "postit" ITEM_ALIGN_LEFT 28 20 100 32
visible 1
decoration
}
//itemdef {
// renderpoint
// name "static"
// subgroup "fade_fore_alpha,group1,allgroups"
// text "Map:"
// forecolor .0 .0 .1 1
// style WINDOW_STYLE_EMPTY
// textalign ITEM_ALIGN_LEFT
// textalignx 8
// textaligny 4
// textscale .225
// alignRect "postit" ITEM_ALIGN_LEFT 28 20 100 32
// visible 1
// decoration
//}
itemdef {
name map_preview
name "map_preview"
//group "fade_fore_alpha"
subgroup "fade_fore_alpha,group1,allgroups"
alignrect postit ITEM_ALIGN_LEFT 40 40 96 72
rect -16 204 120 90
anglevectors 7 -83
ownerdraw UI_STARTMAPCINEMATIC
style WINDOW_STYLE_EMPTY
decoration
visible 1
}
itemDef {
renderpoint
name "polaroid"
group "fade_fore_alpha,group1,allgroups"
style WINDOW_STYLE_SHADER
background UI_ASSETS"/polaroid"
alignrect "map_preview" ITEM_ALIGN_CENTER 0 -23 160 160
visible 1
decoration
}
/*
itemDef {
renderpoint
name "border"
subgroup "fade_fore_alpha,group1,allgroups"
style WINDOW_STYLE_SHADER
background UI_ASSETS"/polaroid"
alignrect map_preview ITEM_ALIGN_LEFT -4 -3 128 96
//anglevectors -4 -96
decoration
}
*/
// Host name
itemdef {
@ -281,19 +296,28 @@ Group # 1
// Gametype
itemdef {
name "gametype_caption"
group "fade_fore_alpha,group1,allgroups"
style 0
text "Gametype:"
alignrect "host_caption" ITEM_ALIGN_LEFT 0 24 208 20
textscale .225
textalign 0
textalignx 4
textaligny 16
forecolor OPTION_COLOR
visible 1
decoration
}
BEGIN_OPTION("Gametype", "g_gametype", ITEM_TYPE_MULTI, 2, 1)
//OPTION_BELOW("gr1_ctrl1")
alignrect "host_caption" ITEM_ALIGN_LEFT 64 24 208 20
//cvarFloatList {
// "Deathmatch" 0
// "Team Deathmatch" 3
// "Teamplay (TP)" 4
// "Capture the Briefcase (CTB)" 5
//}
ownerdraw UI_NETGAMETYPE
ASSIGN_HINT("hint_gametype")
END_OPTION
ADD_HINT("hint_gametype", "Sets the general mode of gameplay", "group1")
alignrect "gametype_caption" ITEM_ALIGN_RIGHT -28 2 160 20
text ""
ownerdraw UI_NETGAMETYPE
ASSIGN_HINT("hint_gametype")
END_OPTION
ADD_HINT("hint_gametype", "Sets the general mode of gameplay", "group1")
/*
==========================================================
@ -305,7 +329,8 @@ Group # 2
//Max players
BEGIN_OPTION("Maximum Players", "sv_maxclients", ITEM_TYPE_NUMERICFIELD, 1, 2)
alignrect "line" ITEM_ALIGN_CENTER 56 32 112 VSIZE
//alignrect "line" ITEM_ALIGN_CENTER 56 32 112 VSIZE
alignrect "line" ITEM_ALIGN_CENTER 56 44 112 VSIZE
maxChars 4
ASSIGN_HINT("hint_maxclients")
END_OPTION
@ -329,7 +354,6 @@ Group # 2
OPTION_BELOW("gr2_ctrl2")
maxChars 4
ASSIGN_HINT("hint_frag")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "0" }
END_OPTION
@ -343,7 +367,6 @@ Group # 2
OPTION_BELOW("gr2_ctrl2")
maxChars 4
ASSIGN_HINT("hint_capture")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "5" }
END_OPTION
@ -352,10 +375,9 @@ Group # 2
// Force join
BEGIN_OPTION("Force Join", "g_teamautojoin", ITEM_TYPE_YESNO, 5, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl4")
ASSIGN_HINT("hint_autojoin")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "5" }
END_OPTION
@ -364,10 +386,9 @@ Group # 2
// Even teams
BEGIN_OPTION("Even Teams", "g_teamforcebalance", ITEM_TYPE_YESNO, 6, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl5")
ASSIGN_HINT("hint_even")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "5" }
END_OPTION
@ -383,7 +404,6 @@ Group # 2
"On" 1
}
ASSIGN_HINT("hint_ff")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "5" }
END_OPTION
@ -399,7 +419,6 @@ Group # 2
"None" 0
}
ASSIGN_HINT("hint_tgren")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "5" }
END_OPTION
@ -413,7 +432,6 @@ Group # 2
OPTION_BELOW("gr2_ctrl2")
maxChars 4
ASSIGN_HINT("hint_frag")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -421,10 +439,9 @@ Group # 2
// Force join
BEGIN_OPTION("Force Join", "g_teamautojoin", ITEM_TYPE_YESNO, 10, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl9")
ASSIGN_HINT("hint_autojoin")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -432,10 +449,9 @@ Group # 2
// Even teams
BEGIN_OPTION("Even Teams", "g_teamforcebalance", ITEM_TYPE_YESNO, 11, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl10")
ASSIGN_HINT("hint_even")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -450,7 +466,6 @@ Group # 2
"On" 1
}
ASSIGN_HINT("hint_ff")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -465,7 +480,6 @@ Group # 2
"None" 0
}
ASSIGN_HINT("hint_tgren")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -479,7 +493,6 @@ Group # 2
"TP Style" 1
}
ASSIGN_HINT("hint_tdm_mode")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "3" }
END_OPTION
@ -492,7 +505,6 @@ Group # 2
OPTION_BELOW("gr2_ctrl2")
maxChars 4
ASSIGN_HINT("hint_rounds")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -504,7 +516,6 @@ Group # 2
OPTION_BELOW("gr2_ctrl15")
maxChars 4
ASSIGN_HINT("hint_roundtime")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -513,10 +524,9 @@ Group # 2
// Force join
BEGIN_OPTION("Force Join", "g_teamautojoin", ITEM_TYPE_YESNO, 17, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl16")
ASSIGN_HINT("hint_autojoin")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -524,10 +534,9 @@ Group # 2
// Even teams
BEGIN_OPTION("Even Teams", "g_teamforcebalance", ITEM_TYPE_YESNO, 18, 2)
kind YESNO_ICON_RIGHT
//kind YESNO_ICON_RIGHT
OPTION_BELOW("gr2_ctrl17")
ASSIGN_HINT("hint_even")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -542,7 +551,6 @@ Group # 2
"On" 1
}
ASSIGN_HINT("hint_ff")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -557,7 +565,6 @@ Group # 2
"None" 0
}
ASSIGN_HINT("hint_tgren")
//cvarTest "g_gametype"
cvarTest "ui_actualNetGameType"
showCvar { "4" }
END_OPTION
@ -575,7 +582,8 @@ Group # 3
BEGIN_OPTION("Pure Server", "sv_pure", ITEM_TYPE_YESNO, 1, 3)
kind YESNO_ICON_RIGHT
alignrect "line" ITEM_ALIGN_CENTER 56 32 112 VSIZE
//alignrect "line" ITEM_ALIGN_CENTER 56 32 112 VSIZE
alignrect "line" ITEM_ALIGN_CENTER 56 44 112 VSIZE
ASSIGN_HINT("hint_pure")
END_OPTION
ADD_HINT("hint_pure", "Enable Pure Server to ensure that the content on client machines match the content on your server", "group3")
@ -624,6 +632,15 @@ Group # 3
END_OPTION
ADD_HINT("hint_sync", "Toggles synchronization of all clients to allow demo recording on the server", "group3")
// VoIP
BEGIN_OPTION("VoIP", "sv_voip", ITEM_TYPE_YESNO, 7, 3)
kind YESNO_ICON_RIGHT
OPTION_BELOW("gr3_ctrl6")
ASSIGN_HINT("hint_voip")
END_OPTION
ADD_HINT("hint_voip", "Enable server-side VoIP support", "group3")
}

View File

@ -1756,12 +1756,12 @@
textscale .35
textalignx 120
textaligny 100
text " SOFTWARE"
text "id Software"
autowrapped
visible 1
decoration
}
/*
itemDef {
name "timer28"
group timer
@ -1772,7 +1772,7 @@
decoration
}
*/
// PROGRAMMING //
@ -1977,7 +1977,8 @@
style WINDOW_STYLE_SHADER
background "ui/assets/screen_static"
forecolor 1 1 1 1
rect 0 0 640 480
//rect 0 0 640 480
rect UI_MINX UI_MINY UI_WIDTH UI_HEIGHT
visible 0
randomizeTexCoords
decoration

View File

@ -2,32 +2,30 @@
// MENU DEFS //
loadMenu { "ui/ingame.menu" }
loadMenu { "ui/ingame_devmode.menu" }
//loadMenu { "ui/ingame_devmode.menu" }
loadMenu { "ui/ingame_vote.menu" }
loadMenu { "ui/ingame_tkok.menu" }
loadMenu { "ui/ingame_about.menu" }
//loadMenu { "ui/ingame_voip.menu" }
loadMenu { "ui/ingame_join.menu" }
loadMenu { "ui/ingame_join_dm.menu" }
loadMenu { "ui/ingame_system.menu" }
loadMenu { "ui/ingame_controls.menu" }
loadMenu { "ui/ingame_options.menu" }
loadMenu { "ui/ingame_setup.menu" }
loadMenu { "ui/ingame_player.menu" }
//loadMenu { "ui/ingame_player.menu" }
loadMenu { "ui/ingame_weapon.menu" }
loadMenu { "ui/ingame_item.menu" }
loadMenu { "ui/ingame_ignore.menu" }
loadMenu { "ui/ingame_addbot.menu" }
//loadMenu { "ui/ingame_addbot.menu" }
loadMenu { "ui/ingame_callvote.menu" }
loadMenu { "ui/ingame_leave.menu" }
loadMenu { "ui/ingame_matchmode.menu" }
loadMenu { "ui/ingame_matchmode_captain.menu" }
loadMenu { "ui/ingame_matchmode_referee.menu" }
loadMenu { "ui/ingame_matchmode_settings.menu" }
//loadMenu { "ui/ingame_matchmode.menu" }
//loadMenu { "ui/ingame_matchmode_captain.menu" }
//loadMenu { "ui/ingame_matchmode_referee.menu" }
//loadMenu { "ui/ingame_matchmode_settings.menu" }
loadMenu { "ui/ingame_presets.menu" }
loadMenu { "ui/ingame_presets_edit.menu" }
//loadMenu { "ui/ingame_presets.menu" }
//loadMenu { "ui/ingame_presets_edit.menu" }
}

View File

@ -1,124 +1,131 @@
#include "ui/menudef.h"
#define ANGLES -4 -96
{
menuDef {
renderpoint
name "ingame_about"
visible MENU_FALSE // Visible on open
fullscreen 0
onOOBClick { close _self ; open _prev } // this closes the window if it gets a click out of the rectangle
rect 168 72 340 264
disableColor .5 .5 .5 1
focusColor RQ3_MAIN_FOCUSCOLOR // Menu focus color for text and items
anglevectors ANGLES
//style WINDOW_STYLE_FILLED
//backcolor 0 0 0 1
style WINDOW_STYLE_EMPTY
popup
onOOBClick { close _self ; open _prev }
onOpen { play "sound/ui/whoosh3.wav" ; uiScript "refreshIngameServerInfo" }
onEsc { close _self ; open _prev }
menuDef {
name "ingame_about"
visible 0
fullscreen 0
//outOfBoundsClick // this closes the window if it gets a click out of the rectangle
onOOBClick { close _self ; open _prev }
rect 256 64 256 248
disableColor .5 .5 .5 1
focusColor 1 .75 0 1 // Menu focus color for text and items
style 1
shadowStyle 1
onOpen { play "sound/misc/menu1.wav" ; uiScript "refreshIngameServerInfo" }
onOpenSpecial {
//normal items
setItemColor "fade_fore_alpha" forecolor 5 5 5 0 ;
timeFade "fade_fore_alpha" forecolor 5 5 5 1 0 FADEIN_TIME ;
//icon - special alpha
setItemColor "icon" forecolor 5 5 5 0 ;
timeFade "icon" forecolor 5 5 5 ICON_ALPHA 0 FADEIN_TIME ;
//line - special alpha; using backcolor
setItemColor "line" backcolor 5 5 5 0 ;
timeFade "line" backcolor 5 5 5 LINE_ALPHA 0 FADEIN_TIME ;
}
//Window
itemDef {
renderpoint
name "paper,fade_alpha"
menuAnchor
style WINDOW_STYLE_SHADER
background UI_ASSETS"/paper_1"
forecolor MENUCOLOR_OPTIONS 1
rect -8 -16 380 320
anglevectors ANGLES
visible 1
decoration
}
//Title
itemDef {
rect 0 0 256 248
style WINDOW_STYLE_FILLED
backcolor Ig_Window_Color
visible 1
border 1
bordersize 1
bordercolor Ig_Window_BorderColor
decoration
}
itemdef {
renderpoint
name "title,fade_alpha"
text "Server info:"
forecolor .6 .0 .0 1
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
textalignx 4
textaligny 24
textscale RQ3_MAIN_TEXTSIZE
alignrect paper ITEM_ALIGN_LEFT 32 32 240 36
visible 1
autowrapped
decoration
}
//Objects
itemDef {
rect 137 1 120 24
style WINDOW_STYLE_SHADER
background "ui/assets/rq3-ingame-title"
visible 1
decoration
}
itemDef {
name view_summary
alignrect title ITEM_ALIGN_LEFT 148 12 136 20
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
text "> ^_V^_iew: summary"
forecolor 0 0 0 1
shortcutKey "V"
type ITEM_TYPE_BUTTON
cvarTest "ui_RQ3_ingameDetails"
showCvar { "0" }
textalignx 4
textaligny 12
textscale .225
backcolor 0 0 .75 .25
action { play "sound/misc/menu1.wav" ; setCvar ui_RQ3_ingameDetails 1 ;
uiScript "refreshIngameServerInfo" ; setfocus view_details }
visible 1
}
itemDef {
rect 137 1 120 24
style WINDOW_STYLE_EMPTY
forecolor Ig_Window_TitleColor
textstyle ITEM_TEXTSTYLE_NORMAL
textscale .225
textalign ITEM_ALIGN_LEFT
textalignx 24
textaligny 16
text "Server info"
visible 1
decoration
}
//Objects
itemDef {
name view_summary
rect 12 32 256 20
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
text "^_V^_iew: summary"
shortcutKey "V"
type ITEM_TYPE_BUTTON
cvarTest "ui_RQ3_ingameDetails"
showCvar { "0" }
textalignx 4
textaligny 12
textscale .225
backcolor 0 0 .75 .25
action { play "sound/misc/menu1.wav" ; setCvar ui_RQ3_ingameDetails 1 ;
uiScript "refreshIngameServerInfo" ; setfocus view_details }
visible 1
}
itemDef {
name view_details
rect 12 32 256 20
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
text "^_V^_iew: details"
shortcutKey "V"
type ITEM_TYPE_BUTTON
cvarTest "ui_RQ3_ingameDetails"
hideCvar { "0" }
textalignx 4
textaligny 12
textscale .225
backcolor 0 0 .75 .25
action { play "sound/misc/menu1.wav" ; setCvar ui_RQ3_ingameDetails 0 ;
uiScript "refreshIngameServerInfo" ; setfocus view_summary }
visible 1
}
itemDef {
rect 12 52 232 184
type ITEM_TYPE_LISTBOX
style WINDOW_STYLE_FILLED
elementwidth 120
elementheight 15
textscale .2
elementtype LISTBOX_TEXT
feeder FEEDER_INGAME_SERVERINFO
columns 2 4 16 16 120 16 16
border 1
bordercolor .25 .25 .25 1
forecolor 1 1 1 1
backcolor 0 0 0 .25
outlinecolor .75 .75 1 .25
visible 1
}
// Scrollbar separator //
itemDef {
rect 226 52 18 184
style WINDOW_STYLE_EMPTY
border 1
borderSize 1
bordercolor .25 .25 .25 1
visible 1
decoration
}
itemDef {
name view_details
alignrect title ITEM_ALIGN_LEFT 148 12 136 20
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
text "> ^_V^_iew: details"
forecolor 0 0 0 1
shortcutKey "V"
type ITEM_TYPE_BUTTON
cvarTest "ui_RQ3_ingameDetails"
hideCvar { "0" }
textalignx 4
textaligny 12
textscale .225
backcolor 0 0 .75 .25
action { play "sound/misc/menu1.wav" ; setCvar ui_RQ3_ingameDetails 0 ;
uiScript "refreshIngameServerInfo" ; setfocus view_summary }
visible 1
}
}
itemDef {
alignrect title ITEM_ALIGN_LEFT 12 32 272 184
type ITEM_TYPE_LISTBOX
LISTBOX_STYLE(.225, 8)
style WINDOW_STYLE_FILLED
elementwidth 280
elementheight 15
textscale .2
elementtype LISTBOX_TEXT
feeder FEEDER_INGAME_SERVERINFO
columns 2
2 0 22
136 0 22
//border 1
//bordercolor .25 .25 .25 1
forecolor 0 0 0 1
//backcolor 0 0 0 .25
//outlinecolor .75 .75 1 .25
visible 1
}
}
}

View File

@ -1,4 +1,181 @@
#include "ui/menudef.h"
#define ANGLES -3 -93
{
menuDef {
renderpoint
name "ingame_ignore"
visible MENU_FALSE // Visible on open
fullscreen 0
onOOBClick { close _self ; open _prev } // this closes the window if it gets a click out of the rectangle
rect 192 64 340 264
disableColor .5 .5 .5 1
focusColor RQ3_MAIN_FOCUSCOLOR // Menu focus color for text and items
anglevectors ANGLES
style WINDOW_STYLE_EMPTY
//style WINDOW_STYLE_FILLED
//backcolor 0 0 0 1
popup
onOOBClick { close _self ; open _prev }
onOpen { play "sound/ui/whoosh3.wav" ; uiScript "refreshIngameServerInfo" }
onEsc { close _self ; open _prev }
onOpenSpecial {
//normal items
setItemColor "fade_fore_alpha" forecolor 5 5 5 0 ;
timeFade "fade_fore_alpha" forecolor 5 5 5 1 0 FADEIN_TIME ;
//icon - special alpha
setItemColor "icon" forecolor 5 5 5 0 ;
timeFade "icon" forecolor 5 5 5 ICON_ALPHA 0 FADEIN_TIME ;
//line - special alpha; using backcolor
setItemColor "line" backcolor 5 5 5 0 ;
timeFade "line" backcolor 5 5 5 LINE_ALPHA 0 FADEIN_TIME ;
}
itemDef {
renderpoint
name "paper,fade_alpha"
menuAnchor
style WINDOW_STYLE_SHADER
background UI_ASSETS"/paper_1"
forecolor MENUCOLOR_OPTIONS 1
rect -8 -16 380 320
anglevectors ANGLES
visible 1
decoration
}
//Title
itemdef {
renderpoint
name "title,fade_alpha"
text "Ignore:"
forecolor .6 .0 .0 1
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
textalignx 4
textaligny 24
textscale RQ3_MAIN_TEXTSIZE
alignrect paper ITEM_ALIGN_LEFT 32 32 240 36
visible 1
autowrapped
decoration
}
itemDef {
name "the_list"
alignrect title ITEM_ALIGN_LEFT 12 32 160 176
type ITEM_TYPE_LISTBOX
LISTBOX_STYLE(.225, 8)
style WINDOW_STYLE_FILLED
elementwidth 192
elementheight 15
textscale .2
elementtype LISTBOX_TEXT
feeder FEEDER_PLAYER_LIST
forecolor 0 0 0 1
visible 1
}
// Ignore //
itemdef {
name "btn_ignore"
text "> ^_I^_gnore"
shortcutKey "I"
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
forecolor 0 0 0 1
textscale .225
alignrect paper ITEM_ALIGN_LEFT 224 64 72 16
textaligny 12
visible 1
action { uiScript ignore ; close ingame_ignore }
}
// Unignore //
itemdef {
name "btn_unignore"
text "> ^_U^_nignore"
shortcutKey "U"
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
forecolor 0 0 0 1
textscale .225
alignrect "btn_ignore" ITEM_ALIGN_LEFT 0 16 72 16
textaligny 12
visible 1
action { uiScript unIgnore ; close ingame_ignore }
}
// Unignore all //
itemdef {
name "btn_unignore_all"
text "> Unignore ^_A^_ll"
shortcutKey "A"
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
forecolor 0 0 0 1
textscale .225
alignrect "btn_unignore" ITEM_ALIGN_LEFT 0 16 72 16
textaligny 12
visible 1
action { exec "clearignorelist" ; close ingame_ignore }
}
// VoIP //
// Turn off all incoming voice //
itemdef {
name "btn_mute_all"
text "> ^_M^_ute All"
shortcutKey "M"
type ITEM_TYPE_BUTTON
cvarTest "cl_voip"
hideCvar { "0" }
style WINDOW_STYLE_EMPTY
forecolor 0 0 0 1
textscale .225
alignrect "btn_unignore_all" ITEM_ALIGN_LEFT 0 64 72 16
textaligny 12
visible 1
action { exec "voip gain muteall" ; close ingame_ignore }
}
// Turn on all incoming voice //
itemdef {
name "btn_unmute_all"
text "> U^_n^_mute All"
shortcutKey "N"
type ITEM_TYPE_BUTTON
cvarTest "cl_voip"
hideCvar { "0" }
style WINDOW_STYLE_EMPTY
forecolor 0 0 0 1
textscale .225
alignrect "btn_mute_all" ITEM_ALIGN_LEFT 0 16 72 16
textaligny 12
visible 1
action { exec "voip gain unmuteall" ; close ingame_ignore }
}
}
}
#if 0
#include "ui/menudef.h"
{
@ -135,3 +312,5 @@
}
}
#endif

View File

@ -36,7 +36,7 @@
menuDef {
name "main" // Makro: rename it to "main-rq3"
//background "rq3-ta-menuback" // Makro: replace "rq3-ta-menuback" with "rq3-menuback"
background UI_ASSETS"/main_new" // Makro: replace "rq3-ta-menuback" with "rq3-menuback"
background UI_ASSETS"/main" // Makro: replace "rq3-ta-menuback" with "rq3-menuback"
fullScreen MENU_TRUE
//rect 0 0 640 480 // Size and position of the menu
@ -125,7 +125,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_join" ITEM_ALIGN_LEFT 0 36 96 24
alignrect "btn_join" ITEM_ALIGN_LEFT 0 36 112 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -257,7 +257,7 @@
alignrect "btn_setup" ITEM_ALIGN_LEFT 170 24 72 16
style WINDOW_STYLE_EMPTY
type ITEM_TYPE_BUTTON
action { close _self ; open replacements_menu ; }
action { open replacements_menu ; }
visible 1
}

View File

@ -429,6 +429,7 @@
#define MENUCOLOR_CONTROLS .98 .98 .98
#define MENUCOLOR_PLAYER .95 1 1
#define MENUCOLOR_SYSTEM .92 .92 .98
#define MENUCOLOR_REPLACEMENTS .96 .96 1
#define MENUCOLOR_OPTIONS 1 1 1
#define ALIGN_AFTER(ITEM, DIMX, DIMY)\

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,418 @@
#include "ui/menudef.h"
#include "ui/tabs.h"
////////////////////////////////////
//
// CONSTANTS
//
//
#define OPTION_COLOR 0 0 .1 1
#define Tab_Color1 0 0 0 1
#define Tab_Color2 0 0 .5 1
#define VSPACE 16
#define VSIZE 16
#define ICON_ALPHA 0.5
#define LINE_ALPHA 0.2
#define FADEIN_TIME 125
#define HINT_COLOR .25 .25 .25
#define HINT_FADE_TIME 125
#define LINE_WIDTH 240
#define ANGLES 8 -82
#define ADD_TAB2(TAB_TEXT, TAB_SHORTCUT, TAB_INDEX, TAB_REPLACEMENTS, TAB_OTHER_GROUPS, TAB_ALIGN)\
itemdef { \
cleantext TAB_TEXT \
name "alltabs,tab"#TAB_INDEX"_0,fade_alpha,allgroups,group"#TAB_INDEX \
INACTIVE_TAB_PROPS \
TAB_ALIGN \
} \
itemdef { \
text TAB_TEXT \
name "alltabs,tab"#TAB_INDEX",fade_alpha,allgroups,"TAB_OTHER_GROUPS \
shortcutKey TAB_SHORTCUT \
shortcutKey #TAB_INDEX \
ACTIVE_TAB_PROPS \
action { ACTIVATE_TAB(TAB_INDEX) ; uiScript replace TAB_REPLACEMENTS } \
ASSIGN_HINT("hint_tab"#TAB_INDEX) \
TAB_ALIGN \
}
////////////////////////////////////
//
// MENU DEFINITION
//
//
{
menuDef {
renderpoint
name "replacements_menu"
visible MENU_FALSE // Visible on open
focusColor RQ3_MAIN_FOCUSCOLOR // Menu focus color for text and items
rect 128 88 320 348
anglevectors ANGLES
style WINDOW_STYLE_EMPTY
//style WINDOW_STYLE_FILLED
//backcolor 0 0 0 1
popup
onOOBClick { close _self ; open _prev }
onOpen { play "sound/ui/whoosh3.wav" ; uiScript buildReplacementList
ACTIVATE_TAB(1) ;
}
onEsc { close _self }
onOpenSpecial {
//normal items
setItemColor "fade_fore_alpha" forecolor 5 5 5 0 ;
timeFade "fade_fore_alpha" forecolor 5 5 5 1 0 FADEIN_TIME ;
//icon - special alpha
setItemColor "icon" forecolor 5 5 5 0 ;
timeFade "icon" forecolor 5 5 5 ICON_ALPHA 0 FADEIN_TIME ;
//line - special alpha; using backcolor
setItemColor "line" backcolor 5 5 5 0 ;
timeFade "line" backcolor 5 5 5 LINE_ALPHA 0 FADEIN_TIME ;
}
itemDef {
name "paper"
menuAnchor
subgroup "fade_fore_alpha"
style WINDOW_STYLE_SHADER
background UI_ASSETS"/paper_1"
forecolor MENUCOLOR_REPLACEMENTS 1
rect -8 -20 320 420
anglevectors ANGLES
visible 1
decoration
}
//Title
itemdef {
renderpoint
name "title"
subgroup "fade_fore_alpha"
text "Replacements:"
forecolor .6 .0 .0 1
style WINDOW_STYLE_EMPTY
textalign ITEM_ALIGN_LEFT
textalignx 4
textaligny 24
textscale RQ3_MAIN_TEXTSIZE
alignRect paper ITEM_ALIGN_CENTER -20 40 220 20
visible 1
autowrapped
decoration
}
//Line
itemDef {
name "line"
subgroup "fade_fore_alpha"
style WINDOW_STYLE_FILLED
backcolor .25 .25 .25 LINE_ALPHA
alignrect "title" ITEM_ALIGN_LEFT 0 48 LINE_WIDTH 2
visible 1
decoration
}
//Icon
itemdef {
name icon
background UI_ASSETS"/icons/rq3-menu-start"
forecolor 1 1 1 ICON_ALPHA
alignrect "line" ITEM_ALIGN_RIGHT 0 -36 32 32
style WINDOW_STYLE_SHADER
visible 1
decoration
}
///////////////////////////////////////////////////////////
//
// Sub-options
//
//
// Weapons
ADD_TAB2(
"^_W^_eapons.",
"W", 1, "weapons", "group2,group3",
alignrect "title" ITEM_ALIGN_LEFT 2 28 48 16
)
ADD_HINT("hint_tab1", "Weapon replacements", "group2,group3")
//---------------------------------------------------------
// Items
ADD_TAB2(
"^_I^_tems.",
"I", 2, "items", "group1,group3",
alignrect "tab1" ITEM_ALIGN_RIGHT -32 0 32 16
)
ADD_HINT("hint_tab2", "Item replacements", "group1,group3")
//---------------------------------------------------------
// Ammo
ADD_TAB2(
"^_A^_mmo.",
"A", 3, "ammo", "group1,group2",
alignrect "tab2" ITEM_ALIGN_RIGHT -33 0 32 16
)
ADD_HINT("hint_tab3", "Ammo replacements", "group1,group2")
//---------------------------------------------------------
//Preview
itemdef {
name "preview"
//subgroup "fade_fore_alpha,group1,allgroups"
ownerdraw UI_RQ3_REPLACEMENTMODEL
background UI_ASSETS"/replacement-back.tga"
rect 180 64 120 120
anglevectors 1 -89
decoration
visible 1
style WINDOW_STYLE_SHADER
}
itemDef {
renderpoint
name "polaroid"
//group "fade_fore_alpha,group1,allgroups"
style WINDOW_STYLE_SHADER
background UI_ASSETS"/polaroid"
alignrect "preview" ITEM_ALIGN_CENTER 0 -23 160 160
visible 1
decoration
}
//Prev model
itemDef {
name "prev"
shortcutkey "P"
alignrect "preview" ITEM_ALIGN_LEFT 4 38 16 16
style WINDOW_STYLE_SHADER
background UI_ASSETS"/arrow_left_white"
type ITEM_TYPE_BUTTON
visible 1
forecolor 1 1 1 .3
action { play "sound/ui/whoosh3.wav" ; uiScript nextReplacement "-1" }
onFocus {
show "hint_prev" ;
timeFade "hint_prev" forecolor 5 5 5 1 0 HINT_FADE_TIME ;
timefadeSelf forecolor 1 1 1 1 0 250
}
leaveFocus {
timeFade "hint_prev" forecolor 5 5 5 0 0 HINT_FADE_TIME ;
timefadeSelf forecolor 1 1 1 .3 0 250
}
}
ADD_HINT("hint_prev", "Previous option", "allgroups")
//Next model
itemDef {
name "next"
shortcutkey "N"
alignrect "preview" ITEM_ALIGN_RIGHT 4 38 16 16
style WINDOW_STYLE_SHADER
background UI_ASSETS"/arrow_right_white"
type ITEM_TYPE_BUTTON
visible 1
forecolor 1 1 1 .3
action { play "sound/ui/whoosh3.wav" ; uiScript nextReplacement "1" }
onFocus {
show "hint_next" ;
timeFade "hint_next" forecolor 5 5 5 1 0 HINT_FADE_TIME ;
timefadeSelf forecolor 1 1 1 1 0 250
}
leaveFocus {
timeFade "hint_next" forecolor 5 5 5 0 0 HINT_FADE_TIME ;
timefadeSelf forecolor 1 1 1 .3 0 250
}
}
ADD_HINT("hint_next", "Next option", "allgroups")
itemdef {
name "weapon_tip"
group "fade_fore_alpha,group1,allgroups"
style 0
text "Select a weapon you\n"
"want to replace:"
autowrapped
alignrect "line" ITEM_ALIGN_LEFT 4 48 208 20
textscale .225
textalign 0
textalignx 4
textaligny 16
forecolor OPTION_COLOR
visible 1
decoration
}
itemdef {
name "item_tip"
group "fade_fore_alpha,group2,allgroups"
style 0
text "Select an item you\n"
"want to replace:"
autowrapped
alignrect "line" ITEM_ALIGN_LEFT 4 48 208 20
textscale .225
textalign 0
textalignx 4
textaligny 16
forecolor OPTION_COLOR
visible 1
decoration
}
itemdef {
name "ammo_tip"
group "fade_fore_alpha,group3,allgroups"
style 0
text "Select ammo type you\n"
"want to replace:"
autowrapped
alignrect "line" ITEM_ALIGN_LEFT 4 48 208 20
textscale .225
textalign 0
textalignx 4
textaligny 16
forecolor OPTION_COLOR
visible 1
decoration
}
//Sub-Type
itemDef {
name "sub-type"
//text "Type:"
ownerdraw UI_RQ3_REPLACEMENTSUBTYPE
alignrect "line" ITEM_ALIGN_LEFT 12 84 120 16
textalign ITEM_ALIGN_LEFT
textalignx 4
textaligny 14
textscale .225
forecolor OPTION_COLOR
visible 1
action { play "sound/ui/whoosh3.wav" }
}
itemdef {
name "selection_tip"
style 0
text "The current option:"
autowrapped
alignrect "sub-type" ITEM_ALIGN_LEFT -8 48 208 20
textscale .225
textalign 0
textalignx 4
textaligny 16
forecolor OPTION_COLOR
visible 1
decoration
}
//Replacement name
itemDef {
name "replacement"
ownerdraw UI_RQ3_REPLACEMENTNAME
alignrect "selection_tip" ITEM_ALIGN_LEFT 8 24 160 16
textalign ITEM_ALIGN_CENTER
textalignx 5
textaligny 12
textscale .225
forecolor OPTION_COLOR
style WINDOW_STYLE_EMPTY
//style WINDOW_STYLE_FILLED
//backcolor 0 0 0 1
visible 1
decoration
}
//Description
itemDef {
name "description"
ownerdraw UI_RQ3_REPLACEMENTINFO
alignrect "replacement" ITEM_ALIGN_LEFT 12 14 224 104
textalign ITEM_ALIGN_LEFT
textalignx 4
textaligny 14
textscale .2
//backcolor 0 0 0 .125
forecolor .25 .25 .25 1
//forecolor OPTION_COLOR
style WINDOW_STYLE_EMPTY
//style WINDOW_STYLE_FILLED
visible 1
decoration
}
//Select
itemDef {
name "select"
text "^_S^_elect >"
shortcutKey "S"
type ITEM_TYPE_BUTTON
textscale .25
style WINDOW_STYLE_EMPTY
alignrect "paper" ITEM_ALIGN_RIGHT 32 308 96 16
textalign ITEM_ALIGN_CENTER
textalignx 48
textaligny 12
forecolor OPTION_COLOR
visible 1
action { play "sound/ui/whoosh3.wav" ; uiScript "selectReplacement" }
onFocus {
show "hint_select" ;
timeFade "hint_select" forecolor 5 5 5 1 0 HINT_FADE_TIME
}
leaveFocus {
timeFade "hint_select" forecolor 5 5 5 0 0 HINT_FADE_TIME
}
}
ADD_HINT("hint_select", "Select the current option", "allgroups")
}
}
#if 0
#include "ui/menudef.h"
#define RQ3_Option_Color .75 .75 .75 1
@ -379,3 +794,5 @@
}
}
#endif

View File

@ -14,7 +14,7 @@
visible MENU_FALSE // Visible on open
//fullScreen MENU_FALSE
focusColor RQ3_MAIN_FOCUSCOLOR // Menu focus color for text and items
rect 128 96 288 348
rect 232 48 288 348
anglevectors ANGLES
style WINDOW_STYLE_EMPTY
popup
@ -46,7 +46,7 @@
style WINDOW_STYLE_SHADER
background UI_ASSETS"/paper_1"
forecolor MENUCOLOR_SETUP 1
rect -8 -16 320 420
rect -4 -20 320 420
anglevectors ANGLES
visible 1
decoration
@ -123,7 +123,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect title ITEM_ALIGN_LEFT 2 64 36 20
alignrect title ITEM_ALIGN_LEFT 2 64 56 20
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -155,7 +155,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_player" ITEM_ALIGN_LEFT 0 36 96 24
alignrect "btn_player" ITEM_ALIGN_LEFT 0 36 72 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -187,7 +187,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_controls" ITEM_ALIGN_LEFT 0 36 96 24
alignrect "btn_controls" ITEM_ALIGN_LEFT 0 36 64 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -219,7 +219,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_system" ITEM_ALIGN_LEFT 0 36 96 24
alignrect "btn_system" ITEM_ALIGN_LEFT 0 36 108 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -251,7 +251,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_game" ITEM_ALIGN_LEFT 0 36 96 24
alignrect "btn_game" ITEM_ALIGN_LEFT 0 36 108 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1
@ -284,7 +284,7 @@
textalignx 0
textaligny 20
textscale UI_MAIN_TEXTSIZE
alignrect "btn_replace" ITEM_ALIGN_LEFT 0 48 96 24
alignrect "btn_replace" ITEM_ALIGN_LEFT 0 48 128 24
type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY
visible 1