mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-29 23:42:38 +00:00
223 lines
4.4 KiB
Text
223 lines
4.4 KiB
Text
|
// HUD menu
|
||
|
//
|
||
|
// defines from ui_shared.h
|
||
|
{
|
||
|
menuDef
|
||
|
{
|
||
|
name "datapadMissionMenu"
|
||
|
fullScreen 1 // MENU_TRUE
|
||
|
rect 0 0 640 480 // Size and position of the menu
|
||
|
visible 1 // Visible on open
|
||
|
focusColor 1 1 1 1 // Focus color for text and items
|
||
|
appearanceIncrement 75 // In miliseconds
|
||
|
descX 320
|
||
|
descY 350
|
||
|
descScale .8
|
||
|
descColor .96 .933 .40 1 // Focus color for text and items
|
||
|
descAlignment ITEM_ALIGN_CENTER
|
||
|
onESC
|
||
|
{
|
||
|
uiScript closedatapad // Close menu
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
//
|
||
|
// MENU BACKGROUND
|
||
|
//
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
itemDef
|
||
|
{
|
||
|
name frame_pic
|
||
|
group none
|
||
|
style WINDOW_STYLE_SHADER
|
||
|
rect 0 0 640 480
|
||
|
background "*white"
|
||
|
forecolor 0 0 0 1
|
||
|
visible 1
|
||
|
decoration
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
//
|
||
|
// MISSION TEXT
|
||
|
//
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
itemDef
|
||
|
{
|
||
|
name mission2
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_OWNERDRAW
|
||
|
rect 50 40 95 40
|
||
|
textscale .4
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
ownerdraw 203 // UI_DATAPAD_MISSION
|
||
|
}
|
||
|
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
//
|
||
|
// LOWER MENU BUTTONS
|
||
|
//
|
||
|
//----------------------------------------------------------------------------------------------
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name mission
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 130 382 0 0
|
||
|
text @MENUS1_DP_MISSION
|
||
|
descText @MENUS1_AN_OVERVIEW_OF_MISSION
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
play "sound/interface/button1.wav" ;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name exit
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 417 382 95 25
|
||
|
text @MENUS1_RESUME
|
||
|
descText @MENUS1_RETURN_TO_GAME
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
play "sound/interface/button1.wav" ;
|
||
|
uiScript closedatapad // Close menu
|
||
|
}
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name weapons
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 130 420 95 25
|
||
|
text @MENUS0_WEAPONS
|
||
|
descText @MENUS1_VIEW_CURRENTLY_OWNED
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
play "sound/interface/button1.wav" ;
|
||
|
close all ;
|
||
|
open datapadWeaponsMenu
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name inventory
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 274 420 95 25
|
||
|
text @MENUS1_INVENTORY
|
||
|
descText @MENUS1_VIEW_CURRENT_INVENTORY
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
play "sound/interface/button1.wav" ;
|
||
|
close all ;
|
||
|
open datapadInventoryMenu
|
||
|
}
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name force
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 417 420 95 25
|
||
|
text @MENUS1_DP_FORCE
|
||
|
descText @MENUS1_VIEW_CURRENT_FORCE_POWERS
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
play "sound/interface/button1.wav" ;
|
||
|
close all ;
|
||
|
open datapadForcePowersMenu
|
||
|
}
|
||
|
}
|
||
|
|
||
|
itemDef
|
||
|
{
|
||
|
name cheats
|
||
|
group none
|
||
|
style WINDOW_STYLE_EMPTY
|
||
|
type ITEM_TYPE_BUTTON
|
||
|
rect 274 382 95 25
|
||
|
//text "CHEATS"
|
||
|
//descText "Bla Bla"
|
||
|
font 2
|
||
|
textscale 1
|
||
|
textalignx 48
|
||
|
textalign ITEM_ALIGN_CENTER
|
||
|
forecolor .509 .609 .847 1
|
||
|
appearance_slot 1
|
||
|
visible 1
|
||
|
|
||
|
action
|
||
|
{
|
||
|
close all
|
||
|
open datapadCheatsMenu
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|