#include "ui/menudef.h"

// TEAM SCORES
menuDef {
    	name "TimeFrame"
    	fullScreen MENU_FALSE
    	visible MENU_TRUE	
    	rect 0 -10 32 256 //2 0 32 256
	// TEAM BG COLORS
	itemDef {
     	name "TeamRXA1"
	rect 260 27 70 20 
	visible 1
   	decoration
	backcolor 1 0 0 0.33
	style 2
	ownerdrawflag CG_SHOW_ANYTEAMGAME
	}
	
	itemDef {
     	name "TeamRXB1"
	rect 314 27 70 20 
	visible 1
   	decoration
	backcolor 0 0 1 0.33
	style 2
	ownerdrawflag CG_SHOW_ANYTEAMGAME
	}
	
	//REDSCORE
	itemdef {
	    name "redplace"
		ownerdrawflag CG_SHOW_ANYTEAMGAME
	    ownerdraw CG_RED_SCORE
   	    rect 285 4 10 40
   	    visible 1
		textstyle 6
		textalign 0
		forecolor 1 1 1 1
		
		textscale .35
	    decoration
	}
	//BLUSCORE
    itemdef {
	    name "bluplace"
		ownerdrawflag CG_SHOW_ANYTEAMGAME
	    ownerdraw CG_BLUE_SCORE
   	    rect 339 4 10 40
		textalign 2
   	    visible 1
		textstyle 6
		forecolor 1 1 1 1
		
		textscale .35
	    decoration
	}
}

// FFA / DUEL SCORES
menuDef {
    	name "FFAColors"
    	fullScreen MENU_FALSE
    	visible MENU_TRUE	
		ownerdrawflag CG_SHOW_ANYNONTEAMGAME
    	rect 0 -10 32 256 //2 0 32 256
	// FFA DUEL BG COLORS RED/GREEN	
	itemDef {
     	name "FFARXA1"
	rect 245 27 150 20 
	visible 1
   	decoration
	backcolor 0 1 0 0.5
	style 2
	ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
	}
	
	itemDef {
     	name "FFARXA1"
	rect 245 27 150 20 
	visible 1
   	decoration
	backcolor 1 0 0 0.5
	style 2
	ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
	}
	//FFA / DUEL SCORES - Player left side
	itemdef {
		// PLAYER LEAD, SCORE
	    name "redplace"
		ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
		
	    ownerdraw CG_RED_SCORE
		
   	    rect 285 4 10 40
   	    visible 1
		textstyle 6
		textalign 0
		forecolor 1 1 1 1
		textscale .35
	    decoration
	}

    itemdef {
		// PLAYER LEAD, ENEMY SCORE
	    name "bluplace"
		ownerdrawflag CG_SHOW_IF_PLYR_IS_FIRST_PLACE
		
	    ownerdraw CG_BLUE_SCORE
		
   	    rect 339 4 10 40
		textalign 2
   	    visible 1
		textstyle 6
		forecolor 1 1 1 1
		textscale .35
	    decoration
	}
	
	itemdef {
		// ENEMY LEAD
	    name "redplace"
		ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
		
	    ownerdraw CG_RED_SCORE
		
   	    rect 339 4 10 40
   	    visible 1
		textstyle 6
		textalign 0
		forecolor 1 1 1 1
		textscale .35
	    decoration
	}
	
	itemdef {
		// ENEMY LEAD, PLAYER SCORE
	    name "bluplace"
		ownerdrawflag CG_SHOW_IF_PLYR_IS_NOT_FIRST_PLACE
	    ownerdraw CG_PLAYER_SCORE
		
   	    rect 285 4 10 40
		textalign 2
   	    visible 1
		textstyle 6
		forecolor 1 1 1 1
		textscale .35
	    decoration
	}
}