예제 #1
0
파일: team.hpp 프로젝트: oys0317/opensanguo
	static Uint32 get_side_rgb(int side) { return(get_side_color_range(side).mid()); }
예제 #2
0
파일: team.cpp 프로젝트: aquileia/wesnoth
std::string team::get_side_highlight_pango(int side)
{
	return rgb2highlight_pango(get_side_color_range(side+1).mid());
}
예제 #3
0
파일: team.cpp 프로젝트: aquileia/wesnoth
SDL_Color team::get_side_color(int side)
{
	return int_to_color(get_side_color_range(side).mid());
}
예제 #4
0
파일: team.cpp 프로젝트: aquileia/wesnoth
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());
}
예제 #5
0
파일: team.hpp 프로젝트: ChironJ/wesnoth
	static Uint32 get_side_rgb_max(int side) { return(get_side_color_range(side).max()); }