From b12606899c98d7fc7a120c2b79797b5c45283ad2 Mon Sep 17 00:00:00 2001 From: zlago Date: Wed, 23 Oct 2024 19:17:26 +0200 Subject: hacky save system --- src/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util.h') 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); -- cgit 1.4.1-2-gfad0