Enable XASH_SDL by default
This commit is contained in:
parent
7896fc7ea7
commit
71a667effe
2 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,8 @@
|
||||||
# See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information
|
# See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information
|
||||||
APP_STL := stlport_static
|
APP_STL := stlport_static
|
||||||
|
|
||||||
|
XASH_SDL ?= 1
|
||||||
|
|
||||||
ifeq ($(XASH_SDL),1)
|
ifeq ($(XASH_SDL),1)
|
||||||
APP_PLATFORM := android-12
|
APP_PLATFORM := android-12
|
||||||
else
|
else
|
||||||
|
|
|
@ -21,8 +21,8 @@ public class LauncherActivity extends Activity {
|
||||||
|
|
||||||
public void startXash(View view)
|
public void startXash(View view)
|
||||||
{
|
{
|
||||||
//Intent intent = new Intent(this, org.libsdl.app.SDLActivity.class);
|
Intent intent = new Intent(this, org.libsdl.app.SDLActivity.class);
|
||||||
Intent intent = new Intent(this, in.celest.xash3d.XashActivity.class);
|
//Intent intent = new Intent(this, in.celest.xash3d.XashActivity.class);
|
||||||
EditText cmdArgs = (EditText)findViewById(R.id.cmdArgs);
|
EditText cmdArgs = (EditText)findViewById(R.id.cmdArgs);
|
||||||
String sArgv = cmdArgs.getText().toString();
|
String sArgv = cmdArgs.getText().toString();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue