mirror of
https://github.com/astromaddie/lambda1-vr.git
synced 2026-10-23 03:00:15 +02:00
Added missing files
This commit is contained in:
1 parent
594ea9a578
commit
66b722f645
117 files changed
+137
-481
No files matched your search
@@ -60,22 +60,25 @@ import static android.system.Os.setenv;
|
||||
params.screenBrightness = 1.0f;
|
||||
getWindow().setAttributes( params );
|
||||
|
||||
copy_asset(getFilesDir().getPath(), "extras.pak");
|
||||
|
||||
|
||||
//Set default environment
|
||||
try {
|
||||
setenv("XASH3D_BASEDIR", "/sdcard/xash/", true);
|
||||
setenv("XASH3D_ENGLIBDIR", getFilesDir().getParentFile().getPath() + "/lib", true);
|
||||
setenv("XASH3D_GAMELIBDIR", getFilesDir().getParentFile().getPath() + "/lib", true);
|
||||
setenv("XASH3D_GAMEDIR", "valve", true);
|
||||
setenv( "XASH3D_EXTRAS_PAK1", getFilesDir().getPath() + "/extras.pak", true );
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//GLES3JNILib.setCallbackObjects(mAudio, this);
|
||||
|
||||
//Read these from a file and pass through
|
||||
commandLineParams = new String("quake");
|
||||
commandLineParams = new String("-dev 3 -log");
|
||||
|
||||
//See if user is trying to use command line params
|
||||
if(new File("/sdcard/xash/commandline.txt").exists()) // should exist!
|
||||
|
||||
Reference in new issue
Block a user