____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <video.h>
Public Member Functions | |
| CColor (unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=0) | |
| Cast to a SDL_Color. | |
| operator SDL_Color () const | |
Public Attributes | |
| unsigned char | R |
| Red. | |
| unsigned char | G |
| Green. | |
| unsigned char | B |
| Blue. | |
| unsigned char | A |
| Alpha. | |
Definition at line 137 of file video.h.
| CColor::CColor | ( | unsigned char | r = 0, |
|
| unsigned char | g = 0, |
|||
| unsigned char | b = 0, |
|||
| unsigned char | a = 0 | |||
| ) | [inline] |
| CColor::operator SDL_Color | ( | ) | const [inline] |
| unsigned char CColor::R |
Red.
Definition at line 146 of file video.h.
Referenced by operator SDL_Color(), and SetMinimapTerrainPixel().
| unsigned char CColor::G |
Green.
Definition at line 149 of file video.h.
Referenced by operator SDL_Color(), and SetMinimapTerrainPixel().
| unsigned char CColor::B |
Blue.
Definition at line 150 of file video.h.
Referenced by operator SDL_Color(), and SetMinimapTerrainPixel().
| unsigned char CColor::A |
Alpha.
Definition at line 151 of file video.h.
Referenced by operator SDL_Color(), and SetMinimapTerrainPixel().
1.5.6