home *** CD-ROM | disk | FTP | other *** search
- #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/sidrial/hilight.tga" // gradient bar
- itemFocusSound "sound/UI/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
- }
-
-
- \\ INGAME MENU \\
-
- menuDef {
- name "ingame_sp"
- visible 1
- fullScreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 280 5 360 35
- focusColor 1 1 1 1
- disableColor .5 .5 .5 1
- onOpen {
- hide litebar;
- }
-
- //Main Bar//
- itemDef {
- name mainbar
- group ingame
- style WINDOW_STYLE_FILLED
- rect 25 6 70 24
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 7 1 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 79 1 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name main
- group ingame
- text "Main"
- type 1
- style WINDOW_STYLE_FILLED
- rect 25 6 70 24
- textalign 1
- textstyle 6
- textalignx 35
- textaligny 17
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { open ingame_main; close ingame_sp; hide litebar;}
- mouseEnter { transition mainbar 25 18 70 0 25 6 70 24 20 5 ; }
- mouseExit { transition mainbar 25 6 70 24 25 18 70 0 20 5 ; }
- }
- //Load Bar//
- itemDef {
- name loadbar
- group ingame
- style WINDOW_STYLE_FILLED
- rect 110 6 70 24
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name load_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 110 6 70 24
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 92 1 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 162 1 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name load
- group ingame
- text "Load"
- type 1
- style WINDOW_STYLE_FILLED
- rect 110 6 70 24
- textalign 1
- textstyle 6
- textalignx 35
- textaligny 17
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { open ingame_loadc; hide litebar; show load_litebar; }
- mouseEnter { transition loadbar 110 18 70 0 110 6 70 24 20 5 ;}
- mouseExit { transition loadbar 110 6 70 24 110 18 70 0 20 5 ; }
- }
- //Save Bar//
- itemDef {
- name savebar
- group ingame
- style WINDOW_STYLE_FILLED
- rect 193 6 70 24
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name save_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 193 6 70 24
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 175 1 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 247 1 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name save
- group ingame
- text "Save"
- type 1
- style WINDOW_STYLE_FILLED
- rect 193 6 70 24
- textalign 1
- textstyle 6
- textalignx 35
- textaligny 17
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { open ingame_savec; hide litebar; show save_litebar; }
- mouseEnter { transition savebar 193 18 70 0 193 6 70 24 20 5 ; }
- mouseExit { transition savebar 193 6 70 24 193 18 70 0 20 5 ; }
- }
- // Mission Briefing BAR//
- itemDef {
- name missbar
- group ingame
- style WINDOW_STYLE_FILLED
- rect 277 6 70 24
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name miss_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 277 6 70 24
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 259 1 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name brace
- group ingame
- style 3
- rect 331 1 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name miss
- group ingame
- text "Mission"
- type 1
- style WINDOW_STYLE_FILLED
- rect 277 6 70 24
- textalign 1
- textstyle 6
- textalignx 35
- textaligny 17
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { open ingame_miss; hide litebar; show miss_litebar; }
- mouseEnter { transition missbar 277 18 70 0 277 6 70 24 20 5 ; }
- mouseExit { transition missbar 277 6 70 24 277 18 70 0 20 5 ; }
- }
-
-
-
- }
- }