diff options
author | zlago | 2024-10-23 19:17:26 +0200 |
---|---|---|
committer | zlago | 2024-10-23 19:17:26 +0200 |
commit | b12606899c98d7fc7a120c2b79797b5c45283ad2 (patch) | |
tree | f210a037fee0f2346bae8a10d1edc1b445b4324f /src/util.h | |
parent | af6acead62498bc49065ef828e388bcd511ce54d (diff) |
hacky save system
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
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); |