Ver Fonte

alpha6 using newest Löve GLES code

Martin Felis há 12 anos atrás
pai
commit
78cb9c5539
2 ficheiros alterados com 7 adições e 7 exclusões
  1. 5 6
      AndroidManifest.xml
  2. 2 1
      jni/Application.mk

+ 5 - 6
AndroidManifest.xml

@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-      package="org.love2d.android"
-      android:versionCode="3"
-      android:versionName="0.9.0-alpha5"
-      android:installLocation="auto">
+<manifest package="org.love2d.android"
+      android:versionCode="4"
+      android:versionName="0.9.0-alpha6"
+      android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
     <uses-permission android:name="android.permission.INTERNET"/>
     <uses-permission android:name="android.permission.INTERNET"/>
 
 
     <application android:label="Löve for Android"
     <application android:label="Löve for Android"
@@ -12,7 +11,7 @@
                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
         <activity android:name="GameActivity"
         <activity android:name="GameActivity"
                   android:label="Löve for Android"
                   android:label="Löve for Android"
-                  android:screenOrientation="unspecified">
+                  android:screenOrientation="landscape" android:configChanges="orientation|screenSize">
             <intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
                 <category android:name="android.intent.category.LAUNCHER" />

+ 2 - 1
jni/Application.mk

@@ -1,6 +1,7 @@
-
 # Uncomment this if you're using STL in your project
 # Uncomment this if you're using STL in your project
 # 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 
 APP_STL := gnustl_shared
 APP_STL := gnustl_shared
 APP_ABI := armeabi-v7a
 APP_ABI := armeabi-v7a
+APP_CPPFLAGS := -frtti
+# APP_OPTIM := debug