summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/chess/run
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2019-02-07 09:08:01 +0000
committerepochqwert <epoch@hacking.allowed.org>2019-02-07 09:08:01 +0000
commit750473faa49be1a3490d8336190ee920014d8169 (patch)
tree2f14646e064321419c7942981863f571e9a6339b /share/hackvr/examples/chess/run
parent9f4b99177d8e563f5cfceaf34277d79a681c41f7 (diff)
parent978e097ebfb50d70e5e45530cdf0fecc7654c641 (diff)
downloadhackvr-750473faa49be1a3490d8336190ee920014d8169.tar.gz
hackvr-750473faa49be1a3490d8336190ee920014d8169.zip
merge with testing
Diffstat (limited to 'share/hackvr/examples/chess/run')
-rwxr-xr-xshare/hackvr/examples/chess/run3
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