db8ca37fa3
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@2 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
26 lines
563 B
Bash
26 lines
563 B
Bash
#!/bin/zsh
|
|
|
|
buildRoot=./build
|
|
executable=$buildRoot/Quake3.app/Contents/MacOS/Quake3
|
|
ls -l $executable
|
|
|
|
flags="$flags +set timedemo 1"
|
|
flags="$flags +set s_initsound 0"
|
|
flags="$flags +set vm_cgame 1"
|
|
flags="$flags +set vm_game 1"
|
|
flags="$flags +set r_texturebits 16"
|
|
flags="$flags +set r_depthbits 16"
|
|
flags="$flags +set r_colorbits 16"
|
|
flags="$flags +set stencilbits 8"
|
|
|
|
flags="$flags +set r_appleTransformHint 1"
|
|
|
|
echo flags=$flags
|
|
|
|
function demo {
|
|
echo Demo $*
|
|
$executable $flags +demo $* |& egrep "(seconds|VM)"
|
|
}
|
|
|
|
demo foo
|
|
|