#include "ui/menudef.h"
// CTF FLAG ICONS
menuDef {
    	name "CTFIcons"
    	fullScreen MENU_FALSE
    	visible MENU_TRUE	
    	rect 0 -10 32 256 //2 0 32 256
	//red team flag alert - align to right
	itemDef {
     	name "TeamRA1"
	rect 219 50 30 30 
	visible 1
   	decoration
	backcolor 1 0 0 0.3
	style 1
	background "ui/assets/hud/rteambgl.tga"
	ownerdrawflag CG_SHOW_BLUE_TEAM_HAS_REDFLAG
	}
	itemDef {
     	name "TeamRA2"
	rect 219 50 30 30 
	visible 1
   	decoration
	backcolor 1 0 0 0.3
	style 1
	background "ui/assets/hud/rteambgr.tga"
	ownerdrawflag CG_SHOW_BLUE_TEAM_HAS_REDFLAG
	}
	
	itemDef {
     	name "TeamRB1"
	rect 388 50 30 30
	visible 1
   	decoration
	backcolor 1 0 0 0.3
	style 1
	background "ui/assets/hud/bteambgl.tga"
	ownerdrawflag CG_SHOW_RED_TEAM_HAS_BLUEFLAG
	}
	
	itemDef {
     	name "TeamRB2"
	rect 388 50 30 30
	visible 1
   	decoration
	backcolor 1 0 0 0.3
	style 1
	background "ui/assets/hud/bteambgr.tga"
	ownerdrawflag CG_SHOW_RED_TEAM_HAS_BLUEFLAG
	}
	
	itemDef {
		name "redflag"
		rect 224 55 20 20 //36 1 13 13
		visible 1
		decoration    
		ownerdrawflag CG_SHOW_CTF                    	
		ownerdraw CG_RED_FLAGSTATUS
	}
	itemDef {
		name "blueflag"
		rect 393 55 20 20
		visible 1
		decoration    
		ownerdrawflag CG_SHOW_CTF                    	
		ownerdraw CG_BLUE_FLAGSTATUS
	}
}

//player has flag - Flag pickup icon
menuDef {
    	name "playerHasFlag"
    	fullScreen MENU_FALSE
    	visible MENU_TRUE
    	rect 560 100 385 32 //rect 300 5 385 32
    	
	itemDef {
	name "playerRect"
	rect 0 0 65 60
	style 3
	background "ui/assets/hud/flag"
	visible 1
	ownerdrawflag CG_SHOW_IF_PLAYER_HAS_FLAG            
	}

	itemDef {
      	name "flag"
        rect 1 1 60 60
	visible 1
	decoration
	style 1
	ownerdraw CG_PLAYER_HASFLAG 
	}

	itemDef {
      	name "skulls"
        rect 1 1 34 34
	visible 1
	decoration
	textaligny 12
	textalignx 0
	textscale 0.333
	textstyle 3
	ownerdraw CG_HARVESTER_SKULLS
	//ownerdraw CG_PLAYER_ITEM
	}
}