about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2022-01-12 12:46:24 +0530
committerAndinus <andinus@nand.sh>2022-01-12 12:46:24 +0530
commit76b0f392519912c0e7835e5cf75190ea5d650e77 (patch)
tree352bd1215472c203069fafa5e1accb0c4ac12025 /lib
parent25f65f212c210638d15d73c0c8dfe1fc08bd96a2 (diff)
downloadoctans-76b0f392519912c0e7835e5cf75190ea5d650e77.tar.gz
Print video solution path
Diffstat (limited to 'lib')
-rw-r--r--lib/Octans/CLI.rakumod1
-rw-r--r--lib/Octans/GenerateFrame.rakumod2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Octans/CLI.rakumod b/lib/Octans/CLI.rakumod
index 4d94b69..d090eb3 100644
--- a/lib/Octans/CLI.rakumod
+++ b/lib/Octans/CLI.rakumod
@@ -92,6 +92,7 @@ multi sub MAIN(
         run «ffmpeg -loglevel "$log-level" -r 1.5 -i "$output/\%08d.png"
                     -vf 'tpad=stop_mode=clone:stop_duration=1'
                     -vcodec libx264 -crf 24 -pix_fmt yuv420p "$output/solution.mp4"»;
+        put "Video Solution: $output/solution.mp4";
     }
 }
 
diff --git a/lib/Octans/GenerateFrame.rakumod b/lib/Octans/GenerateFrame.rakumod
index ba7fc5b..9fe5754 100644
--- a/lib/Octans/GenerateFrame.rakumod
+++ b/lib/Octans/GenerateFrame.rakumod
@@ -20,8 +20,6 @@ constant %C = (
     fg-special-calm => "#61284f",
 ).map: {.key => hex2rgb(.value)};
 
-enum IterStatus <Walking Blocked Completed>;
-
 sub generate-frame(
     :%canvas, :$out, :$side, :@puzzle, :@visited, :%meta, :$found
 ) is export {