[SCM] Classic first person shooter branch, smcv, updated. 0b37eda964c8c54edc240c95ed70896fa583026e

Simon McVittie smcv at debian.org
Thu Jul 7 17:39:16 UTC 2011


The following commit has been merged in the smcv branch:
commit 115383d1f816c7ceca526d844ca27eccf3116eb8
Author: Simon McVittie <smcv at debian.org>
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



More information about the Pkg-games-commits mailing list