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

  1. #include "ui/menudef.h"
  2. {
  3.  
  4.   assetGlobalDef {
  5.         font "fonts/font" 16                // font
  6.         smallFont "fonts/smallfont" 12                // font
  7.         bigFont "fonts/bigfont" 20                // font
  8.         cursor "ui/assets/3_cursor3"            // cursor    
  9.         gradientBar "ui/sidrial/hilight.tga"    // gradient bar
  10.         itemFocusSound "sound/UI/menu2.wav"        // sound for item getting focus (via keyboard or mouse )
  11.     
  12.         fadeClamp 1.0                    // sets the fadeup alpha
  13.         fadeCycle 1                    // how often fade happens in milliseconds
  14.         fadeAmount 0.1                    // amount to adjust alpha per cycle
  15.  
  16.         shadowColor 0.1 0.1 0.1 0.25            // shadow color
  17.       }
  18.                                
  19.  
  20. \\ INGAME MENU \\
  21.  
  22. menuDef {
  23.         name "ingame_sp"
  24.         visible 1
  25.         fullScreen 0
  26.         outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  27.         rect 280 5 360 35
  28.         focusColor 1 1 1 1
  29.         disableColor .5 .5 .5 1
  30. onOpen {
  31.         hide litebar;
  32. }
  33.  
  34. //Main Bar//
  35. itemDef {
  36.     name mainbar
  37.     group ingame
  38.     style WINDOW_STYLE_FILLED
  39.     rect 25 6 70 24
  40.     backcolor .66 1 0 .7  
  41.     visible 0 
  42. }
  43. itemDef {
  44.     name brace        
  45.     group ingame
  46.     style 3
  47.     rect 7 1 34 34
  48.     background "ui/sidrial/sub/brace.tga"
  49.     backcolor 0 0 0 0
  50.        forecolor 1 1 1 1
  51.        visible 1
  52.     decoration    
  53. }
  54. itemDef {
  55.     name brace    
  56.     group ingame
  57.     style 3
  58.     rect 79 1 34 34
  59.     background "ui/sidrial/sub/brace_right.tga"
  60.     backcolor 0 0 0 0
  61.        forecolor 1 1 1 1
  62.        visible 1
  63.     decoration    
  64. }
  65.  itemDef {
  66.      name main
  67.      group ingame
  68.      text "Main"
  69.      type 1
  70.      style WINDOW_STYLE_FILLED
  71.      rect 25 6 70 24
  72.      textalign 1    
  73.      textstyle 6
  74.      textalignx 35      
  75.      textaligny 17
  76.      textscale .25
  77.      forecolor .66 1 0 1
  78.      visible 1 
  79.      action { open ingame_main; close ingame_sp; hide litebar;}
  80.      mouseEnter { transition mainbar 25 18 70 0 25 6 70 24 20 5 ; }
  81.      mouseExit { transition mainbar 25 6 70 24 25 18 70 0 20 5 ; }
  82. }
  83. //Load Bar//
  84. itemDef {
  85.     name loadbar
  86.     group ingame
  87.     style WINDOW_STYLE_FILLED
  88.     rect 110 6 70 24
  89.     backcolor .66 1 0 .7  
  90.     visible 0 
  91. }
  92. itemDef {
  93.     name load_litebar
  94.     group litebar
  95.     style WINDOW_STYLE_FILLED
  96.     rect 110 6 70 24
  97.     backcolor .66 1 0 .7  
  98.     visible 0 
  99.     decoration
  100. }
  101. itemDef {
  102.     name brace        
  103.     group ingame
  104.     style 3
  105.     rect 92 1 34 34
  106.     background "ui/sidrial/sub/brace.tga"
  107.     backcolor 0 0 0 0
  108.        forecolor 1 1 1 1
  109.        visible 1
  110.     decoration    
  111. }
  112. itemDef {
  113.     name brace    
  114.     group ingame
  115.     style 3
  116.     rect 162 1 34 34
  117.     background "ui/sidrial/sub/brace_right.tga"
  118.     backcolor 0 0 0 0
  119.        forecolor 1 1 1 1
  120.        visible 1
  121.     decoration    
  122. }
  123. itemDef {
  124.      name load
  125.      group ingame
  126.      text "Load"
  127.      type 1
  128.      style WINDOW_STYLE_FILLED
  129.      rect 110 6 70 24
  130.      textalign 1    
  131.      textstyle 6
  132.      textalignx 35      
  133.      textaligny 17
  134.      textscale .25
  135.      forecolor .66 1 0 1
  136.      visible 1 
  137.      action { open ingame_loadc; hide litebar; show load_litebar; }
  138.      mouseEnter { transition loadbar 110 18 70 0 110 6 70 24 20 5 ;}
  139.      mouseExit { transition loadbar 110 6 70 24 110 18 70 0 20 5 ; }
  140. }
  141. //Save Bar//
  142. itemDef {
  143.     name savebar
  144.     group ingame
  145.     style WINDOW_STYLE_FILLED
  146.     rect 193 6 70 24
  147.     backcolor .66 1 0 .7  
  148.     visible 0 
  149. }
  150. itemDef {
  151.     name save_litebar
  152.     group litebar
  153.     style WINDOW_STYLE_FILLED
  154.     rect 193 6 70 24
  155.     backcolor .66 1 0 .7  
  156.     visible 0 
  157.     decoration
  158. }
  159. itemDef {
  160.     name brace        
  161.     group ingame
  162.     style 3
  163.     rect 175 1 34 34
  164.     background "ui/sidrial/sub/brace.tga"
  165.     backcolor 0 0 0 0
  166.        forecolor 1 1 1 1
  167.        visible 1
  168.     decoration    
  169. }
  170. itemDef {
  171.     name brace    
  172.     group ingame
  173.     style 3
  174.     rect 247 1 34 34
  175.     background "ui/sidrial/sub/brace_right.tga"
  176.     backcolor 0 0 0 0
  177.        forecolor 1 1 1 1
  178.        visible 1
  179.     decoration    
  180. }
  181.  itemDef {
  182.      name save
  183.      group ingame
  184.      text "Save"
  185.      type 1
  186.      style WINDOW_STYLE_FILLED
  187.      rect 193 6 70 24
  188.      textalign 1    
  189.      textstyle 6
  190.      textalignx 35      
  191.      textaligny 17
  192.      textscale .25
  193.      forecolor .66 1 0 1
  194.      visible 1 
  195.      action { open ingame_savec; hide litebar; show save_litebar; }
  196.      mouseEnter { transition savebar 193 18 70 0 193 6 70 24 20 5 ; }
  197.      mouseExit { transition savebar 193 6 70 24 193 18 70 0 20 5 ; }
  198. }
  199. // Mission Briefing BAR//
  200. itemDef {
  201.     name missbar
  202.     group ingame
  203.     style WINDOW_STYLE_FILLED
  204.     rect 277 6 70 24
  205.     backcolor .66 1 0 .7  
  206.     visible 0 
  207. }
  208. itemDef {
  209.     name miss_litebar
  210.     group litebar
  211.     style WINDOW_STYLE_FILLED
  212.     rect 277 6 70 24
  213.     backcolor .66 1 0 .7  
  214.     visible 0 
  215.     decoration
  216. }
  217. itemDef {
  218.     name brace        
  219.     group ingame
  220.     style 3
  221.     rect 259 1 34 34
  222.     background "ui/sidrial/sub/brace.tga"
  223.     backcolor 0 0 0 0
  224.        forecolor 1 1 1 1
  225.        visible 1
  226.     decoration    
  227. }
  228. itemDef {
  229.     name brace    
  230.     group ingame
  231.     style 3
  232.     rect 331 1 34 34
  233.     background "ui/sidrial/sub/brace_right.tga"
  234.     backcolor 0 0 0 0
  235.        forecolor 1 1 1 1
  236.        visible 1
  237.     decoration    
  238. }
  239.  itemDef {
  240.      name miss
  241.      group ingame
  242.      text "Mission"
  243.      type 1
  244.      style WINDOW_STYLE_FILLED
  245.      rect 277 6 70 24
  246.      textalign 1    
  247.      textstyle 6
  248.      textalignx 35      
  249.      textaligny 17
  250.      textscale .25
  251.      forecolor .66 1 0 1
  252.      visible 1 
  253.      action { open ingame_miss; hide litebar; show miss_litebar; }
  254.      mouseEnter { transition missbar 277 18 70 0 277 6 70 24 20 5 ; }
  255.      mouseExit { transition missbar 277 6 70 24 277 18 70 0 20 5 ; }
  256. }
  257.  
  258.  
  259.  
  260. }
  261. }