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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SETUP MENU \\
  5.  
  6. menuDef {
  7.         name "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.         playlooped "music/SidrialMusic_ui.wav" ;
  17.         show format ;
  18.         hide back_alt ;
  19.         show back ;
  20.         hide grpmessage;
  21.         hide litebar;
  22.         hide title;
  23.         show control_litebar;
  24.         show title_controls;}
  25.     onEsc { close confignav ;
  26.             close configcontrols ; 
  27.             close configsystem ;
  28.             close configoptions ; 
  29.             close configdefault ;   
  30.             open main  }
  31.  
  32. itemDef {
  33.           name format                    // Layout
  34.         style 3
  35.          background "filter"
  36.         backcolor .25 .5 .75 .75
  37.         rect 0 0 640 480
  38.         visible 0    
  39.         decoration
  40.        }    
  41.     itemDef {                    
  42.         name format
  43.         style 3
  44.           rect 0 0 640 480 
  45.          background "ui/sidrial/sub/white_bar.tga"
  46.         backcolor 0 0 0 0
  47.           forecolor 1 1 1 1
  48.           visible 0
  49.         decoration
  50.        }
  51.     itemDef {
  52.           name format                    // Layout
  53.         style 3
  54.          background "sub_swooshb"
  55.         backcolor 0 0 0 0
  56.           forecolor 1 1 1 1
  57.         rect 0 0 640 480
  58.         visible 0    
  59.         decoration
  60.        }
  61.     itemDef {
  62.           name systemconfig    
  63.           group icon
  64.           style 3
  65.           rect 580 40 40 40 
  66.         background "ui/sidrial/icon_systemconfig.tga"
  67.            backcolor 0 0 0 0
  68.           forecolor 1 1 1 1
  69.         visible 1
  70.           decoration
  71.        }
  72.     itemDef {
  73.         name image_title
  74.         style 3
  75.         rect 10 5 256 32
  76.         background "ui/sidrial/text_systemconfig.tga"
  77.         backcolor 0 0 0 0 
  78.         forecolor 1 1 1 1
  79.         visible 1
  80.         decoration
  81.     }
  82.  
  83. // Control    //
  84. itemDef {
  85.     name controlbar
  86.     style WINDOW_STYLE_FILLED
  87.     rect 30 150 150 25 
  88.     backcolor .66 1 0 .7  
  89.     visible 0 
  90. }
  91. itemDef {
  92.     name control_litebar
  93.     group litebar
  94.     style WINDOW_STYLE_FILLED
  95.     rect 30 150 150 25 
  96.     backcolor .66 1 0 .7  
  97.     visible 1 
  98.     decoration
  99. }
  100. itemDef {
  101.     name controls
  102.     style 3
  103.     rect 15 146 34 34 
  104.     background "ui/sidrial/sub/brace.tga"
  105.     backcolor 0 0 0 0
  106.        forecolor 1 1 1 1
  107.        visible 1
  108.     decoration    
  109. }
  110. itemDef {
  111.     name controls
  112.     style 3
  113.     rect 164 146 34 34 
  114.     background "ui/sidrial/sub/brace_right.tga"
  115.     backcolor 0 0 0 0
  116.        forecolor 1 1 1 1
  117.        visible 1
  118.     decoration    
  119. }
  120. itemDef {
  121.     name controls
  122.     text "Controls"
  123.     type 1
  124.     textscale .35
  125.     style 0
  126.     textstyle 6
  127.     rect 30 150 150 25 
  128.     textalign 1     
  129.     textalignx 75      
  130.     textaligny 19        
  131.     forecolor .66 1 0 1
  132.     visible 1
  133.     action {  
  134.     hide litebar;
  135.     show control_litebar;
  136.     hide title;
  137.     show title_controls;
  138.     close configcontrols ; 
  139.     close configsystem ;
  140.     close configoptions ; 
  141.     close configdefault ;   
  142.     open configcontrols }
  143.     mouseEnter { show message_controls; transition controlbar 30 162 150 0 30 150 150 25 20 5 } 
  144.     mouseExit { hide message_controls; transition controlbar 30 150 150 25 30 162 150 0 20 5} 
  145. }
  146. itemDef {
  147.     name title_controls
  148.     group title
  149.     text "Controls"
  150.     textscale .4
  151.     style 0
  152.     textstyle 6
  153.     rect 500 47 80 25 
  154.     textalign 2     
  155.     textalignx 75      
  156.     textaligny 19        
  157.     forecolor .66 1 0 1
  158.     visible 0
  159.     decoration
  160. }
  161. // System //
  162. itemDef {
  163.     name sysbar
  164.     style WINDOW_STYLE_FILLED
  165.     rect 30 190 150 25 
  166.     backcolor .66 1 0 .7  
  167.     visible 0 
  168. }
  169. itemDef {
  170.     name system_litebar
  171.     group litebar
  172.     style WINDOW_STYLE_FILLED
  173.     rect 30 190 150 25 
  174.     backcolor .66 1 0 .7  
  175.     visible 0 
  176.     decoration
  177. }
  178. itemDef {
  179.     name system
  180.     style 3
  181.     rect 15 186 34 34 
  182.     background "ui/sidrial/sub/brace.tga"
  183.     backcolor 0 0 0 0
  184.        forecolor 1 1 1 1
  185.        visible 1
  186.     decoration    
  187. }
  188. itemDef {
  189.     name system
  190.     style 3
  191.     rect 164 186 34 34 
  192.     background "ui/sidrial/sub/brace_right.tga"
  193.     backcolor 0 0 0 0
  194.        forecolor 1 1 1 1
  195.        visible 1
  196.     decoration    
  197. }
  198. itemDef {
  199.     name system
  200.     text "System"
  201.     type 1
  202.     textscale .35
  203.     style 0
  204.     textstyle 6
  205.     rect 30 190 150 25 
  206.     textalign 1     
  207.     textalignx 75      
  208.     textaligny 19        
  209.     forecolor .66 1 0 1
  210.     visible 1
  211.     action {  
  212.     hide litebar;
  213.     show system_litebar;
  214.     hide title;
  215.     show title_system;
  216.     close configcontrols ; 
  217.     close configsystem ;
  218.     close configoptions ; 
  219.     close configdefault ;    
  220.     open configsystem }    
  221.     mouseEnter { show message_system; transition sysbar 30 202 150 0 30 190 150 25 20 5 } 
  222.     mouseExit { hide message_system; transition sysbar 30 190 150 25 30 202 150 0 20 5} 
  223. }
  224. itemDef {
  225.     name title_system
  226.     group title
  227.     text "System"
  228.     textscale .4
  229.     style 0
  230.     textstyle 6
  231.     rect 500 47 80 25 
  232.     textalign 2     
  233.     textalignx 75      
  234.     textaligny 19        
  235.     forecolor .66 1 0 1
  236.     visible 0
  237.     decoration
  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 configcontrols ; 
  295.     close configsystem ;
  296.     close configoptions ; 
  297.     close configdefault ;     
  298.     open 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.  
  372.     hide title;
  373.     show title_default;
  374.  
  375.     close configcontrols ; 
  376.     close configsystem ;
  377.     close configoptions ; 
  378.      
  379.     close configdefault ;   
  380.     open configdefault }
  381.     mouseEnter { show message_default; transition defaultbar 30 282 150 0 30 270 150 25 20 5 } 
  382.     mouseExit { hide message_default; transition defaultbar 30 270 150 25 30 282 150 0 20 5} 
  383. }
  384. itemDef {
  385.     name title_default
  386.     group title
  387.     text "Defaults"
  388.     textscale .4
  389.     style 0
  390.     textstyle 6
  391.     rect 500 47 80 25 
  392.     textalign 2     
  393.     textalignx 75      
  394.     textaligny 19        
  395.     forecolor .66 1 0 1
  396.     visible 0
  397.     decoration
  398. }
  399.  
  400.  
  401.  
  402. // BACK BAR    //
  403.  
  404.  
  405.     itemDef {
  406.         name backbar
  407.         group Bar
  408.           style 2
  409.           rect 20 420 210 40
  410.           backcolor .66 1 0 .7 
  411.         border 0
  412.         visible 0    
  413.         action {  
  414.         close confignav ;
  415.         close configcontrols ; 
  416.         close configsystem ;
  417.         close configoptions ; 
  418.          
  419.         close configdefault ;   
  420.          
  421.         open main }
  422.         }
  423.     itemDef {
  424.           name back    
  425.           group icon
  426.           style 3
  427.           rect 15 420 40 40 
  428.         background "ui/sidrial/sub/icon_left.tga"
  429.            backcolor 0 0 0 0
  430.           forecolor 1 1 1 1
  431.         visible 1
  432.           decoration
  433.         action {  
  434.         close confignav ;
  435.         close configcontrols ; 
  436.         close configsystem ;
  437.         close configoptions ; 
  438.          
  439.         close configdefault ;   
  440.          
  441.         open main }
  442.        }
  443.     itemDef {
  444.         name back
  445.         group words
  446.         type 1
  447.           text "Back"
  448.           style 0    
  449.         textstyle 6
  450.           rect 15 420 150 40
  451.            forecolor .66 1 0 1
  452.         textalignx 45
  453.         textaligny 25
  454.           textalign 0
  455.         textscale .4        
  456.           visible 1     
  457.         mouseEnter { transition backbar 20 440 196 0 20 420 196 40 20 5 ; fadein message_back;}
  458.         mouseExit { transition backbar 20 420 196 40 20 440 196 0 20 5 ; fadeout message_back;}
  459.         action {  
  460.         close confignav ;
  461.         close configcontrols ; 
  462.         close configsystem ;
  463.         close configoptions ; 
  464.          
  465.         close configdefault ;   
  466.          
  467.         open main }
  468.     }
  469. //    MESSAGES    //
  470. itemDef {
  471.     name message_back
  472.     group grpmessage
  473.     style 0 
  474.     rect 320 420 128 30
  475.     textstyle 6
  476.     textalign 1
  477.     textalignx 0
  478.     textaligny 25
  479.     textscale .3
  480.     text "Back to Main Menu"
  481.     forecolor 1 1 1 1
  482.     decoration 
  483.     visible 0
  484.     }
  485.  
  486. itemDef {
  487.     name message_accept
  488.     group grpmessage
  489.     style 0 
  490.     rect 320 420 128 30
  491.     textalign 1
  492.     textstyle 6
  493.     textalignx 0
  494.     textaligny 25
  495.     textscale .3
  496.     text "Refresh Video"
  497.     forecolor 1 1 1 1
  498.     decoration 
  499.     visible 0
  500.     }
  501.  
  502. itemDef {
  503.     name message_controls
  504.     group grpmessage
  505.     style 0 
  506.     rect 320 420 128 30
  507.     textalign 1
  508.     textstyle 6
  509.     textalignx 0
  510.     textaligny 25
  511.     textscale .3
  512.     text "Select to Edit Game Controls"
  513.     forecolor 1 1 1 1
  514.     decoration 
  515.     visible 0
  516.     }
  517. itemDef {
  518.     name message_nowork
  519.     group grpmessage
  520.     style 0 
  521.     rect 320 420 128 30
  522.     textalign 1
  523.     textstyle 6
  524.     textalignx 0
  525.     textaligny 25
  526.     textscale .3
  527.     text "Selection Isn't Implemented"
  528.     forecolor 1 1 1 1
  529.     decoration 
  530.     visible 0
  531.     }
  532. itemDef {
  533.     name message_system
  534.     group grpmessage
  535.     style 0 
  536.     rect 320 420 128 30
  537.     textalign 1
  538.     textstyle 6
  539.     textalignx 0
  540.     textaligny 25
  541.     textscale .3
  542.     text "Edit System Settings"
  543.     forecolor 1 1 1 1
  544.     decoration 
  545.     visible 0
  546.     }
  547. itemDef {
  548.     name message_gameoptions
  549.     group grpmessage
  550.     style 0 
  551.     rect 320 420 128 30
  552.     textalign 1
  553.     textstyle 6
  554.     textalignx 0
  555.     textaligny 25
  556.     textscale .3
  557.     text "Edit Game Options"
  558.     forecolor 1 1 1 1
  559.     decoration 
  560.     visible 0
  561.     }
  562. itemDef {
  563.     name message_default
  564.     group grpmessage
  565.     style 0 
  566.     rect 320 420 128 30
  567.     textalign 1
  568.     textstyle 6
  569.     textalignx 0
  570.     textaligny 25
  571.     textscale .3
  572.     text "Reset to Default Settings"
  573.     forecolor 1 1 1 1
  574.     decoration 
  575.     visible 0
  576.     }
  577.  
  578.  
  579. }
  580. }
  581.