1
0
forked from 0ad/0ad
0ad/source/graphics/SColor.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

25 lines
334 B
C

#ifndef INCLUDED_SCOLOR
#define INCLUDED_SCOLOR
// SColor3ub: structure for packed RGB colors
struct SColor3ub
{
u8 R;
u8 G;
u8 B;
};
// SColor4ub: structure for packed RGBA colors
struct SColor4ub
{
u8 R;
u8 G;
u8 B;
u8 A;
SColor4ub() { }
SColor4ub(u8 _r, u8 _g, u8 _b, u8 _a) : R(_r), G(_g), B(_b), A(_a) { }
};
#endif