The following commit has been merged in the smcv branch:
commit 115383d1f816c7ceca526d844ca27eccf3116eb8
Author: Simon McVittie <[email protected]>
Date:   Wed Jul 6 23:05:14 2011 +0100

    quake.sh: allow the engine to be forced

diff --git a/quake.sh b/quake.sh
index b3a5934..adec96d 100644
--- a/quake.sh
+++ b/quake.sh
@@ -17,6 +17,14 @@ main() {
                 show_version
                 exit 2
                 ;;
+            --engine)
+                engine_path="$2"
+                shift
+                ;;
+            --engine=*)
+                engine_path="$1"
+                engine_path="${engine_path#--engine=}"
+                ;;
             *)
                 break
                 ;;
@@ -39,6 +47,8 @@ show_help() {
     echo "This script supports these options:"
     echo "  -h, --help       show this help information"
     echo "  -v, --version    show version information"
+    echo "  --engine BINARY  use BINARY as the Quake engine, e.g."
+    echo "                   quake --engine=/usr/bin/darkplaces"
     echo
     echo "Any further arguments will be passed directly to the Quake engine."
 }

-- 
Classic first person shooter

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to