mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	updated the Android version
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| apply plugin: 'com.android.application' | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 25 | ||||
|     buildToolsVersion "25.0.2" | ||||
|     compileSdkVersion 28 | ||||
|     buildToolsVersion "28.0.3" | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "com.roguetemple.hyperroid" | ||||
| @@ -31,7 +31,7 @@ android { | ||||
|             ldLibs "GLESv3 -llog" | ||||
|             stl "stlport_static" | ||||
|             // 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' | ||||
|         } | ||||
|     } | ||||
| @@ -88,7 +88,7 @@ dependencies { | ||||
|     // | ||||
|     // 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: | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|       package="com.roguetemple.hyperroid" | ||||
|       android:versionCode="10420" android:versionName="10.4t" | ||||
|       android:versionCode="10504" android:versionName="10.5d" | ||||
|       android:installLocation="auto"> | ||||
| <!--    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />         --> | ||||
| <!--    <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'   | ||||
|   glhr::be_textured(); | ||||
|   glhr::set_depthtest(false); | ||||
|   stereo::set_viewport(0); | ||||
|   stereo::set_mask(0); | ||||
|   current_display->set_viewport(0); | ||||
|   current_display->set_mask(0); | ||||
|   glhr::new_projection(); | ||||
|   glhr::projection_multiply(glhr::translate(-1,-1,0)); | ||||
|   glhr::projection_multiply(glhr::ortho(vid.xres/2, vid.yres/2, 1)); | ||||
|   | ||||
| @@ -2,14 +2,22 @@ | ||||
| buildscript { | ||||
|     repositories { | ||||
|         jcenter() | ||||
|         maven { | ||||
|             url 'https://maven.google.com/' | ||||
|             name 'Google' | ||||
|         } | ||||
|     } | ||||
|     dependencies { | ||||
|         classpath 'com.android.tools.build:gradle:2.3.0' | ||||
|         classpath 'com.android.tools.build:gradle:3.2.0' | ||||
|     } | ||||
| } | ||||
|  | ||||
| allprojects { | ||||
|     repositories { | ||||
|         jcenter() | ||||
|         maven { | ||||
|             url 'https://maven.google.com/' | ||||
|             name 'Google' | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME | ||||
| distributionPath=wrapper/dists | ||||
| zipStoreBase=GRADLE_USER_HOME | ||||
| 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue