Beispiel #1
0
	static Uint32 get_side_rgb(int side) { return(get_side_color_range(side).mid()); }
Beispiel #2
0
std::string team::get_side_highlight_pango(int side)
{
	return rgb2highlight_pango(get_side_color_range(side+1).mid());
}
Beispiel #3
0
SDL_Color team::get_side_color(int side)
{
	return int_to_color(get_side_color_range(side).mid());
}
Beispiel #4
0
SDL_Color team::get_minimap_color(int side)
{
	// Note: use mid() instead of rep() unless
	// high contrast is needed over a map or minimap!
	return int_to_color(get_side_color_range(side).rep());
}
Beispiel #5
0
	static Uint32 get_side_rgb_max(int side) { return(get_side_color_range(side).max()); }