mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-24 06:50:09 +00:00
updated the Android version
This commit is contained in:
parent
4e4fce922e
commit
c08cad3e0b
@ -1,8 +1,8 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 28
|
||||||
buildToolsVersion "25.0.2"
|
buildToolsVersion "28.0.3"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.roguetemple.hyperroid"
|
applicationId "com.roguetemple.hyperroid"
|
||||||
@ -31,7 +31,7 @@ android {
|
|||||||
ldLibs "GLESv3 -llog"
|
ldLibs "GLESv3 -llog"
|
||||||
stl "stlport_static"
|
stl "stlport_static"
|
||||||
// abiFilters 'armeabi', 'x86_64'
|
// abiFilters 'armeabi', 'x86_64'
|
||||||
abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'mips', 'mips64'
|
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
|
||||||
// abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'mips', 'mips64'
|
// abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'mips', 'mips64'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ dependencies {
|
|||||||
//
|
//
|
||||||
// IDE setting pulls in the specific version of v4 support you have installed:
|
// IDE setting pulls in the specific version of v4 support you have installed:
|
||||||
//
|
//
|
||||||
compile 'com.android.support:support-v4:21.0.3'
|
implementation 'com.android.support:support-v4:28.0.0'
|
||||||
|
|
||||||
//
|
//
|
||||||
// generic directive pulls in any available version of v4 support:
|
// generic directive pulls in any available version of v4 support:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.roguetemple.hyperroid"
|
package="com.roguetemple.hyperroid"
|
||||||
android:versionCode="10420" android:versionName="10.4t"
|
android:versionCode="10504" android:versionName="10.5d"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->
|
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->
|
||||||
<!-- <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" /> -->
|
<!-- <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" /> -->
|
||||||
|
@ -302,8 +302,8 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_draw(MOBPAR_FORMAL) {
|
|||||||
// text is drawn with 'textured'
|
// text is drawn with 'textured'
|
||||||
glhr::be_textured();
|
glhr::be_textured();
|
||||||
glhr::set_depthtest(false);
|
glhr::set_depthtest(false);
|
||||||
stereo::set_viewport(0);
|
current_display->set_viewport(0);
|
||||||
stereo::set_mask(0);
|
current_display->set_mask(0);
|
||||||
glhr::new_projection();
|
glhr::new_projection();
|
||||||
glhr::projection_multiply(glhr::translate(-1,-1,0));
|
glhr::projection_multiply(glhr::translate(-1,-1,0));
|
||||||
glhr::projection_multiply(glhr::ortho(vid.xres/2, vid.yres/2, 1));
|
glhr::projection_multiply(glhr::ortho(vid.xres/2, vid.yres/2, 1));
|
||||||
|
@ -2,14 +2,22 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
maven {
|
||||||
|
url 'https://maven.google.com/'
|
||||||
|
name 'Google'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.0'
|
classpath 'com.android.tools.build:gradle:3.2.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
maven {
|
||||||
|
url 'https://maven.google.com/'
|
||||||
|
name 'Google'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user