#!/bin/sh
#
# prboom startup shell skript -- Marcus Herbert <rhoenie@spam-filter.de>
#

# Options -dogs,-width,-height,-avg,-fullscreen,-nofullscreen
#
OPTS="-width 1024 -height 768 -nofullscreen"

# Choose SDL (no TRAM) or OpenGL (needs TRAM)
#
# VERS=sdl
VERS=gl

# Path to doom.wad and prboom.wad
#
[ "$DOOMWADDIR" ] || DOOMWADDIR=/usr/local/games/PrBoom/share
export DOOMWADDIR 

# The endtext trashes the terminal on IRIX.
#
exec ./prboom.$VERS $OPTS $*
