diff options
Diffstat (limited to 'share/hackvr/examples/chess/run')
-rwxr-xr-x | share/hackvr/examples/chess/run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hackvr/examples/chess/run b/share/hackvr/examples/chess/run index 0fdfdf3..1168044 100755 --- a/share/hackvr/examples/chess/run +++ b/share/hackvr/examples/chess/run @@ -1,4 +1,5 @@ #!/usr/bin/env bash +export elevation=0 mknod p p -stdbuf -oL cat camera.pos <(./board.sh) <(cat p | ./gnuchess-to-hackvr.sh) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p +stdbuf -oL cat camera.pos <(./board.sh $elevation) <(cat p | ./gnuchess-to-hackvr.sh $elevation) | hackvr "$USER" | ./hackvr-to-gnuchess.sh | gnuchess -x > p rm p |