back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/image_converter
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2025-07-25 17:04:21 +0300
committerscratko <m@scratko.xyz>2025-07-25 17:46:22 +0300
commit90bd5ca05bea4dbeaaeff5cbe13b5671da420c82 (patch)
tree05757ed9b9ea0c007f4b4e86cfd8402fea4c6a5d /image_converter
parentac9a06b04144023e87d1a504cfe5598e7cf3d7b4 (diff)
downloadpicture-puzzle-master.tar.gz
picture-puzzle-master.tar.bz2
picture-puzzle-master.zip
July updateHEADmaster
Added const qualifiers is_next_to_empty_box() became visible to other files(). The size of the main window has been changed. Checking whether the A* algorithm has been launched before starting a new game or the same A* algorithm. Fixed indentation in lambda expressions. The initial node is added to open_queue without additional creation of dynamic memory (the address of the object field is taken). Fixed PQ_cont.erase(). IsNearEmptyBox was removed(). EqualNode moved to the Node class.
Diffstat (limited to 'image_converter')
-rw-r--r--image_converter/converter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/image_converter/converter.c b/image_converter/converter.c
index cccb9ad..c77b9ef 100644
--- a/image_converter/converter.c
+++ b/image_converter/converter.c
@@ -53,4 +53,5 @@ int main()
}
fprintf(out,"0xFF };\n\n");
fclose(out);
+ return 0;
}