summary refs log tree commit diff
path: root/src/util.h
diff options
context:
space:
mode:
authorzlago2024-10-23 19:17:26 +0200
committerzlago2024-10-23 19:17:26 +0200
commitb12606899c98d7fc7a120c2b79797b5c45283ad2 (patch)
treef210a037fee0f2346bae8a10d1edc1b445b4324f /src/util.h
parentaf6acead62498bc49065ef828e388bcd511ce54d (diff)
hacky save system
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 2a9f689..3aafc66 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,4 +1,9 @@
 #pragma once
 
+struct color {
+	unsigned char r, g, b, a;
+};
+
 void *util_loadFile(FILE *const restrict file, size_t *const restrict outsize);
 char *util_executableRelativePath(char const *const path, char const *const execPath, size_t dirLength); // allocated on the heap
+int util_stringToColor(struct color *color, char const *const str);