back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/image_converter/resources.hpp
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-21 23:01:56 +0300
committerscratko <m@scratko.xyz>2024-11-21 23:01:56 +0300
commite9078b6980eaf22c1f6352930bd36d4a9e85a4b0 (patch)
treedea9e3659bd18dbd52dc3eedb55ac6acfcc14370 /image_converter/resources.hpp
parentca449b813cef6c8f7348ff51302f125587a90a53 (diff)
downloadpicture-puzzle-e9078b6980eaf22c1f6352930bd36d4a9e85a4b0.tar.gz
picture-puzzle-e9078b6980eaf22c1f6352930bd36d4a9e85a4b0.tar.bz2
picture-puzzle-e9078b6980eaf22c1f6352930bd36d4a9e85a4b0.zip
Including resources in the object file
Convert pictures to array data (image_converter/converter.c) Resources are located in image_converter/resources.o
Diffstat (limited to 'image_converter/resources.hpp')
-rw-r--r--image_converter/resources.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/image_converter/resources.hpp b/image_converter/resources.hpp
new file mode 100644
index 0000000..c910434
--- /dev/null
+++ b/image_converter/resources.hpp
@@ -0,0 +1,7 @@
+#ifndef RESOURCES_HPP_SENTRY
+#define RESOURCES_HPP_SENTRY
+
+extern unsigned char image_data[];
+extern int image_sizes[];
+
+#endif