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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ score_menu \\
  5.  
  6.   menuDef {
  7.         name "teamscore_menu"
  8.         visible 0
  9.         fullscreen 0
  10.         rect 0 0 640 480
  11.         focusColor 1 1 1 1
  12.         style 0
  13.         border 1
  14.  
  15.  
  16. // GAMETYPE BAR    //
  17.  
  18.  
  19. itemDef {
  20.        name gameStatusWindow
  21.        style 4
  22.     rect 14 40 612 35 
  23.     border 1
  24.     visible 1
  25.     decoration
  26.     }
  27. itemDef {
  28.    name score
  29.    ownerdraw CG_KILLER
  30.    textscale .4
  31.    textstyle 6
  32.    style 0    
  33.    rect 0 40 640 27 
  34.    textalignx 0
  35.    textaligny 27 
  36.    textalign 1        
  37.    backcolor 0 0 0 0
  38.    forecolor 1 1 1 1
  39.    visible 1 
  40.    decoration      
  41. }
  42.  
  43.  
  44.  
  45. //    TEAM NAME    //
  46. itemDef {
  47.        name teamNameWindow
  48.        rect 14 78 612 30 
  49.     style WINDOW_STYLE_FILLED
  50.     border 1
  51.     bordercolor .66 1 0 1
  52.     forecolor 1 1 1 1
  53.     backcolor .66 1 0 .3
  54.     visible 1
  55.     decoration
  56.     }
  57. itemDef {
  58.        name score
  59.     text " "
  60.     ownerdraw CG_GAME_STATUS
  61.        textscale .3
  62.     textstyle 6
  63.        style 0    
  64.        rect 0 78 640 23 
  65.     textalignx 320
  66.     textaligny 0
  67.        textalign 1        
  68.        backcolor 0 0 0 0
  69.        forecolor 1 1 1 1
  70.        visible 1 
  71.     decoration      
  72.     }
  73. itemDef {
  74.        name redteamname
  75.     ownerdraw CG_RED_NAME
  76.     textalign 0
  77.     textscale .3
  78.     textstyle 6
  79.        rect 20 78 306 23
  80.     forecolor 1 0 0 1     
  81.        decoration
  82.        visible 1       
  83.     }
  84.  
  85. itemDef {
  86.        name blueteamname
  87.     ownerdraw CG_BLUE_NAME
  88.     text " "
  89.     textstyle 6
  90.     textalign 2
  91.     textscale .3
  92.     rect 600 78 0 23         
  93.     forecolor 0 0 1 1
  94.     decoration
  95.     visible 1       
  96.     }
  97.  
  98.  
  99. //    TEAM BARS    //
  100.     
  101. itemDef {
  102.     name leftteambar
  103.     rect 14 112 305 25    
  104.     style WINDOW_STYLE_FILLED
  105.     border 1
  106.     bordercolor 1 0 0 1
  107.     forecolor 1 1 1 1
  108.     backcolor 1 0 0 .25
  109.     visible 1
  110.     decoration
  111.     }
  112.  
  113. itemDef {
  114.     name rightteambar
  115.      rect 321 112 305 25    
  116.     style WINDOW_STYLE_FILLED
  117.     border 1
  118.     bordercolor 0 0 1 1
  119.     forecolor 1 1 1 1
  120.     backcolor 0 0 1 .25
  121.     visible 1
  122.     decoration
  123.     }
  124.  
  125. //    TEAM HEADINGS    //
  126.  
  127. itemDef {
  128.           name leftteamheadings
  129.           text "   Status          Name                    Score    Time   Ping"
  130.           textscale .2
  131.     textstyle 6
  132.           style 0    
  133.           rect 25 112 128 30 
  134.           textalign 0        
  135.           textalignx 0        // x alignment point for text
  136.                    // use it to offset left/right text from the edge 
  137.                         // or to center the text on a different point
  138.           textaligny 18        
  139.           backcolor .66 1 0 .25
  140.           forecolor 1 1 1 1
  141.           decoration
  142.           visible 1       
  143.         }
  144. itemDef {
  145.           name rightteamheadings
  146.           text "   Status          Name                    Score    Time   Ping"
  147.           textscale .2
  148.     textstyle 6
  149.           style 0    
  150.           rect 331 112 128 30 
  151.           textalign 0        
  152.           textalignx 0        // x alignment point for text
  153.                    // use it to offset left/right text from the edge 
  154.                         // or to center the text on a different point
  155.           textaligny 18        
  156.           backcolor .66 1 0 .25
  157.           forecolor 1 1 1 1
  158.           decoration
  159.           visible 1       
  160.         }
  161. // GRADIENT BACKGROUNDS    //
  162. itemDef {
  163.     name window
  164.        rect 320 142 1 220    
  165.     style WINDOW_STYLE_FILLED
  166.     border 1
  167.     bordercolor .66 1 0 1
  168.     forecolor .66 1 0 1
  169.     backcolor .66 1 0 .3
  170.     visible 1
  171.     decoration
  172.     }
  173.  
  174. itemDef {
  175.     name window
  176.        rect 300 142 1 220    
  177.     style WINDOW_STYLE_FILLED
  178.     border 1
  179.     bordercolor .66 1 0 1
  180.     visible 1
  181.     decoration
  182.     }
  183.  
  184. itemDef {
  185.     name window
  186.        rect 606 142 1 220    
  187.     style WINDOW_STYLE_FILLED
  188.     backcolor .66 1 0 .3
  189.     border 1
  190.     bordercolor .66 1 0 1
  191.     visible 1
  192.     decoration
  193.     }
  194. //    PLAYER LIST BORDER    //
  195.  
  196. itemDef {
  197.     name window
  198.     rect 14 141 612 221    
  199.     style WINDOW_STYLE_FILLED
  200.     border 1
  201.     bordercolor .66 1 0 1
  202.     forecolor 1 1 1 1
  203.     backcolor .66 1 0 .3
  204.     visible 1
  205.     decoration
  206.     }
  207. //    LIST    //
  208. itemDef {
  209.        name leftlist
  210.        rect 14 142 306 222 
  211.     forecolor 1 1 1 1
  212.     backcolor .66 1 0 .3
  213.        visible 1 
  214.     type ITEM_TYPE_LISTBOX
  215.     elementwidth 135
  216.     elementheight 20
  217.     textscale .2
  218.     textstyle 6
  219.     elementtype LISTBOX_TEXT
  220.     feeder FEEDER_REDTEAM_LIST
  221.     notselectable
  222.     columns 7 2 12 12 18 12 12 34 20 20 78 75 16 183 20 20 221 20 20 251 10 10
  223.     }
  224. itemDef {
  225.        name rightlist
  226.        rect 320 142 306 222               
  227.        forecolor 1 1 1 1
  228.     backcolor .66 1 0 .3
  229.        visible 1 
  230.     type ITEM_TYPE_LISTBOX
  231.     elementwidth 135
  232.     elementheight 20
  233.     textscale .2
  234.     textstyle 6
  235.     elementtype LISTBOX_TEXT
  236.     feeder FEEDER_BLUETEAM_LIST
  237.     notselectable
  238.     columns 7 2 12 12 18 12 12 34 20 20 78 75 16 183 20 20 221 20 20 251 10 10
  239.     }
  240.  
  241.  
  242.  
  243.  
  244.  
  245. //    spectators    //
  246.  
  247.  
  248. itemDef {
  249.     name window
  250.        rect 14 365 612 24    
  251.     style WINDOW_STYLE_FILLED
  252.     border 1
  253.     bordercolor .66 1 0 1
  254.     forecolor 1 1 1 .7
  255.     backcolor .66 1 0 .3
  256.     textscale .33
  257.     textstyle 6
  258.     visible 1
  259.     decoration
  260.     }
  261.  
  262. itemDef {
  263.     name window
  264.     text "Spectating:"
  265.     textaligny 20 
  266.        rect 19 365 82 24    
  267.     style WINDOW_STYLE_FILLED
  268.     forecolor 1 1 1 1
  269.     textscale .33
  270.     textstyle 6
  271.     textalignx 3
  272.     visible 1
  273.     decoration
  274.     }
  275.  
  276. itemDef {
  277.     name window
  278.        rect 100 365 520 24    
  279.     style WINDOW_STYLE_FILLED
  280.     forecolor 1 1 1 1
  281.     textscale .33
  282.     textstyle 6
  283.     visible 1
  284.     ownerdraw CG_SPECTATORS
  285.     decoration
  286.     }
  287.  
  288. //    GAMETYPE    //
  289.  
  290. itemDef {
  291.     name window
  292.        rect 14 393 612 34    
  293.     style WINDOW_STYLE_FILLED
  294.     border 1
  295.     bordercolor .66 1 0 1
  296.     forecolor 1 1 1 .7
  297.     backcolor .66 1 0 .3
  298.     visible 1
  299.     decoration
  300.     }
  301. itemDef {
  302.     name window
  303.        rect 220 393 200 34    
  304.     style WINDOW_STYLE_EMPTY
  305.     backcolor .66 1 0 .3
  306.     border 1
  307.     bordercolor .66 1 0 1
  308.     visible 1
  309.     decoration
  310.     }
  311. itemDef {
  312.     name gametype
  313.     ownerdraw CG_GAME_TYPE
  314.     textalign 0
  315.     textscale .3
  316.     textstyle 6
  317.     rect 25 393 50 25         
  318.     forecolor 1 1 1 1
  319.     textaligny 0
  320.     textalignx 0
  321.     decoration
  322.     visible 1       
  323.     }
  324. itemdef {
  325.     name playername
  326.     text "Use Score Scroll Keys"
  327.        rect 225 393 256 24
  328.     forecolor .66 1 0 1
  329.         textalignx 10
  330.     textstyle 6
  331.     textaligny 25
  332.        visible 1 
  333.     textalign 0
  334.     decoration
  335.     textscale .3
  336.     }
  337. itemdef {
  338.     name playerscore
  339.     text "Score:"
  340.        rect 430 393 40 25
  341.     textalignx 0
  342.     textaligny 25
  343.     textstyle 6
  344.        visible 1 
  345.     textalign 0
  346.     forecolor 1 1 1 1
  347.     textscale .3
  348.     ownerdraw CG_PLAYER_SCORE
  349.     decoration
  350.     }
  351.     //Corners  
  352. itemDef {
  353.           name corners    
  354.     style 3
  355.           rect 12 38 40 40
  356.          background "ui/sidrial/Popup/ULCorner.tga"
  357.     backcolor 0 0 0 0
  358.           forecolor 1 1 1 1
  359.           visible 1
  360.     decoration    
  361.     }
  362. itemDef {
  363.           name corners    
  364.     style 3
  365.           rect 590 38 40 40
  366.          background "ui/sidrial/Popup/URCorner.tga"
  367.     backcolor 0 0 0 0
  368.           forecolor 1 1 1 1
  369.           visible 1
  370.     decoration    
  371.     }
  372. itemDef {
  373.           name corners    
  374.     style 3
  375.           rect 12 390 40 40
  376.          background "ui/sidrial/Popup/BLCorner.tga"
  377.     backcolor 0 0 0 0
  378.           forecolor 1 1 1 1
  379.           visible 1
  380.     decoration    
  381.     }
  382. itemDef {
  383.           name corners    
  384.     style 3
  385.           rect 590 390 40 40
  386.          background "ui/sidrial/Popup/BRCorner.tga"
  387.     backcolor 0 0 0 0
  388.           forecolor 1 1 1 1
  389.           visible 1
  390.     decoration    
  391.     }
  392. }
  393. }
  394.