summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/chess/run
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-02-06 04:55:26 -0600
committerepoch <epoch@hacking.allowed.org>2019-02-06 04:55:26 -0600
commitfcd31e10d00ae7459b084584c513dc3ab8d62d0e (patch)
treee2cb1807056735804805ec0040c275efab1548e0 /share/hackvr/examples/chess/run
parentc45f918c635ea6f8d947f5e7bb7f646656c89b30 (diff)
parent30bfb25dceedcc0ad84b06194856edb28297ba83 (diff)
downloadhackvr-fcd31e10d00ae7459b084584c513dc3ab8d62d0e.tar.gz
hackvr-fcd31e10d00ae7459b084584c513dc3ab8d62d0e.zip
merged some derpage I did on the wrong branch in the wrong copy of the repo
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