aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README21
-rwxr-xr-xbin/hackvr11
-rwxr-xr-xshare/hackvr/examples/anonet_map.sh12
-rwxr-xr-xshare/hackvr/examples/anonet_map/map74
-rwxr-xr-xshare/hackvr/examples/anonet_map/paths-to-edges5
-rwxr-xr-xshare/hackvr/examples/anonet_map/run8
-rw-r--r--share/hackvr/examples/calendar/Makefile7
-rwxr-xr-xshare/hackvr/examples/calendar/calvr196
-rwxr-xr-xshare/hackvr/examples/chess/board.sh54
-rw-r--r--share/hackvr/examples/chess/camera.pos2
-rwxr-xr-xshare/hackvr/examples/chess/gnuchess-to-hackvr.sh32
-rwxr-xr-xshare/hackvr/examples/chess/hackvr-to-gnuchess.sh18
-rw-r--r--share/hackvr/examples/chess/pieces/bishop2
-rw-r--r--share/hackvr/examples/chess/pieces/king2
-rw-r--r--share/hackvr/examples/chess/pieces/knight2
-rw-r--r--share/hackvr/examples/chess/pieces/pawn1
-rw-r--r--share/hackvr/examples/chess/pieces/queen1
-rw-r--r--share/hackvr/examples/chess/pieces/rook1
-rwxr-xr-xshare/hackvr/examples/chess/run5
-rw-r--r--share/hackvr/examples/clock/Makefile11
-rwxr-xr-xshare/hackvr/examples/clock/generate.py10
-rwxr-xr-xshare/hackvr/examples/clock/hackvr-clock72
-rwxr-xr-xshare/hackvr/examples/clock/run.pre24
-rwxr-xr-xshare/hackvr/examples/clock/set_clock.sh10
-rwxr-xr-xshare/hackvr/examples/dothack/chaosgate.py63
-rwxr-xr-xshare/hackvr/examples/dothack/test.sh6
-rwxr-xr-xshare/hackvr/examples/draw/draw.sh48
-rwxr-xr-xshare/hackvr/examples/draw/run3
-rw-r--r--share/hackvr/examples/dungen/Makefile8
-rw-r--r--share/hackvr/examples/dungen/dun2ascii.c46
-rw-r--r--share/hackvr/examples/dungen/dun2hackvr.c59
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh42
-rw-r--r--share/hackvr/examples/dungen/dungen.c61
-rwxr-xr-xshare/hackvr/examples/editor/editor.sh6
-rwxr-xr-xshare/hackvr/examples/fib.sh24
-rwxr-xr-xshare/hackvr/examples/filebrowser/action_to_target.sh11
-rwxr-xr-xshare/hackvr/examples/filebrowser/backend-filebrowser.sh18
-rwxr-xr-xshare/hackvr/examples/filebrowser/backend-gopher.sh22
-rwxr-xr-xshare/hackvr/examples/filebrowser/backend-ps.sh12
-rw-r--r--share/hackvr/examples/filebrowser/camera.pos2
-rwxr-xr-xshare/hackvr/examples/filebrowser/frontend-hackvr.sh6
-rwxr-xr-xshare/hackvr/examples/filebrowser/frontend-zenity.sh6
-rwxr-xr-xshare/hackvr/examples/filebrowser/list_to_cubes.sh33
-rwxr-xr-xshare/hackvr/examples/filebrowser/run3
-rwxr-xr-xshare/hackvr/examples/grid_floor.sh10
-rw-r--r--share/hackvr/examples/hackvr_term/Makefile19
-rw-r--r--share/hackvr/examples/hackvr_term/camera.pos4
-rwxr-xr-xshare/hackvr/examples/hackvr_term/hackvr_data_decode.sh3
-rwxr-xr-xshare/hackvr/examples/hackvr_term/hackvr_termbin30508 -> 0 bytes
-rw-r--r--share/hackvr/examples/hackvr_term/hackvr_term.c184
-rw-r--r--share/hackvr/examples/hackvr_term/libtmt/README.rst637
-rw-r--r--share/hackvr/examples/hackvr_term/libtmt/tmt.c500
-rw-r--r--share/hackvr/examples/hackvr_term/libtmt/tmt.h140
-rwxr-xr-xshare/hackvr/examples/hackvr_term/ptybin7776 -> 0 bytes
-rw-r--r--share/hackvr/examples/hackvr_term/pty.c70
-rwxr-xr-xshare/hackvr/examples/hackvr_term/read_line.sh5
-rwxr-xr-xshare/hackvr/examples/hackvr_term/run9
-rwxr-xr-xshare/hackvr/examples/hackvr_term/run.pty9
-rwxr-xr-xshare/hackvr/examples/hackvrd/hackvr-subsystem7
-rwxr-xr-xshare/hackvr/examples/hackvrd/hackvrd.sh115
-rwxr-xr-xshare/hackvr/examples/hackvrd/ident16
-rwxr-xr-xshare/hackvr/examples/hackvrd/list_to_cubes.sh33
-rwxr-xr-xshare/hackvr/examples/hackvrd/multi.sh10
-rwxr-xr-xshare/hackvr/examples/hackvrd/radio.sh84
-rwxr-xr-xshare/hackvr/examples/hackvrnet/connect.sh3
-rwxr-xr-xshare/hackvr/examples/marquee/marquee.sh28
-rwxr-xr-xshare/hackvr/examples/spinners/square.sh19
-rwxr-xr-xshare/hackvr/examples/starfieldbin7296 -> 0 bytes
-rw-r--r--share/hackvr/examples/starfield.c12
-rw-r--r--share/hackvr/examples/subsume/arms.hackvr7
-rwxr-xr-xshare/hackvr/examples/subsume/test.sh11
-rw-r--r--share/hackvr/examples/tictactoe/board13
-rw-r--r--share/hackvr/examples/tictactoe/board_orig14
-rw-r--r--share/hackvr/examples/tictactoe/camera.pos5
-rwxr-xr-xshare/hackvr/examples/tictactoe/game.sh37
-rwxr-xr-xshare/hackvr/examples/tictactoe/listen.sh11
-rw-r--r--share/hackvr/examples/tictactoe/marker02
-rw-r--r--share/hackvr/examples/tictactoe/marker11
-rwxr-xr-xshare/hackvr/examples/tictactoe/run4
-rw-r--r--share/hackvr/examples/uristart.conf2
-rw-r--r--share/hackvr/examples/wget-log0
-rw-r--r--share/hackvr/examples/wget-log.10
-rw-r--r--share/hackvr/examples/wget-log.20
-rwxr-xr-xshare/hackvr/examples/wordsearch/game.sh37
-rwxr-xr-xshare/hackvr/examples/wordsearch/run8
-rwxr-xr-xshare/hackvr/examples/xcmd.sh4
-rw-r--r--share/hackvr/font/apple410.hackvr526
l---------share/hackvr/font/default.hackvr1
-rw-r--r--share/hackvr/font/epoch_font.hackvr699
-rw-r--r--share/hackvr/meshes/.n64.hackvr.swpbin12288 -> 0 bytes
-rw-r--r--share/hackvr/meshes/Deer.obj1239
-rw-r--r--share/hackvr/meshes/bowser.hackvr1002
-rw-r--r--share/hackvr/meshes/bowser.obj3233
-rw-r--r--share/hackvr/meshes/bowser/bowser.mtl167
-rw-r--r--share/hackvr/meshes/bowser/bowser.zipbin328200 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/bowser_grp.pngbin273233 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/readme.txt1
-rw-r--r--share/hackvr/meshes/bowser/textures/100EF06A_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/12545C5B_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/1255BC5B_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/1AFD7ECE_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/1C026C20_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/1D630F9B_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/23860B32_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/25A0F12B_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/4566EEE9_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/5278DE3_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/5F9833D7_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/628F696F_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/7255709C_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/78DA6E54_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/7C0ED1D5_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/7FBF04C8_c.bmpbin3126 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/889C0E_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/bowser/textures/AE0327_c.bmpbin6198 -> 0 bytes
-rw-r--r--share/hackvr/meshes/cube.hackvr13
-rw-r--r--share/hackvr/meshes/cube.obj47
-rw-r--r--share/hackvr/meshes/cube2.hackvr6
-rwxr-xr-xshare/hackvr/meshes/drugsandwires/generate.py60
-rw-r--r--share/hackvr/meshes/female_basemesh1_2.hackvr1372
-rw-r--r--share/hackvr/meshes/female_basemesh1_2.obj4342
-rw-r--r--share/hackvr/meshes/floorgrid.hackvr2
-rw-r--r--share/hackvr/meshes/floppy.hackvr30
-rwxr-xr-xshare/hackvr/meshes/grid_floor.sh2
-rw-r--r--share/hackvr/meshes/guy_fawkes.obj553
-rw-r--r--share/hackvr/meshes/interceptor/Ship/Ship.mtl156
-rw-r--r--share/hackvr/meshes/interceptor/Ship/Ship.obj15070
-rw-r--r--share/hackvr/meshes/interceptor/Ship/Ship.smd24664
-rw-r--r--share/hackvr/meshes/interceptor/Ship/Thumbs.dbbin41472 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture000.pngbin52951 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture001.pngbin95100 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture002.pngbin41385 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture003.pngbin26236 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture004.pngbin11459 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture005.pngbin85465 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture006.pngbin37260 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture007.pngbin10859 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture008.pngbin54284 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture009.pngbin67603 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture010.pngbin79301 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture011.pngbin5572 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture012.pngbin12729 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture013.pngbin21131 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/Ship/texture014.pngbin30569 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/interceptor.zipbin955523 -> 0 bytes
-rw-r--r--share/hackvr/meshes/interceptor/readme.txt1
-rw-r--r--share/hackvr/meshes/male_basemesh1.obj3636
-rw-r--r--share/hackvr/meshes/monkey.blendbin439088 -> 0 bytes
-rw-r--r--share/hackvr/meshes/monkey.obj1013
-rw-r--r--share/hackvr/meshes/n64.hackvr13
-rw-r--r--share/hackvr/meshes/porygon/porygon.hackvr59
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon.mtl11
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon.obj1525
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon1.pngbin411 -> 0 bytes
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon2.pngbin434 -> 0 bytes
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon3.pngbin467 -> 0 bytes
-rw-r--r--share/hackvr/meshes/porygon2/Porygon/porygon4.pngbin534 -> 0 bytes
-rw-r--r--share/hackvr/meshes/porygon2/porygon.zipbin10402 -> 0 bytes
-rwxr-xr-xshare/hackvr/meshes/radial_to_cartesian.py16
-rw-r--r--share/hackvr/meshes/shittree.blendbin428904 -> 0 bytes
-rw-r--r--share/hackvr/meshes/shittree.obj32
-rw-r--r--share/hackvr/meshes/test.hackvr5
162 files changed, 23 insertions, 62606 deletions
diff --git a/README b/README
index 17dde36..f028f76 100644
--- a/README
+++ b/README
@@ -11,7 +11,7 @@ so do some plumbing and get a multiplayer game going?
How about a nice GL version written in zig made by someone else?
https://git.random-projects.net/xq/hackvr-turbo
-I'm telling you. It looks a lot nicer than my stuff.
+It looks a lot nicer than my stuff.
::::::::::::::::::::
::: DEPENDENCIES :::
@@ -36,17 +36,17 @@ libhashtable (LIBrary for HASH TABLEs.)
You can usually get these libs from the same place you got hackvr.
where to find hackvr:
-git://thebackupbox.net/hackvr
+git://git.thebackupbox.net/hackvr
git://main.lv/hackvr
https://github.com/kkabrams/hackvr
where to find libidc:
-git://thebackupbox.net/libidc
+git://git.thebackupbox.net/libidc
git://main.lv/libidc
https://github.com/kkabrams/libidc
where to find libhashtable:
-git://thebackupbox.net/libhashtable
+git://git.thebackupbox.net/libhashtable
git://main.lv/libhashtable
https://github.com/kkabrams/libhashtable
@@ -111,6 +111,19 @@ A few helper scripts are written in perl and python.
So you might want to install perl and python if you want to play with them.
They're pretty nifty.
+::::::::::::::
+::: Extras :::
+::::::::::::::
+
+There is another repo that contains a lot of experiments, examples, toys, and, well, extra files.
+stuff like a vector font.
+something that renders a terminal using it into hackvr.
+a clock.
+dungeon map generator and viewer.
+etc.
+
+git://git.thebackupbox.net/hackvr-extras
+
:::::::::::::::::::
::: Stereoscopy :::
:::::::::::::::::::
diff --git a/bin/hackvr b/bin/hackvr
index 1c9d16c..bb0185e 100755
--- a/bin/hackvr
+++ b/bin/hackvr
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/usr/bin/env bash
+set -eo pipefail
if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
- exe