home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
- {
- \\ SETUP MENU \\
-
- menuDef {
- name "ingame_confignav"
- visible 0
- fullscreen 1
- rect 0 0 640 480
- background "systemconfig"
- focusColor 1 1 1 1
- style 1
- border 1
- onOpen {
- show format ;
- hide back_alt ;
- show back ;
- hide grpmessage;
- hide litebar;
- hide title;
- show control_litebar;
- show title_controls;}
- onEsc { close ingame_confignav ;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
- close ingame_configdefault ;
- open ingame_main }
-
- itemDef {
- name format // Layout
- style 3
- background "filter"
- backcolor .25 .5 .75 .75
- rect 0 0 640 480
- visible 0
- decoration
- }
- itemDef {
- name format
- style 3
- rect 0 0 640 480
- background "ui/sidrial/sub/white_bar.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 0
- decoration
- }
- itemDef {
- name format // Layout
- style 3
- background "sub_swooshb"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- rect 0 0 640 480
- visible 0
- decoration
- }
- itemDef {
- name systemconfig
- group icon
- style 3
- rect 580 40 40 40
- background "ui/sidrial/icon_systemconfig.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name image_title
- style 3
- rect 10 5 256 32
- background "ui/sidrial/text_systemconfig.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- // Control //
- itemDef {
- name controlbar
- style WINDOW_STYLE_FILLED
- rect 30 150 150 25
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name control_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 30 150 150 25
- backcolor .66 1 0 .7
- visible 1
- decoration
- }
- itemDef {
- name controls
- style 3
- rect 15 146 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name controls
- style 3
- rect 164 146 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name controls
- text "Controls"
- type 1
- textscale .35
- style 0
- textstyle 6
- rect 30 150 150 25
- textalign 1
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 1
- action {
- hide litebar;
- show control_litebar;
- hide title;
- show title_controls;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
- close ingame_configdefault ;
- open ingame_configcontrols }
- mouseEnter { show message_controls; transition controlbar 30 162 150 0 30 150 150 25 20 5 }
- mouseExit { hide message_controls; transition controlbar 30 150 150 25 30 162 150 0 20 5}
- }
- itemDef {
- name title_controls
- group title
- style 0
- text "Controls"
- textscale .4
- textstyle 6
- rect 500 47 80 25
- textalign 2
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 0
- decoration
- }
-
- // System //
- itemDef {
- name sysbar
- style WINDOW_STYLE_FILLED
- rect 30 190 150 25
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name system_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 30 190 150 25
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name system
- style 3
- rect 15 186 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name system
- style 3
- rect 164 186 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name system
- text "System"
- type 1
- textscale .35
- style 0
- textstyle 6
- rect 30 190 150 25
- textalign 1
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 1
- action {
- hide litebar;
- show system_litebar;
- hide title;
- show title_system;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
- close ingame_configdefault ;
- open ingame_configsystem }
- mouseEnter { show message_system; transition sysbar 30 202 150 0 30 190 150 25 20 5 }
- mouseExit { hide message_system; transition sysbar 30 190 150 25 30 202 150 0 20 5}
- }
- itemDef {
- name title_system
- group title
- text "System"
- textscale .4
- style 0
- textstyle 6
- rect 500 47 80 25
- textalign 2
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 0
- decoration
- }
-
- // Options //
- itemDef {
- name optionbar
- style WINDOW_STYLE_FILLED
- rect 30 230 150 25
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name options_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 30 230 150 25
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name options
- style 3
- rect 15 226 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name options
- style 3
- rect 164 226 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name options
- text "Options"
- type 1
- textscale .35
- style 0
- textstyle 6
- rect 30 230 150 25
- textalign 1
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 1
- action {
- hide litebar;
- show options_litebar;
- hide title;
- show title_options;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
- close ingame_configdefault ;
- open ingame_configoptions }
- mouseEnter { show message_gameoptions; transition optionbar 30 242 150 0 30 230 150 25 20 5 }
- mouseExit { hide message_gameoptions; transition optionbar 30 230 150 25 30 242 150 0 20 5}
- }
- itemDef {
- name title_options
- group title
- text "Options"
- textscale .4
- style 0
- textstyle 6
- rect 500 47 80 25
- textalign 2
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 0
- decoration
- }
-
- // Defaults //
- itemDef {
- name defaultbar
- style WINDOW_STYLE_FILLED
- rect 30 270 150 25
- backcolor .66 1 0 .7
- visible 0
- }
- itemDef {
- name default_litebar
- group litebar
- style WINDOW_STYLE_FILLED
- rect 30 270 150 25
- backcolor .66 1 0 .7
- visible 0
- decoration
- }
- itemDef {
- name default
- style 3
- rect 15 266 34 34
- background "ui/sidrial/sub/brace.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name default
- style 3
- rect 164 266 34 34
- background "ui/sidrial/sub/brace_right.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name default
- text "Defaults"
- type 1
- textscale .35
- style 0
- textstyle 6
- rect 30 270 150 25
- textalign 1
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 1
- action {
- hide litebar;
- show default_litebar;
- hide title;
- show title_default;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
- close ingame_configdefault ;
- open ingame_configdefault }
- mouseEnter { show message_default; transition defaultbar 30 282 150 0 30 270 150 25 20 5 }
- mouseExit { hide message_default; transition defaultbar 30 270 150 25 30 282 150 0 20 5}
- }
- itemDef {
- name title_default
- group title
- text "Defaults"
- textscale .4
- style 0
- textstyle 6
- rect 500 47 80 25
- textalign 2
- textalignx 75
- textaligny 19
- forecolor .66 1 0 1
- visible 0
- decoration
- }
-
-
-
-
- // BACK BAR //
-
-
- itemDef {
- name backbar
- group Bar
- style 2
- rect 20 420 210 40
- backcolor .66 1 0 .7
- border 0
- visible 0
- action {
- close ingame_confignav ;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
-
- close ingame_configdefault ;
-
- open ingame_main }
- }
- itemDef {
- name back
- group icon
- style 3
- rect 15 420 40 40
- background "ui/sidrial/sub/icon_left.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- action {
- close ingame_confignav ;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
-
- close ingame_configdefault ;
-
- open ingame_main }
- }
- itemDef {
- name back
- group words
- type 1
- text "Back"
- style 0
- textstyle 6
- rect 15 420 150 40
- forecolor .66 1 0 1
- textalignx 45
- textaligny 25
- textalign 0
- textscale .4
- visible 1
- mouseEnter { transition backbar 20 440 196 0 20 420 196 40 20 5 ; fadein message_back;}
- mouseExit { transition backbar 20 420 196 40 20 440 196 0 20 5 ; fadeout message_back;}
- action {
- close ingame_confignav ;
- close ingame_configcontrols ;
- close ingame_configsystem ;
- close ingame_configoptions ;
-
- close ingame_configdefault ;
-
- open ingame_main }
- }
-
-
- // MESSAGES //
-
- itemDef {
- name message_back
- group grpmessage
- style 0
- rect 320 420 128 30
- textstyle 6
- textalign 1
- textalignx 0
- textaligny 25
- textscale .3
- text "Back to Main Menu"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
-
- itemDef {
- name message_accept
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Refresh Video"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
-
- itemDef {
- name message_controls
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Select to Edit Game Controls"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_nowork
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Selection Isn't Implemented"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_system
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Edit System Settings"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_gameoptions
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Edit Game Options"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_cdkey
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 6
- textalignx 0
- textaligny 25
- textscale .3
- text "Enter CD Key"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
- itemDef {
- name message_default
- group grpmessage
- style 0
- rect 320 420 128 30
- textalign 1
- textstyle 1
- textalignx 0
- textaligny 25
- textscale .3
- text "Reset to Default Settings"
- forecolor 1 1 1 1
- decoration
- visible 0
- }
-
- }
-
-
- }
-