Enable XASH_SDL by default

This commit is contained in:
mittorn 2015-06-16 22:45:30 +07:00
parent 7896fc7ea7
commit 71a667effe
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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();