home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / missionpack / mp-pak0.pk3 / ui / ingame_joinserver.menu < prev    next >
Encoding:
Text File  |  2007-10-30  |  2.0 KB  |  90 lines

  1. /*
  2. ===========================================================================
  3. Copyright (C) 2007 Open Arena Team
  4.  
  5. This file is part of Open Arena.
  6.  
  7. Open Arena is free software; you can redistribute it
  8. and/or modify it under the terms of the GNU General Public License as
  9. published by the Free Software Foundation; either version 2 of the License,
  10. or (at your option) any later version.
  11.  
  12. Open Arena is distributed in the hope that it will be
  13. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Open Arena; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  20. ===========================================================================
  21. */
  22.  
  23. #include "ui/menudef.h" 
  24. {
  25.     menuDef {
  26.         name "ingame_joinserver"
  27.         visible 0
  28.         fullscreen 0
  29.         outOfBoundsClick
  30.         rect 275 120 100 128
  31.         forecolor MP_TEXTCOLOR
  32.         focusColor MP_FOCUSCOLOR
  33.  
  34.     itemDef {
  35.         name team
  36.         style 0
  37.         text "Red Team"
  38.         rect 0 20 128 20
  39.         textalign ITEM_ALIGN_LEFT
  40.         textalignx 15
  41.         textaligny 15
  42.         textscale .2
  43.         forecolor MP_TEXTCOLOR
  44.         visible 1
  45.         action { exec "cmd team red" ; uiScript closeingame }
  46.         }
  47.     
  48.     itemDef {
  49.         name team
  50.         style 0
  51.         text "Blue Team"
  52.         rect 0 40 128 20
  53.         textalign ITEM_ALIGN_LEFT
  54.         textalignx 15
  55.         textaligny 15
  56.         textscale .2
  57.         forecolor MP_TEXTCOLOR
  58.         visible 1
  59.         action { exec "cmd team blue" ; uiScript closeingame }
  60.         }
  61.  
  62.     itemDef {
  63.         name team
  64.         style 0
  65.         text "Auto Team"
  66.         rect 0 60 128 20
  67.         textalign ITEM_ALIGN_LEFT
  68.         textalignx 15
  69.         textaligny 15
  70.         textscale .2
  71.         forecolor MP_TEXTCOLOR
  72.         visible 1
  73.         action { exec "cmd team free" ; uiScript closeingame }
  74.         }
  75.  
  76.     itemDef {
  77.         name team
  78.         style 0
  79.         text "Spectate"
  80.         rect 0 80 128 20
  81.         textalign ITEM_ALIGN_LEFT
  82.         textalignx 15
  83.         textaligny 15
  84.         textscale .2
  85.         forecolor MP_TEXTCOLOR
  86.         visible 1
  87.         action { exec "cmd team s" ; uiScript closeingame }
  88.         }
  89. }
  90. }