Compare commits
16 Commits
ca10b61242
...
alpha-0.0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fcd938d8a | |||
| 3b7515a52b | |||
| 57cec0e46d | |||
| 7b3cd190c8 | |||
| 0e77bee285 | |||
| cf765a195f | |||
| f46fc27c49 | |||
| 21bc0d4e15 | |||
| becaf17479 | |||
| c9159fdaf2 | |||
|
|
4d60bfa948 | ||
| 90b58a43af | |||
| 655a23e4f1 | |||
| b39eb2f545 | |||
| 22e267a9a7 | |||
| 31f4b09145 |
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
.gradle
|
.gradle
|
||||||
|
|
||||||
app/libs
|
app/libs
|
||||||
|
app/build
|
||||||
2
.gitmodules
vendored
@@ -1,3 +1,3 @@
|
|||||||
[submodule "Blitz"]
|
[submodule "Blitz"]
|
||||||
path = app/jni/Blitz
|
path = app/jni/Blitz
|
||||||
url = git@github.com:Persson-dev/Blitz.git
|
url = https://git.ale-pri.com/Blitz/Blitz.git
|
||||||
|
|||||||
@@ -29,13 +29,29 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
signingConfigs {
|
||||||
|
release {
|
||||||
|
storeFile file(RELEASE_STORE_FILE)
|
||||||
|
storePassword RELEASE_STORE_PASSWORD
|
||||||
|
keyAlias RELEASE_KEY_ALIAS
|
||||||
|
keyPassword RELEASE_KEY_PASSWORD
|
||||||
|
}
|
||||||
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
debuggable true
|
debuggable true
|
||||||
|
if (project.hasProperty('debugBuild')) {
|
||||||
|
xmake {
|
||||||
|
// set abi filters (optional), e.g. armeabi, armeabi-v7a, arm64-v8a, x86, x86_64
|
||||||
|
// we can also get abiFilters from defaultConfig.ndk.abiFilters
|
||||||
|
buildMode "debug"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
applicationVariants.all { variant ->
|
applicationVariants.all { variant ->
|
||||||
|
|||||||
@@ -7,9 +7,13 @@
|
|||||||
android:versionName="1.0"
|
android:versionName="1.0"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
<!-- OpenGL ES 2.0 -->
|
<!-- OpenGL ES 3.0 -->
|
||||||
<uses-feature android:glEsVersion="0x00030000" />
|
<uses-feature android:glEsVersion="0x00030000" />
|
||||||
|
|
||||||
|
<!-- Network support -->
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
||||||
<!-- Touchscreen support -->
|
<!-- Touchscreen support -->
|
||||||
<uses-feature
|
<uses-feature
|
||||||
android:name="android.hardware.touchscreen"
|
android:name="android.hardware.touchscreen"
|
||||||
|
|||||||
1
app/src/main/assets
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../jni/Blitz/assets/
|
||||||
@@ -273,6 +273,7 @@ public class HIDDeviceManager {
|
|||||||
final int XB1_IFACE_SUBCLASS = 71;
|
final int XB1_IFACE_SUBCLASS = 71;
|
||||||
final int XB1_IFACE_PROTOCOL = 208;
|
final int XB1_IFACE_PROTOCOL = 208;
|
||||||
final int[] SUPPORTED_VENDORS = {
|
final int[] SUPPORTED_VENDORS = {
|
||||||
|
0x03f0, // HP
|
||||||
0x044f, // Thrustmaster
|
0x044f, // Thrustmaster
|
||||||
0x045e, // Microsoft
|
0x045e, // Microsoft
|
||||||
0x0738, // Mad Catz
|
0x0738, // Mad Catz
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
private static final String TAG = "SDL";
|
private static final String TAG = "SDL";
|
||||||
private static final int SDL_MAJOR_VERSION = 2;
|
private static final int SDL_MAJOR_VERSION = 2;
|
||||||
private static final int SDL_MINOR_VERSION = 28;
|
private static final int SDL_MINOR_VERSION = 28;
|
||||||
private static final int SDL_MICRO_VERSION = 3;
|
private static final int SDL_MICRO_VERSION = 5;
|
||||||
/*
|
/*
|
||||||
// Display InputType.SOURCE/CLASS of events and devices
|
// Display InputType.SOURCE/CLASS of events and devices
|
||||||
//
|
//
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 61 KiB |
@@ -1,3 +1,3 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Game</string>
|
<string name="app_name">Blitz</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||