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

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