home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / ingame_setup.menu < prev    next >
Encoding:
Text File  |  2002-01-13  |  10.3 KB  |  598 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SETUP MENU \\
  5.  
  6. menuDef {
  7.         name "ingame_confignav"
  8.         visible 0
  9.         fullscreen 1
  10.         rect 0 0 640 480
  11.         background "systemconfig"
  12.         focusColor 1 1 1 1
  13.         style 1
  14.         border 1
  15.     onOpen { 
  16.         show format ;
  17.         hide back_alt ;
  18.         show back ;
  19.         hide grpmessage;
  20.         hide litebar;
  21.         hide title;
  22.         show control_litebar;
  23.         show title_controls;}
  24.     onEsc { close ingame_confignav ;
  25.             close ingame_configcontrols ; 
  26.             close ingame_configsystem ;
  27.             close ingame_configoptions ; 
  28.             close ingame_configdefault ;   
  29.             open ingame_main  }
  30.  
  31. itemDef {
  32.           name format                    // Layout
  33.         style 3
  34.          background "filter"
  35.         backcolor .25 .5 .75 .75
  36.         rect 0 0 640 480
  37.         visible 0    
  38.         decoration
  39.        }    
  40.     itemDef {                    
  41.         name format
  42.         style 3
  43.           rect 0 0 640 480 
  44.          background "ui/sidrial/sub/white_bar.tga"
  45.         backcolor 0 0 0 0
  46.           forecolor 1 1 1 1
  47.           visible 0
  48.         decoration
  49.        }
  50.     itemDef {
  51.           name format                    // Layout
  52.         style 3
  53.          background "sub_swooshb"
  54.         backcolor 0 0 0 0
  55.           forecolor 1 1 1 1
  56.         rect 0 0 640 480
  57.         visible 0    
  58.         decoration
  59.        }
  60.     itemDef {
  61.           name systemconfig    
  62.           group icon
  63.           style 3
  64.           rect 580 40 40 40 
  65.         background "ui/sidrial/icon_systemconfig.tga"
  66.            backcolor 0 0 0 0
  67.           forecolor 1 1 1 1
  68.         visible 1
  69.           decoration
  70.        }
  71.     itemDef {
  72.         name image_title
  73.         style 3
  74.         rect 10 5 256 32
  75.         background "ui/sidrial/text_systemconfig.tga"
  76.         backcolor 0 0 0 0 
  77.         forecolor 1 1 1 1
  78.         visible 1
  79.         decoration
  80.     }
  81. // Control    //
  82. itemDef {
  83.     name controlbar
  84.     style WINDOW_STYLE_FILLED
  85.     rect 30 150 150 25 
  86.     backcolor .66 1 0 .7  
  87.     visible 0 
  88. }
  89. itemDef {
  90.     name control_litebar
  91.     group litebar
  92.     style WINDOW_STYLE_FILLED
  93.     rect 30 150 150 25 
  94.     backcolor .66 1 0 .7  
  95.     visible 1 
  96.     decoration
  97. }
  98. itemDef {
  99.     name controls
  100.     style 3
  101.     rect 15 146 34 34 
  102.     background "ui/sidrial/sub/brace.tga"
  103.     backcolor 0 0 0 0
  104.        forecolor 1 1 1 1
  105.        visible 1
  106.     decoration    
  107. }
  108. itemDef {
  109.     name controls
  110.     style 3
  111.     rect 164 146 34 34 
  112.     background "ui/sidrial/sub/brace_right.tga"
  113.     backcolor 0 0 0 0
  114.        forecolor 1 1 1 1
  115.        visible 1
  116.     decoration    
  117. }
  118. itemDef {
  119.     name controls
  120.     text "Controls"
  121.     type 1
  122.     textscale .35
  123.     style 0
  124.     textstyle 6
  125.     rect 30 150 150 25 
  126.     textalign 1     
  127.     textalignx 75      
  128.     textaligny 19        
  129.     forecolor .66 1 0 1
  130.     visible 1
  131.     action {  
  132.     hide litebar;
  133.     show control_litebar;
  134.     hide title;
  135.     show title_controls;
  136.     close ingame_configcontrols ; 
  137.     close ingame_configsystem ;
  138.     close ingame_configoptions ; 
  139.     close ingame_configdefault ;   
  140.     open ingame_configcontrols }
  141.     mouseEnter { show message_controls; transition controlbar 30 162 150 0 30 150 150 25 20 5 } 
  142.     mouseExit { hide message_controls; transition controlbar 30 150 150 25 30 162 150 0 20 5} 
  143. }
  144. itemDef {
  145.     name title_controls
  146.     group title
  147.     style 0
  148.     text "Controls"
  149.     textscale .4
  150.     textstyle 6
  151.     rect 500 47 80 25 
  152.     textalign 2     
  153.     textalignx 75      
  154.     textaligny 19        
  155.     forecolor .66 1 0 1
  156.     visible 0
  157.     decoration
  158. }
  159.  
  160. // System //
  161. itemDef {
  162.     name sysbar
  163.     style WINDOW_STYLE_FILLED
  164.     rect 30 190 150 25 
  165.     backcolor .66 1 0 .7  
  166.     visible 0 
  167. }
  168. itemDef {
  169.     name system_litebar
  170.     group litebar
  171.     style WINDOW_STYLE_FILLED
  172.     rect 30 190 150 25 
  173.     backcolor .66 1 0 .7  
  174.     visible 0 
  175.     decoration
  176. }
  177. itemDef {
  178.     name system
  179.     style 3
  180.     rect 15 186 34 34 
  181.     background "ui/sidrial/sub/brace.tga"
  182.     backcolor 0 0 0 0
  183.        forecolor 1 1 1 1
  184.        visible 1
  185.     decoration    
  186. }
  187. itemDef {
  188.     name system
  189.     style 3
  190.     rect 164 186 34 34 
  191.     background "ui/sidrial/sub/brace_right.tga"
  192.     backcolor 0 0 0 0
  193.        forecolor 1 1 1 1
  194.        visible 1
  195.     decoration    
  196. }
  197. itemDef {
  198.     name system
  199.     text "System"
  200.     type 1
  201.     textscale .35
  202.     style 0
  203.     textstyle 6
  204.     rect 30 190 150 25 
  205.     textalign 1     
  206.     textalignx 75      
  207.     textaligny 19        
  208.     forecolor .66 1 0 1
  209.     visible 1
  210.     action {  
  211.     hide litebar;
  212.     show system_litebar;
  213.     hide title;
  214.     show title_system;
  215.     close ingame_configcontrols ; 
  216.     close ingame_configsystem ;
  217.     close ingame_configoptions ;      
  218.     close ingame_configdefault ;    
  219.     open ingame_configsystem }    
  220.     mouseEnter { show message_system; transition sysbar 30 202 150 0 30 190 150 25 20 5 } 
  221.     mouseExit { hide message_system; transition sysbar 30 190 150 25 30 202 150 0 20 5} 
  222. }
  223. itemDef {
  224.     name title_system
  225.     group title
  226.     text "System"
  227.     textscale .4
  228.     style 0
  229.     textstyle 6
  230.     rect 500 47 80 25 
  231.     textalign 2     
  232.     textalignx 75      
  233.     textaligny 19        
  234.     forecolor .66 1 0 1
  235.     visible 0
  236.     decoration
  237. }
  238.  
  239. // Options //
  240. itemDef {
  241.     name optionbar
  242.     style WINDOW_STYLE_FILLED
  243.     rect 30 230 150 25 
  244.     backcolor .66 1 0 .7  
  245.     visible 0 
  246. }
  247. itemDef {
  248.     name options_litebar
  249.     group litebar
  250.     style WINDOW_STYLE_FILLED
  251.     rect 30 230 150 25 
  252.     backcolor .66 1 0 .7  
  253.     visible 0 
  254.     decoration
  255. }
  256. itemDef {
  257.     name options
  258.     style 3
  259.     rect 15 226 34 34 
  260.     background "ui/sidrial/sub/brace.tga"
  261.     backcolor 0 0 0 0
  262.        forecolor 1 1 1 1
  263.        visible 1
  264.     decoration    
  265. }
  266. itemDef {
  267.     name options
  268.     style 3
  269.     rect 164 226 34 34 
  270.     background "ui/sidrial/sub/brace_right.tga"
  271.     backcolor 0 0 0 0
  272.        forecolor 1 1 1 1
  273.        visible 1
  274.     decoration    
  275. }
  276. itemDef {
  277.     name options
  278.     text "Options"
  279.     type 1
  280.     textscale .35
  281.     style 0
  282.     textstyle 6
  283.     rect 30 230 150 25 
  284.     textalign 1     
  285.     textalignx 75      
  286.     textaligny 19        
  287.     forecolor .66 1 0 1
  288.     visible 1
  289.     action {  
  290.     hide litebar;
  291.     show options_litebar;
  292.     hide title;
  293.     show title_options;
  294.     close ingame_configcontrols ; 
  295.     close ingame_configsystem ;
  296.     close ingame_configoptions ; 
  297.     close ingame_configdefault ;     
  298.     open ingame_configoptions }    
  299.     mouseEnter { show message_gameoptions; transition optionbar 30 242 150 0 30 230 150 25 20 5 } 
  300.     mouseExit { hide message_gameoptions; transition optionbar 30 230 150 25 30 242 150 0 20 5} 
  301. }
  302. itemDef {
  303.     name title_options
  304.     group title
  305.     text "Options"
  306.     textscale .4
  307.     style 0
  308.     textstyle 6
  309.     rect 500 47 80 25 
  310.     textalign 2     
  311.     textalignx 75      
  312.     textaligny 19        
  313.     forecolor .66 1 0 1
  314.     visible 0
  315.     decoration
  316. }
  317.  
  318. // Defaults    //
  319. itemDef {
  320.     name defaultbar
  321.     style WINDOW_STYLE_FILLED
  322.     rect 30 270 150 25 
  323.     backcolor .66 1 0 .7  
  324.     visible 0 
  325. }
  326. itemDef {
  327.     name default_litebar
  328.     group litebar
  329.     style WINDOW_STYLE_FILLED
  330.     rect 30 270 150 25 
  331.     backcolor .66 1 0 .7  
  332.     visible 0 
  333.     decoration
  334. }
  335. itemDef {
  336.     name default
  337.     style 3
  338.     rect 15 266 34 34 
  339.     background "ui/sidrial/sub/brace.tga"
  340.     backcolor 0 0 0 0
  341.        forecolor 1 1 1 1
  342.        visible 1
  343.     decoration    
  344. }
  345. itemDef {
  346.     name default
  347.     style 3
  348.     rect 164 266 34 34 
  349.     background "ui/sidrial/sub/brace_right.tga"
  350.     backcolor 0 0 0 0
  351.        forecolor 1 1 1 1
  352.        visible 1
  353.     decoration    
  354. }
  355. itemDef {
  356.     name default
  357.     text "Defaults"
  358.     type 1
  359.     textscale .35
  360.     style 0
  361.     textstyle 6
  362.     rect 30 270 150 25 
  363.     textalign 1     
  364.     textalignx 75      
  365.     textaligny 19        
  366.     forecolor .66 1 0 1
  367.     visible 1
  368.     action {
  369.     hide litebar;
  370.     show default_litebar;
  371.     hide title;
  372.     show title_default;
  373.     close ingame_configcontrols ; 
  374.     close ingame_configsystem ;
  375.     close ingame_configoptions ; 
  376.     close ingame_configdefault ;   
  377.     open ingame_configdefault }
  378.     mouseEnter { show message_default; transition defaultbar 30 282 150 0 30 270 150 25 20 5 } 
  379.     mouseExit { hide message_default; transition defaultbar 30 270 150 25 30 282 150 0 20 5} 
  380. }
  381. itemDef {
  382.     name title_default
  383.     group title
  384.     text "Defaults"
  385.     textscale .4
  386.     style 0
  387.     textstyle 6
  388.     rect 500 47 80 25 
  389.     textalign 2     
  390.     textalignx 75      
  391.     textaligny 19        
  392.     forecolor .66 1 0 1
  393.     visible 0
  394.     decoration
  395. }
  396.  
  397.  
  398.  
  399.  
  400. // BACK BAR    //
  401.  
  402.  
  403.     itemDef {
  404.         name backbar
  405.         group Bar
  406.           style 2
  407.           rect 20 420 210 40
  408.           backcolor .66 1 0 .7 
  409.         border 0
  410.         visible 0    
  411.         action {  
  412.         close ingame_confignav ;
  413.         close ingame_configcontrols ; 
  414.         close ingame_configsystem ;
  415.         close ingame_configoptions ; 
  416.          
  417.         close ingame_configdefault ;   
  418.          
  419.         open ingame_main }
  420.         }
  421.     itemDef {
  422.           name back    
  423.           group icon
  424.           style 3
  425.           rect 15 420 40 40 
  426.         background "ui/sidrial/sub/icon_left.tga"
  427.            backcolor 0 0 0 0
  428.           forecolor 1 1 1 1
  429.         visible 1
  430.           decoration
  431.         action {  
  432.         close ingame_confignav ;
  433.         close ingame_configcontrols ; 
  434.         close ingame_configsystem ;
  435.         close ingame_configoptions ; 
  436.          
  437.         close ingame_configdefault ;   
  438.          
  439.         open ingame_main }
  440.        }
  441.     itemDef {
  442.         name back
  443.         group words
  444.         type 1
  445.           text "Back"
  446.           style 0    
  447.         textstyle 6
  448.           rect 15 420 150 40
  449.            forecolor .66 1 0 1
  450.         textalignx 45
  451.         textaligny 25
  452.           textalign 0
  453.         textscale .4        
  454.           visible 1     
  455.         mouseEnter { transition backbar 20 440 196 0 20 420 196 40 20 5 ; fadein message_back;}
  456.         mouseExit { transition backbar 20 420 196 40 20 440 196 0 20 5 ; fadeout message_back;}
  457.         action {  
  458.         close ingame_confignav ;
  459.         close ingame_configcontrols ; 
  460.         close ingame_configsystem ;
  461.         close ingame_configoptions ; 
  462.          
  463.         close ingame_configdefault ;   
  464.          
  465.         open ingame_main }
  466.     }
  467.  
  468.  
  469. //    MESSAGES    //
  470.  
  471. itemDef {
  472.     name message_back
  473.     group grpmessage
  474.     style 0 
  475.     rect 320 420 128 30
  476.     textstyle 6
  477.     textalign 1
  478.     textalignx 0
  479.     textaligny 25
  480.     textscale .3
  481.     text "Back to Main Menu"
  482.     forecolor 1 1 1 1
  483.     decoration 
  484.     visible 0
  485.     }
  486.  
  487. itemDef {
  488.     name message_accept
  489.     group grpmessage
  490.     style 0 
  491.     rect 320 420 128 30
  492.     textalign 1
  493.     textstyle 6
  494.     textalignx 0
  495.     textaligny 25
  496.     textscale .3
  497.     text "Refresh Video"
  498.     forecolor 1 1 1 1
  499.     decoration 
  500.     visible 0
  501.     }
  502.  
  503. itemDef {
  504.     name message_controls
  505.     group grpmessage
  506.     style 0 
  507.     rect 320 420 128 30
  508.     textalign 1
  509.     textstyle 6
  510.     textalignx 0
  511.     textaligny 25
  512.     textscale .3
  513.     text "Select to Edit Game Controls"
  514.     forecolor 1 1 1 1
  515.     decoration 
  516.     visible 0
  517.     }
  518. itemDef {
  519.     name message_nowork
  520.     group grpmessage
  521.     style 0 
  522.     rect 320 420 128 30
  523.     textalign 1
  524.     textstyle 6
  525.     textalignx 0
  526.     textaligny 25
  527.     textscale .3
  528.     text "Selection Isn't Implemented"
  529.     forecolor 1 1 1 1
  530.     decoration 
  531.     visible 0
  532.     }
  533. itemDef {
  534.     name message_system
  535.     group grpmessage
  536.     style 0 
  537.     rect 320 420 128 30
  538.     textalign 1
  539.     textstyle 6
  540.     textalignx 0
  541.     textaligny 25
  542.     textscale .3
  543.     text "Edit System Settings"
  544.     forecolor 1 1 1 1
  545.     decoration 
  546.     visible 0
  547.     }
  548. itemDef {
  549.     name message_gameoptions
  550.     group grpmessage
  551.     style 0 
  552.     rect 320 420 128 30
  553.     textalign 1
  554.     textstyle 6
  555.     textalignx 0
  556.     textaligny 25
  557.     textscale .3
  558.     text "Edit Game Options"
  559.     forecolor 1 1 1 1
  560.     decoration 
  561.     visible 0
  562.     }
  563. itemDef {
  564.     name message_cdkey
  565.     group grpmessage
  566.     style 0 
  567.     rect 320 420 128 30
  568.     textalign 1
  569.     textstyle 6
  570.     textalignx 0
  571.     textaligny 25
  572.     textscale .3
  573.     text "Enter CD Key"
  574.     forecolor 1 1 1 1
  575.     decoration 
  576.     visible 0
  577.     }
  578. itemDef {
  579.     name message_default
  580.     group grpmessage
  581.     style 0 
  582.     rect 320 420 128 30
  583.     textalign 1
  584.     textstyle 1
  585.     textalignx 0
  586.     textaligny 25
  587.     textscale .3
  588.     text "Reset to Default Settings"
  589.     forecolor 1 1 1 1
  590.     decoration 
  591.     visible 0
  592.     }
  593.  
  594. }
  595.  
  596.  
  597. }
  598.