mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
editor/g3dviewr startscripts which handle parameters / version number
This commit is contained in:
parent
c4a9f61842
commit
c5809e50b5
@ -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"
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user