From 40f4d6f7f1044664fc75dc1b4adee2b724b5c67e Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Mon, 8 Jan 2024 00:15:14 +0000 Subject: [PATCH] Add colour_t struct --- include/colour.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/colour.h diff --git a/include/colour.h b/include/colour.h new file mode 100644 index 0000000..8622ce8 --- /dev/null +++ b/include/colour.h @@ -0,0 +1,14 @@ +#ifndef COLOUR_H +#define COLOUR_H + +#include "aliases/aliases.h" +#include + +typedef struct { + union { + u32 abgr; + SDL_Color colour; + }; +} colour_t; + +#endif // !COLOUR_H