editor/g3dviewr startscripts which handle parameters / version number

This commit is contained in:
Titus Tscharntke 2010-03-19 22:15:14 +00:00
parent c4a9f61842
commit c5809e50b5
3 changed files with 5 additions and 8 deletions

View File

@ -14,8 +14,6 @@ else
GAMEDIR="`dirname $0`"
fi
# Change to the game dir, and go!
cd $GAMEDIR
# export game library directory
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
@ -29,10 +27,10 @@ else
hasopenal=`ldconfig -p | grep -m 1 "libopenal.so.1" | cut "-d>" -f2 | cut "-d " -f2`
if [ -n "$hasopenal" ]; then
ln -f -s $hasopenal lib/libopenal.so.0
ln -f -s $hasopenal $GAMEDIR/lib/libopenal.so.0
fi
fi
./bin/glest_editor
$GAMEDIR/bin/glest_editor "$1"

View File

@ -14,10 +14,9 @@ else
GAMEDIR="`dirname $0`"
fi
# Change to the game dir, and go!
cd $GAMEDIR
# export game library directory
test -n "${LIBDIR}" && export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GAMEDIR}/${LIBDIR}"
./bin/glest_g3dviewer
echo $*>$GAMEDIR/test.log
$GAMEDIR/bin/glest_g3dviewer "$1"

View File

@ -22,7 +22,7 @@ using namespace Shared::Util;
namespace Glest{ namespace Game{
const string mailString= "contact_game@glest.org";
const string glestVersionString= "v3.3.1";
const string glestVersionString= "v3.3.2-dev";
string getCrashDumpFileName(){
return "glest"+glestVersionString+".dmp";