From 8c74686bc4d92f244fef1bfd6e89bb20da6a84e1 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sat, 11 Nov 2006 17:29:33 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@591 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- actioncube.bat | 2 +- actioncube.sh | 11 ++++------- actioncube_server.bat | 2 +- actioncube_server.sh | 11 ++++------- 4 files changed, 10 insertions(+), 16 deletions(-) diff --git a/actioncube.bat b/actioncube.bat index 74069766..0a79b6ac 100755 --- a/actioncube.bat +++ b/actioncube.bat @@ -1,3 +1,3 @@ -bin_win32\ac_client.exe -w1024 -h768 $@ +bin_win32\ac_client.exe -w1024 -h768 %1 %2 %3 %4 %5 diff --git a/actioncube.sh b/actioncube.sh index 11e461a2..49711e63 100755 --- a/actioncube.sh +++ b/actioncube.sh @@ -14,10 +14,10 @@ MACHINE_NAME=`uname -m` case ${SYSTEM_NAME} in Linux) - SYSTEM_PREFIX=linux_ + SYSTEM_PREFIX= ;; *) - echo "Your operating system does not have a supported Cube client." + echo "Your operating system does not have a pre-compiled Cube client." exit 1 ;; esac @@ -26,15 +26,12 @@ case ${MACHINE_NAME} in i486|i586|i686) MACHINE_PREFIX= ;; -ppc) - MACHINE_PREFIX=ppc_ - ;; *) - echo "Your processor does not have a supported Cube client." + echo "Your processor does not have a pre-compiled Cube client." exit 1 ;; esac cd ${CUBE_DIR} -exec ${CUBE_DIR}/bin_unix/ac_client $* +exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}ac_client $* diff --git a/actioncube_server.bat b/actioncube_server.bat index 23fcc1a0..7fbca584 100644 --- a/actioncube_server.bat +++ b/actioncube_server.bat @@ -1,2 +1,2 @@ -bin_win32\ac_server.exe -c6 -rconfig/maprot.cfg $@ +bin_win32\ac_server.exe %1 %2 %3 %4 %5 pause diff --git a/actioncube_server.sh b/actioncube_server.sh index 6db5fd18..6b7765d7 100755 --- a/actioncube_server.sh +++ b/actioncube_server.sh @@ -14,10 +14,10 @@ MACHINE_NAME=`uname -m` case ${SYSTEM_NAME} in Linux) - SYSTEM_PREFIX=linux_ + SYSTEM_PREFIX= ;; *) - echo "Your operating system does not have a supported Cube client." + echo "Your operating system does not have a pre-compiled Cube server." exit 1 ;; esac @@ -26,15 +26,12 @@ case ${MACHINE_NAME} in i486|i586|i686) MACHINE_PREFIX= ;; -ppc) - MACHINE_PREFIX=ppc_ - ;; *) - echo "Your processor does not have a supported Cube client." + echo "Your processor does not have a pre-compiled Cube server." exit 1 ;; esac cd ${CUBE_DIR} -exec ${CUBE_DIR}/bin_unix/ac_server -c6 $* +exec ${CUBE_DIR}/bin_unix/${MACHINE_PREFIX}${SYSTEM_PREFIX}ac_server $*