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-22 01:48:47 +0300
commit2f17165bd4c86885a75424d4f0ce6198c46c84b4 (patch)
treeadca6245c4f5859f271bd5880175fd56c603fd2c /image_converter/resources.hpp
parentca449b813cef6c8f7348ff51302f125587a90a53 (diff)
downloadpicture-puzzle-2f17165bd4c86885a75424d4f0ce6198c46c84b4.tar.gz
picture-puzzle-2f17165bd4c86885a75424d4f0ce6198c46c84b4.tar.bz2
picture-puzzle-2f17165bd4c86885a75424d4f0ce6198c46c84b4.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