libspades
Ace of Spades library
colors.h
1#ifndef LIBSPADES_COLORS_H
2#define LIBSPADES_COLORS_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#include "datatypes.h"
8
9#pragma pack(push, 1)
10struct Vector8 {
11 uint8_t b;
12 uint8_t g;
13 uint8_t r;
14};
15#pragma pack(pop)
16
17struct Vector8RGB {
18 uint8_t r;
19 uint8_t g;
20 uint8_t b;
21};
22
23extern const Vector3Uint8 ColorFilled;
24extern const Vector3Uint8 ColorDefault;
25extern const Vector3Uint8 ColorPalette[8][8];
26
27#ifdef __cplusplus
28}
29#endif
30#endif
Definition colors.h:17
Definition colors.h:10