Initial commit.
* Beginning reconstruction of Source SDK. Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
12
include/cstrike/Structures/Color.h
Normal file
12
include/cstrike/Structures/Color.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
struct Color {
|
||||
Color(int r, int g, int b, int a = 255) {
|
||||
value[0] = static_cast<unsigned char>(r);
|
||||
value[1] = static_cast<unsigned char>(g);
|
||||
value[2] = static_cast<unsigned char>(b);
|
||||
value[3] = static_cast<unsigned char>(a);
|
||||
}
|
||||
|
||||
unsigned char value[4];
|
||||
};
|
||||
Reference in New Issue
Block a user