mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-12-03 00:42:30 +00:00
7fb48b29ca
Update arch in misc/setup for ioq3 changing from i386 to x86 OpenGL2: Use extension functions with OpenGL versions before 3.0. OpenGL2: Force VAO usage on OpenGL 3.0+ Add spawnflags to QUAKED for trigger_multiple Check for all command separators in callTeamVote Remove newlines from chat messages in Game VM Fix compiling Cmd_CallTeamVote_f Only allow safe protocols for cURL downloads Fix crash when pmove_msec is 0 Combine mouse movement events in event queue Improve keys using international key layouts Improve client input responsiveness Removing input functions from sys_local.h for last commit Make input events use earliest possible time Make bots use crusher on other q3tourney6 maps Make bots only use q3tourney6 crusher to kill their enemy
48 lines
1.1 KiB
Bash
Executable file
48 lines
1.1 KiB
Bash
Executable file
#!/bin/bash
|
|
# Rev: $Id: ioq3ded.sh,v 1.9 2006/01/18 13:47:42 raistlin Exp raistlin $
|
|
# Needed to make symlinks/shortcuts work.
|
|
# the binaries must run with correct working directory
|
|
|
|
IOQ3_DIR=/usr/local/share/games/quake3
|
|
|
|
if [ "x${LD_LIBRARY_PATH}" = "x" ]; then
|
|
LD_LIBRARY_PATH="${IOQ3_DIR}/lib"
|
|
else
|
|
LD_LIBRARY_PATH="${IOQ3_DIR}/lib:${LD_LIBRARY_PATH}"
|
|
fi
|
|
export LD_LIBRARY_PATH
|
|
|
|
COMPILE_PLATFORM=`uname|sed -e 's/_.*//'|tr '[:upper:]' '[:lower:]'`
|
|
COMPILE_ARCH=`uname -p | sed -e 's/i.86/x86/'`
|
|
|
|
EXEC_REL=release
|
|
|
|
# EXEC_BIN=ioquake3.${COMPILE_ARCH}
|
|
# EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
|
|
EXEC_BIN=ioq3ded.${COMPILE_ARCH}
|
|
|
|
EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0 +set com_ansiColor 0"
|
|
|
|
EXEC_DIR_LIST="${IOQ3_DIR}"
|
|
|
|
for d in ${EXEC_DIR_LIST}
|
|
do
|
|
if [ -d $d ]; then
|
|
EXEC_DIR=${d}
|
|
break
|
|
fi
|
|
done
|
|
|
|
if [ "X${EXEC_DIR}" != "X" ]; then
|
|
if [ ! -x ${EXEC_DIR}/${EXEC_BIN} ]; then
|
|
echo "Executable ${EXEC_DIR}/${EXEC_BIN} not found!" ; exit 1
|
|
fi
|
|
cd ${IOQ3_DIR} && \
|
|
${EXEC_DIR}/${EXEC_BIN} ${EXEC_FLAGS} $*
|
|
exit $?
|
|
else
|
|
echo "No ioq3 binaries found!"
|
|
exit 1
|
|
fi
|
|
|
|
|