mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 16:41:12 +02:00
Minor adjustments for 0.11.0-alpha1
This commit is contained in:
+3
-3
@@ -5,14 +5,14 @@ android {
|
||||
buildToolsVersion "26.0.2"
|
||||
defaultConfig {
|
||||
applicationId "org.love2d.android"
|
||||
versionCode 22
|
||||
versionName "0.10.2"
|
||||
versionCode 23
|
||||
versionName "0.11.0-alpha1"
|
||||
minSdkVersion 10
|
||||
targetSdkVersion 25
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,13 +30,7 @@
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:scheme="file" />
|
||||
<data android:scheme="content" />
|
||||
<data android:mimeType="application/x-love-game" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="file" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:pathPattern=".*\\.love" />
|
||||
@@ -52,12 +46,10 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="http"
|
||||
android:host="*"
|
||||
android:pathPrefix="*"
|
||||
android:mimeType="*/*"
|
||||
android:pathPattern=".*\\.love" />
|
||||
<data android:scheme="https"
|
||||
android:host="*"
|
||||
android:pathPrefix="*"
|
||||
android:mimeType="*/*"
|
||||
android:pathPattern=".*\\.love" />
|
||||
</intent-filter>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.0.1'
|
||||
@@ -15,3 +16,7 @@ buildscript {
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
}
|
||||
@@ -27,15 +27,6 @@
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef LOVE_ANDROID
|
||||
// log2 is not declared in the math.h shipped with the Android NDK
|
||||
static inline double log2(double n)
|
||||
{
|
||||
// log(n)/log(2) is log2.
|
||||
return std::log(n) / std::log(2);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user