15 Commits

Author SHA1 Message Date
3b7515a52b chore: update Android sdl verstionto 2.28.5 2024-04-13 18:39:51 +02:00
57cec0e46d chore: bump version to alpha-0.0.3 2024-04-13 18:39:51 +02:00
7b3cd190c8 sign release 2024-04-03 12:06:45 +02:00
0e77bee285 chore: update version to alpha-0.0.1 2024-04-03 11:11:25 +02:00
cf765a195f change submodule remote 2024-04-03 10:21:14 +02:00
f46fc27c49 chore: update Blitz version 2023-12-21 11:02:55 +01:00
21bc0d4e15 change icon 2023-12-21 10:59:36 +01:00
becaf17479 change app name 2023-12-20 20:27:52 +01:00
c9159fdaf2 chore: update Blitz version 2023-11-14 14:35:07 +01:00
Simon Pribylski
4d60bfa948 Create README.md 2023-11-14 14:31:42 +01:00
90b58a43af add Blitz assets 2023-11-10 22:50:30 +01:00
655a23e4f1 update Blitz version 2023-11-10 22:50:17 +01:00
b39eb2f545 add network support 2023-11-04 19:20:37 +01:00
22e267a9a7 add debug option 2023-11-04 17:59:57 +01:00
31f4b09145 Ignore build folder 2023-11-04 17:26:52 +01:00
15 changed files with 31 additions and 6 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.gradle
app/libs
app/libs
app/build

2
.gitmodules vendored
View File

@@ -1,3 +1,3 @@
[submodule "Blitz"]
path = app/jni/Blitz
url = git@github.com:Persson-dev/Blitz.git
url = https://git.ale-pri.com/Blitz/Blitz.git

2
README.md Normal file
View File

@@ -0,0 +1,2 @@
# Blitz-Android
Android port of Blitz

View File

@@ -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 {
debug {
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 {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
applicationVariants.all { variant ->

View File

@@ -7,9 +7,13 @@
android:versionName="1.0"
android:installLocation="auto">
<!-- OpenGL ES 2.0 -->
<!-- OpenGL ES 3.0 -->
<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 -->
<uses-feature
android:name="android.hardware.touchscreen"

1
app/src/main/assets Symbolic link
View File

@@ -0,0 +1 @@
../../jni/Blitz/assets/

View File

@@ -273,6 +273,7 @@ public class HIDDeviceManager {
final int XB1_IFACE_SUBCLASS = 71;
final int XB1_IFACE_PROTOCOL = 208;
final int[] SUPPORTED_VENDORS = {
0x03f0, // HP
0x044f, // Thrustmaster
0x045e, // Microsoft
0x0738, // Mad Catz

View File

@@ -61,7 +61,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
private static final String TAG = "SDL";
private static final int SDL_MAJOR_VERSION = 2;
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
//

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,3 +1,3 @@
<resources>
<string name="app_name">Game</string>
<string name="app_name">Blitz</string>
</resources>