diff --git a/R6S/.gitignore b/R6S/.gitignore new file mode 100644 index 0000000..c6cbe56 --- /dev/null +++ b/R6S/.gitignore @@ -0,0 +1,8 @@ +*.iml +.gradle +/local.properties +/.idea/workspace.xml +/.idea/libraries +.DS_Store +/build +/captures diff --git a/R6S/.idea/.name b/R6S/.idea/.name new file mode 100644 index 0000000..493759c --- /dev/null +++ b/R6S/.idea/.name @@ -0,0 +1 @@ +R6S \ No newline at end of file diff --git a/R6S/.idea/compiler.xml b/R6S/.idea/compiler.xml new file mode 100644 index 0000000..96cc43e --- /dev/null +++ b/R6S/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/R6S/.idea/copyright/profiles_settings.xml b/R6S/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/R6S/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/R6S/.idea/encodings.xml b/R6S/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/R6S/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/R6S/.idea/gradle.xml b/R6S/.idea/gradle.xml new file mode 100644 index 0000000..cd2ead8 --- /dev/null +++ b/R6S/.idea/gradle.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/R6S/.idea/inspectionProfiles/Project_Default.xml b/R6S/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..9c62d0c --- /dev/null +++ b/R6S/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/R6S/.idea/inspectionProfiles/profiles_settings.xml b/R6S/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..3b31283 --- /dev/null +++ b/R6S/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/R6S/.idea/misc.xml b/R6S/.idea/misc.xml new file mode 100644 index 0000000..fbb6828 --- /dev/null +++ b/R6S/.idea/misc.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/R6S/.idea/modules.xml b/R6S/.idea/modules.xml new file mode 100644 index 0000000..36f38cd --- /dev/null +++ b/R6S/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/R6S/.idea/runConfigurations.xml b/R6S/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/R6S/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/R6S/app/.gitignore b/R6S/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/R6S/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/R6S/app/app-release.apk b/R6S/app/app-release.apk new file mode 100644 index 0000000..2e9759f Binary files /dev/null and b/R6S/app/app-release.apk differ diff --git a/R6S/app/build.gradle b/R6S/app/build.gradle new file mode 100644 index 0000000..4ff4320 --- /dev/null +++ b/R6S/app/build.gradle @@ -0,0 +1,28 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 23 + buildToolsVersion "24.0.1" + + defaultConfig { + applicationId "io.nicco.r6s" + minSdkVersion 19 + targetSdkVersion 23 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + testCompile 'junit:junit:4.12' + compile 'com.android.support:appcompat-v7:23.4.0' + compile 'com.android.support:design:23.4.0' + compile 'com.android.support:support-v4:23.4.0' +} diff --git a/R6S/app/proguard-rules.pro b/R6S/app/proguard-rules.pro new file mode 100644 index 0000000..1947bf8 --- /dev/null +++ b/R6S/app/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /Users/Nicco/Library/Android/sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/R6S/app/src/androidTest/java/io/nicco/r6s/ApplicationTest.java b/R6S/app/src/androidTest/java/io/nicco/r6s/ApplicationTest.java new file mode 100644 index 0000000..9efef36 --- /dev/null +++ b/R6S/app/src/androidTest/java/io/nicco/r6s/ApplicationTest.java @@ -0,0 +1,13 @@ +package io.nicco.r6s; + +import android.app.Application; +import android.test.ApplicationTestCase; + +/** + * Testing Fundamentals + */ +public class ApplicationTest extends ApplicationTestCase { + public ApplicationTest() { + super(Application.class); + } +} \ No newline at end of file diff --git a/R6S/app/src/main/AndroidManifest.xml b/R6S/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..a96e782 --- /dev/null +++ b/R6S/app/src/main/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/R6S/app/src/main/assets/Maps/Bank/0.jpg b/R6S/app/src/main/assets/Maps/Bank/0.jpg new file mode 100644 index 0000000..f2a3c0b Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Bank/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Bank/1.jpg b/R6S/app/src/main/assets/Maps/Bank/1.jpg new file mode 100644 index 0000000..c02f78c Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Bank/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Bank/2.jpg b/R6S/app/src/main/assets/Maps/Bank/2.jpg new file mode 100644 index 0000000..68d8d64 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Bank/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Bank/3.jpg b/R6S/app/src/main/assets/Maps/Bank/3.jpg new file mode 100644 index 0000000..ff4b0bf Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Bank/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Border/0.jpg b/R6S/app/src/main/assets/Maps/Border/0.jpg new file mode 100644 index 0000000..836c049 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Border/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Border/1.jpg b/R6S/app/src/main/assets/Maps/Border/1.jpg new file mode 100644 index 0000000..6175299 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Border/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Border/2.jpg b/R6S/app/src/main/assets/Maps/Border/2.jpg new file mode 100644 index 0000000..2e783b9 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Border/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Chalet/0.jpg b/R6S/app/src/main/assets/Maps/Chalet/0.jpg new file mode 100644 index 0000000..a0b62ad Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Chalet/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Chalet/1.jpg b/R6S/app/src/main/assets/Maps/Chalet/1.jpg new file mode 100644 index 0000000..4c9f538 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Chalet/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Chalet/2.jpg b/R6S/app/src/main/assets/Maps/Chalet/2.jpg new file mode 100644 index 0000000..e39ab58 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Chalet/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Chalet/3.jpg b/R6S/app/src/main/assets/Maps/Chalet/3.jpg new file mode 100644 index 0000000..14331b3 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Chalet/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Club House/0.jpg b/R6S/app/src/main/assets/Maps/Club House/0.jpg new file mode 100644 index 0000000..26a70a1 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Club House/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Club House/1.jpg b/R6S/app/src/main/assets/Maps/Club House/1.jpg new file mode 100644 index 0000000..b080155 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Club House/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Club House/2.jpg b/R6S/app/src/main/assets/Maps/Club House/2.jpg new file mode 100644 index 0000000..8a33f31 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Club House/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Club House/3.jpg b/R6S/app/src/main/assets/Maps/Club House/3.jpg new file mode 100644 index 0000000..fcad614 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Club House/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Consulate/0.jpg b/R6S/app/src/main/assets/Maps/Consulate/0.jpg new file mode 100644 index 0000000..b39f4a2 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Consulate/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Consulate/1.jpg b/R6S/app/src/main/assets/Maps/Consulate/1.jpg new file mode 100644 index 0000000..3b8eb2e Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Consulate/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Consulate/2.jpg b/R6S/app/src/main/assets/Maps/Consulate/2.jpg new file mode 100644 index 0000000..401fc0d Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Consulate/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Consulate/3.jpg b/R6S/app/src/main/assets/Maps/Consulate/3.jpg new file mode 100644 index 0000000..adbf7b0 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Consulate/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Hereford Base/0.jpg b/R6S/app/src/main/assets/Maps/Hereford Base/0.jpg new file mode 100644 index 0000000..0ec1037 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Hereford Base/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Hereford Base/1.jpg b/R6S/app/src/main/assets/Maps/Hereford Base/1.jpg new file mode 100644 index 0000000..7bc2a92 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Hereford Base/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Hereford Base/2.jpg b/R6S/app/src/main/assets/Maps/Hereford Base/2.jpg new file mode 100644 index 0000000..2ee1608 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Hereford Base/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Hereford Base/3.jpg b/R6S/app/src/main/assets/Maps/Hereford Base/3.jpg new file mode 100644 index 0000000..e6f3e24 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Hereford Base/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Hereford Base/4.jpg b/R6S/app/src/main/assets/Maps/Hereford Base/4.jpg new file mode 100644 index 0000000..9bbfc82 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Hereford Base/4.jpg differ diff --git a/R6S/app/src/main/assets/Maps/House/0.jpg b/R6S/app/src/main/assets/Maps/House/0.jpg new file mode 100644 index 0000000..b9d1fda Binary files /dev/null and b/R6S/app/src/main/assets/Maps/House/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/House/1.jpg b/R6S/app/src/main/assets/Maps/House/1.jpg new file mode 100644 index 0000000..added60 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/House/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/House/2.jpg b/R6S/app/src/main/assets/Maps/House/2.jpg new file mode 100644 index 0000000..8e6e463 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/House/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/House/3.jpg b/R6S/app/src/main/assets/Maps/House/3.jpg new file mode 100644 index 0000000..366480f Binary files /dev/null and b/R6S/app/src/main/assets/Maps/House/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/0.jpg b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/0.jpg new file mode 100644 index 0000000..7db673a Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/1.jpg b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/1.jpg new file mode 100644 index 0000000..129ab56 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/2.jpg b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/2.jpg new file mode 100644 index 0000000..6b7e446 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/3.jpg b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/3.jpg new file mode 100644 index 0000000..0c4b1b3 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kafe Dostoyevsky/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kanal/0.jpg b/R6S/app/src/main/assets/Maps/Kanal/0.jpg new file mode 100644 index 0000000..f53fe8b Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kanal/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kanal/1.jpg b/R6S/app/src/main/assets/Maps/Kanal/1.jpg new file mode 100644 index 0000000..9960a32 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kanal/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kanal/2.jpg b/R6S/app/src/main/assets/Maps/Kanal/2.jpg new file mode 100644 index 0000000..6b14d34 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kanal/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Kanal/3.jpg b/R6S/app/src/main/assets/Maps/Kanal/3.jpg new file mode 100644 index 0000000..c3a489b Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Kanal/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Oregon/0.jpg b/R6S/app/src/main/assets/Maps/Oregon/0.jpg new file mode 100644 index 0000000..4d3447b Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Oregon/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Oregon/1.jpg b/R6S/app/src/main/assets/Maps/Oregon/1.jpg new file mode 100644 index 0000000..d49d519 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Oregon/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Oregon/2.jpg b/R6S/app/src/main/assets/Maps/Oregon/2.jpg new file mode 100644 index 0000000..a458cf4 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Oregon/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Oregon/3.jpg b/R6S/app/src/main/assets/Maps/Oregon/3.jpg new file mode 100644 index 0000000..2d4c7b8 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Oregon/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Presidential Plane/0.jpg b/R6S/app/src/main/assets/Maps/Presidential Plane/0.jpg new file mode 100644 index 0000000..bc5bc3e Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Presidential Plane/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Presidential Plane/1.jpg b/R6S/app/src/main/assets/Maps/Presidential Plane/1.jpg new file mode 100644 index 0000000..05aebb3 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Presidential Plane/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Presidential Plane/2.jpg b/R6S/app/src/main/assets/Maps/Presidential Plane/2.jpg new file mode 100644 index 0000000..9edb046 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Presidential Plane/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Presidential Plane/3.jpg b/R6S/app/src/main/assets/Maps/Presidential Plane/3.jpg new file mode 100644 index 0000000..438269b Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Presidential Plane/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Yacht/0.jpg b/R6S/app/src/main/assets/Maps/Yacht/0.jpg new file mode 100644 index 0000000..e81960d Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Yacht/0.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Yacht/1.jpg b/R6S/app/src/main/assets/Maps/Yacht/1.jpg new file mode 100644 index 0000000..39d25b5 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Yacht/1.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Yacht/2.jpg b/R6S/app/src/main/assets/Maps/Yacht/2.jpg new file mode 100644 index 0000000..a3687c7 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Yacht/2.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Yacht/3.jpg b/R6S/app/src/main/assets/Maps/Yacht/3.jpg new file mode 100644 index 0000000..087097a Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Yacht/3.jpg differ diff --git a/R6S/app/src/main/assets/Maps/Yacht/4.jpg b/R6S/app/src/main/assets/Maps/Yacht/4.jpg new file mode 100644 index 0000000..d244568 Binary files /dev/null and b/R6S/app/src/main/assets/Maps/Yacht/4.jpg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Ash.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Ash.jpeg new file mode 100644 index 0000000..7184f5c Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Ash.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Ash.png b/R6S/app/src/main/assets/Operators/Attacker/Ash.png new file mode 100644 index 0000000..c29de7b Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Ash.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Blitz.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Blitz.jpeg new file mode 100644 index 0000000..831aa02 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Blitz.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Blitz.png b/R6S/app/src/main/assets/Operators/Attacker/Blitz.png new file mode 100644 index 0000000..893c87b Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Blitz.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Buck.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Buck.jpeg new file mode 100644 index 0000000..4382649 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Buck.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Buck.png b/R6S/app/src/main/assets/Operators/Attacker/Buck.png new file mode 100644 index 0000000..5604f5f Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Buck.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Fuze.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Fuze.jpeg new file mode 100644 index 0000000..42e96e1 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Fuze.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Fuze.png b/R6S/app/src/main/assets/Operators/Attacker/Fuze.png new file mode 100644 index 0000000..73f16e9 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Fuze.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Glaz.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Glaz.jpeg new file mode 100644 index 0000000..77f488e Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Glaz.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Glaz.png b/R6S/app/src/main/assets/Operators/Attacker/Glaz.png new file mode 100644 index 0000000..ffc6098 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Glaz.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/IQ.jpeg b/R6S/app/src/main/assets/Operators/Attacker/IQ.jpeg new file mode 100644 index 0000000..bd64588 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/IQ.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/IQ.png b/R6S/app/src/main/assets/Operators/Attacker/IQ.png new file mode 100644 index 0000000..d3677b4 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/IQ.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Montagne.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Montagne.jpeg new file mode 100644 index 0000000..6681689 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Montagne.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Montagne.png b/R6S/app/src/main/assets/Operators/Attacker/Montagne.png new file mode 100644 index 0000000..76dcfa0 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Montagne.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Recruit.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Recruit.jpeg new file mode 100644 index 0000000..a736c1e Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Recruit.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Recruit.png b/R6S/app/src/main/assets/Operators/Attacker/Recruit.png new file mode 100644 index 0000000..b170c7e Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Recruit.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Sledge.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Sledge.jpeg new file mode 100644 index 0000000..3172dc4 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Sledge.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Sledge.png b/R6S/app/src/main/assets/Operators/Attacker/Sledge.png new file mode 100644 index 0000000..8d0b576 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Sledge.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Thatcher.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Thatcher.jpeg new file mode 100644 index 0000000..0424ee5 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Thatcher.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Thatcher.png b/R6S/app/src/main/assets/Operators/Attacker/Thatcher.png new file mode 100644 index 0000000..9b73a66 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Thatcher.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Thermite.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Thermite.jpeg new file mode 100644 index 0000000..0c8bc81 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Thermite.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Thermite.png b/R6S/app/src/main/assets/Operators/Attacker/Thermite.png new file mode 100644 index 0000000..787c348 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Thermite.png differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Twitch.jpeg b/R6S/app/src/main/assets/Operators/Attacker/Twitch.jpeg new file mode 100644 index 0000000..2d94922 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Twitch.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Attacker/Twitch.png b/R6S/app/src/main/assets/Operators/Attacker/Twitch.png new file mode 100644 index 0000000..87f321d Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Attacker/Twitch.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Bandit.jpeg b/R6S/app/src/main/assets/Operators/Defender/Bandit.jpeg new file mode 100644 index 0000000..636f0f7 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Bandit.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Bandit.png b/R6S/app/src/main/assets/Operators/Defender/Bandit.png new file mode 100644 index 0000000..251a283 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Bandit.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Castle.jpeg b/R6S/app/src/main/assets/Operators/Defender/Castle.jpeg new file mode 100644 index 0000000..aea03ab Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Castle.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Castle.png b/R6S/app/src/main/assets/Operators/Defender/Castle.png new file mode 100644 index 0000000..095d802 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Castle.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Doc.jpeg b/R6S/app/src/main/assets/Operators/Defender/Doc.jpeg new file mode 100644 index 0000000..4363668 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Doc.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Doc.png b/R6S/app/src/main/assets/Operators/Defender/Doc.png new file mode 100644 index 0000000..14bea80 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Doc.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Frost.jpeg b/R6S/app/src/main/assets/Operators/Defender/Frost.jpeg new file mode 100644 index 0000000..97fab53 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Frost.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Frost.png b/R6S/app/src/main/assets/Operators/Defender/Frost.png new file mode 100644 index 0000000..250639a Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Frost.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Jager.jpeg b/R6S/app/src/main/assets/Operators/Defender/Jager.jpeg new file mode 100644 index 0000000..92e8f51 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Jager.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Jager.png b/R6S/app/src/main/assets/Operators/Defender/Jager.png new file mode 100644 index 0000000..0e718b2 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Jager.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Kapkan.jpeg b/R6S/app/src/main/assets/Operators/Defender/Kapkan.jpeg new file mode 100644 index 0000000..c4a1624 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Kapkan.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Kapkan.png b/R6S/app/src/main/assets/Operators/Defender/Kapkan.png new file mode 100644 index 0000000..9e6579e Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Kapkan.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Mute.jpeg b/R6S/app/src/main/assets/Operators/Defender/Mute.jpeg new file mode 100644 index 0000000..1e5b6c1 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Mute.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Mute.png b/R6S/app/src/main/assets/Operators/Defender/Mute.png new file mode 100644 index 0000000..74ef306 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Mute.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Pulse.jpeg b/R6S/app/src/main/assets/Operators/Defender/Pulse.jpeg new file mode 100644 index 0000000..8c3fa2a Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Pulse.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Pulse.png b/R6S/app/src/main/assets/Operators/Defender/Pulse.png new file mode 100644 index 0000000..3e70672 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Pulse.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Recruit.jpeg b/R6S/app/src/main/assets/Operators/Defender/Recruit.jpeg new file mode 100644 index 0000000..a61a4cb Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Recruit.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Recruit.png b/R6S/app/src/main/assets/Operators/Defender/Recruit.png new file mode 100644 index 0000000..b170c7e Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Recruit.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Rook.jpeg b/R6S/app/src/main/assets/Operators/Defender/Rook.jpeg new file mode 100644 index 0000000..1286fcb Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Rook.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Rook.png b/R6S/app/src/main/assets/Operators/Defender/Rook.png new file mode 100644 index 0000000..29e25c4 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Rook.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Smoke.jpeg b/R6S/app/src/main/assets/Operators/Defender/Smoke.jpeg new file mode 100644 index 0000000..d22af18 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Smoke.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Smoke.png b/R6S/app/src/main/assets/Operators/Defender/Smoke.png new file mode 100644 index 0000000..fe9d954 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Smoke.png differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Tachanka.jpeg b/R6S/app/src/main/assets/Operators/Defender/Tachanka.jpeg new file mode 100644 index 0000000..d432a04 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Tachanka.jpeg differ diff --git a/R6S/app/src/main/assets/Operators/Defender/Tachanka.png b/R6S/app/src/main/assets/Operators/Defender/Tachanka.png new file mode 100644 index 0000000..0300d02 Binary files /dev/null and b/R6S/app/src/main/assets/Operators/Defender/Tachanka.png differ diff --git a/R6S/app/src/main/assets/R6S.sqlite b/R6S/app/src/main/assets/R6S.sqlite new file mode 100644 index 0000000..eda35ee Binary files /dev/null and b/R6S/app/src/main/assets/R6S.sqlite differ diff --git a/R6S/app/src/main/ic_launcher-web.png b/R6S/app/src/main/ic_launcher-web.png new file mode 100644 index 0000000..44ad3b0 Binary files /dev/null and b/R6S/app/src/main/ic_launcher-web.png differ diff --git a/R6S/app/src/main/java/io/nicco/r6s/OpsListAdapter.java b/R6S/app/src/main/java/io/nicco/r6s/OpsListAdapter.java new file mode 100644 index 0000000..c9ab01e --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/OpsListAdapter.java @@ -0,0 +1,79 @@ +package io.nicco.r6s; + +import android.app.Fragment; +import android.content.Context; +import android.graphics.drawable.Drawable; +import android.os.Bundle; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.TextView; + +import java.io.IOException; +import java.io.InputStream; +import java.util.List; + +public class OpsListAdapter extends RecyclerView.Adapter { + + public static class ViewHolder extends RecyclerView.ViewHolder { + + public TextView txt_n; + public TextView txt_f; + public ImageView txt_i; + public LinearLayout l; + + public ViewHolder(View itemView) { + super(itemView); + + txt_n = (TextView) itemView.findViewById(R.id.ops_li_name); + txt_f = (TextView) itemView.findViewById(R.id.ops_li_faction); + txt_i = (ImageView) itemView.findViewById(R.id.ops_li_img); + l = (LinearLayout) itemView.findViewById(R.id.ops_list_item); + } + } + + private List data; + + public OpsListAdapter(List d) { + data = d; + } + + @Override + public OpsListAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { + Context context = parent.getContext(); + LayoutInflater inflater = LayoutInflater.from(context); + View contactView = inflater.inflate(R.layout.ops_list_item, parent, false); + ViewHolder viewHolder = new ViewHolder(contactView); + return viewHolder; + } + + @Override + public void onBindViewHolder(OpsListAdapter.ViewHolder viewHolder, final int position) { + viewHolder.txt_n.setText(data.get(position).n); + viewHolder.txt_f.setText(data.get(position).f); + try { + InputStream ims = home.root().getAssets().open(data.get(position).i); + viewHolder.txt_i.setImageDrawable(Drawable.createFromStream(ims, null)); + } catch (IOException e) { + e.printStackTrace(); + } + + viewHolder.l.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + Bundle b = new Bundle(); + b.putInt("id", data.get(position).id); + Fragment f = new op_view(); + f.setArguments(b); + home.ChangeFragment(f); + } + }); + } + + @Override + public int getItemCount() { + return data.size(); + } +} \ No newline at end of file diff --git a/R6S/app/src/main/java/io/nicco/r6s/OpsListItem.java b/R6S/app/src/main/java/io/nicco/r6s/OpsListItem.java new file mode 100644 index 0000000..86112bb --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/OpsListItem.java @@ -0,0 +1,15 @@ +package io.nicco.r6s; + +public class OpsListItem { + public String n; + public String f; + public String i; + public int id; + + public OpsListItem(String N, String F, String I, int ID) { + this.n = N; + this.f = F; + this.i = I; + this.id = ID; + } +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/WeaponListItem.java b/R6S/app/src/main/java/io/nicco/r6s/WeaponListItem.java new file mode 100644 index 0000000..e59bb2a --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/WeaponListItem.java @@ -0,0 +1,13 @@ +package io.nicco.r6s; + +public class WeaponListItem { + public String l; + public String r; + public int id; + + public WeaponListItem(String L, String R, int ID) { + this.l = L; + this.r = R; + this.id = ID; + } +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/WeaponsListAdapter.java b/R6S/app/src/main/java/io/nicco/r6s/WeaponsListAdapter.java new file mode 100644 index 0000000..b476874 --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/WeaponsListAdapter.java @@ -0,0 +1,66 @@ +package io.nicco.r6s; + +import android.app.Fragment; +import android.content.Context; +import android.os.Bundle; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.LinearLayout; +import android.widget.TextView; + +import java.util.List; + +public class WeaponsListAdapter extends RecyclerView.Adapter { + + public static class ViewHolder extends RecyclerView.ViewHolder { + + public TextView txt_l; + public TextView txt_r; + public LinearLayout l; + + public ViewHolder(View itemView) { + super(itemView); + + txt_l = (TextView) itemView.findViewById(R.id.weapons_li_l); + txt_r = (TextView) itemView.findViewById(R.id.weapons_li_r); + l = (LinearLayout) itemView.findViewById(R.id.weapons_list_item); + } + } + + private List data; + + public WeaponsListAdapter(List d) { + data = d; + } + + @Override + public WeaponsListAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { + Context context = parent.getContext(); + LayoutInflater inflater = LayoutInflater.from(context); + View contactView = inflater.inflate(R.layout.weapons_list_item, parent, false); + ViewHolder viewHolder = new ViewHolder(contactView); + return viewHolder; + } + + @Override + public void onBindViewHolder(WeaponsListAdapter.ViewHolder viewHolder, final int position) { + viewHolder.txt_l.setText(data.get(position).l); + viewHolder.txt_r.setText(data.get(position).r); + viewHolder.l.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + Bundle b = new Bundle(); + b.putInt("id", data.get(position).id); + Fragment f = new weapon_view(); + f.setArguments(b); + home.ChangeFragment(f); + } + }); + } + + @Override + public int getItemCount() { + return data.size(); + } +} \ No newline at end of file diff --git a/R6S/app/src/main/java/io/nicco/r6s/home.java b/R6S/app/src/main/java/io/nicco/r6s/home.java new file mode 100644 index 0000000..01f5f6c --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/home.java @@ -0,0 +1,172 @@ +package io.nicco.r6s; + +import android.app.Activity; +import android.app.Fragment; +import android.app.FragmentManager; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.support.design.widget.NavigationView; +import android.support.v4.view.GravityCompat; +import android.support.v4.widget.DrawerLayout; +import android.support.v7.app.ActionBarDrawerToggle; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.Toolbar; +import android.view.Menu; +import android.view.MenuItem; +import android.view.View; +import android.widget.TextView; + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; + +public class home extends AppCompatActivity + implements NavigationView.OnNavigationItemSelectedListener { + + private DrawerLayout drawer; + private Fragment curFrag = null; + private static Activity c; + private static String DB_PATH; + private static String DB_NAME; + private final String DB_URL = "https://raw.githubusercontent.com/CupCakeArmy/static/master/R6S/R6S.sqlite"; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_home); + Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); + setSupportActionBar(toolbar); + + c = this; + + drawer = (DrawerLayout) findViewById(R.id.drawer_layout); + ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( + this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); + drawer.addDrawerListener(toggle); + toggle.syncState(); + + NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); + navigationView.setNavigationItemSelectedListener(this); + + ChangeFragment(new ops_view()); + setTitle("Operators"); + + ((TextView) findViewById(R.id.home_op)).setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + ChangeFragment(new ops_view()); + setTitle("Operators"); + } + }); + + ((TextView) findViewById(R.id.home_weapons)).setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + ChangeFragment(new weapons_view()); + setTitle("Operators"); + } + }); + + ((TextView) findViewById(R.id.home_rand)).setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + ChangeFragment(new random_view()); + setTitle("Operators"); + } + }); + + // Save DB from assets to storage + DB_PATH = getFilesDir().getAbsolutePath() + "/databases/"; + DB_NAME = "R6S.sqlite"; + byte[] buffer = new byte[1024]; + int length; + OutputStream myOutput = null; + InputStream myInput = null; + try { + File file = new File(DB_PATH + DB_NAME); + if (file.exists()) + return; + new File(DB_PATH).mkdirs(); + myInput = getAssets().open(DB_NAME); + myOutput = new FileOutputStream(DB_PATH + DB_NAME); + while ((length = myInput.read(buffer)) > 0) { + myOutput.write(buffer, 0, length); + } + myOutput.close(); + myOutput.flush(); + myInput.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + + @Override + public void onBackPressed() { + if (drawer.isDrawerOpen(GravityCompat.START)) { + drawer.closeDrawer(GravityCompat.START); + } else { + if (getFragmentManager().getBackStackEntryCount() == 0) { + this.finish(); + } else { + getFragmentManager().popBackStack(); + } + } + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + getMenuInflater().inflate(R.menu.home, menu); + return true; + } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + int id = item.getItemId(); + if (id == R.id.action_settings) { + return true; + } + return super.onOptionsItemSelected(item); + } + + @SuppressWarnings("StatementWithEmptyBody") + @Override + public boolean onNavigationItemSelected(MenuItem item) { + int id = item.getItemId(); + String title = ""; + + if (id == R.id.nav_weapon) { + title = "Weapons"; + curFrag = new weapons_view(); + } else if (id == R.id.nav_op) { + title = "Operators"; + curFrag = new ops_view(); + } else if (id == R.id.nav_maps) { + title = "Maps"; + curFrag = new maps_view(); + } else if (id == R.id.nav_gen) { + title = "Generator"; + curFrag = new random_view(); + } + + setTitle(title); + c.getFragmentManager().popBackStack(null, FragmentManager.POP_BACK_STACK_INCLUSIVE); + ChangeFragment(curFrag); + + drawer.closeDrawer(GravityCompat.START); + return true; + } + + public static void ChangeFragment(Fragment f) { + c.getFragmentManager().beginTransaction().addToBackStack(null).replace(R.id.main_cont, f).commit(); + } + + public static SQLiteDatabase mkdb() { + return SQLiteDatabase.openDatabase(DB_PATH + DB_NAME, null, 0); + } + + public static Activity root() { + return c; + } +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/maps_view.java b/R6S/app/src/main/java/io/nicco/r6s/maps_view.java new file mode 100644 index 0000000..07076bb --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/maps_view.java @@ -0,0 +1,119 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.content.Context; +import android.graphics.drawable.Drawable; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.AdapterView; +import android.widget.ArrayAdapter; +import android.widget.Button; +import android.widget.ImageView; +import android.widget.Spinner; +import android.widget.TextView; + +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; + +public class maps_view extends Fragment { + + + public maps_view() { + } + + private Context root = null; + private Spinner maps_sel; + private TextView cur_floor_txt; + private Button btn_l; + private Button btn_r; + private ImageView img; + + private final String path = "Maps"; + private int cur_floor = 0; + private String cur_map; + private String[] maps = null; + + private void setImg() { + InputStream ims; + try { + ims = root.getAssets().open(path + "/" + cur_map + "/" + String.valueOf(cur_floor) + ".jpg"); + Drawable d = Drawable.createFromStream(ims, null); + img.setImageDrawable(d); + cur_floor_txt.setText(String.valueOf(cur_floor)); + } catch (IOException e) { + e.printStackTrace(); + } + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + + View view = inflater.inflate(R.layout.fragment_maps_view, container, false); + + root = getActivity(); + maps_sel = (Spinner) view.findViewById(R.id.maps_spinner); + cur_floor_txt = (TextView) view.findViewById(R.id.maps_cur_floor); + btn_l = (Button) view.findViewById(R.id.maps_btn_l); + btn_r = (Button) view.findViewById(R.id.maps_btn_r); + img = (ImageView) view.findViewById(R.id.maps_img); + + List maps_sel_cont = new ArrayList<>(); + + try { + maps = root.getAssets().list(path); + } catch (Exception e) { + } + + for (String map : maps) { + maps_sel_cont.add(map); + } + + ArrayAdapter adapter = new ArrayAdapter<>(root, android.R.layout.simple_spinner_dropdown_item, maps_sel_cont); + maps_sel.setAdapter(adapter); + + maps_sel.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { + @Override + public void onItemSelected(AdapterView parentView, View selectedItemView, int position, long id) { + cur_map = maps[position]; + setImg(); + } + + @Override + public void onNothingSelected(AdapterView parentView) { + } + }); + + btn_l.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + try { + root.getAssets().open(path + '/' + cur_map + "/" + String.valueOf(cur_floor - 1) + ".jpg"); + cur_floor--; + setImg(); + } catch (IOException e) { + e.printStackTrace(); + } + } + }); + btn_r.setOnClickListener(new View.OnClickListener() { + public void onClick(View v) { + try { + root.getAssets().open(path + '/' + cur_map + "/" + String.valueOf(cur_floor + 1) + ".jpg"); + cur_floor++; + setImg(); + } catch (IOException e) { + e.printStackTrace(); + } + } + }); + + return view; + } + +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/op_view.java b/R6S/app/src/main/java/io/nicco/r6s/op_view.java new file mode 100644 index 0000000..6f30544 --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/op_view.java @@ -0,0 +1,125 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.graphics.drawable.Drawable; +import android.os.Build; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.TextView; + +import java.io.IOException; +import java.io.InputStream; +import java.util.HashMap; +import java.util.Map; + +public class op_view extends Fragment { + + + public op_view() { + } + + private LinearLayout mkItem(String s) { + LinearLayout frame = new LinearLayout(home.root()); + TextView tmp = new TextView(home.root()); + + LinearLayout.LayoutParams fp = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1); + fp.setMargins(8, 8, 8, 8); + frame.setLayoutParams(fp); + frame.setOrientation(LinearLayout.HORIZONTAL); + + LinearLayout.LayoutParams tmpp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); + + tmp.setText(s); + tmp.setLayoutParams(tmpp); + tmp.setPadding(16, 16, 16, 16); + tmp.setTextAlignment(View.TEXT_ALIGNMENT_CENTER); + tmp.setBackgroundResource(R.drawable.weapon_selector); + if (Build.VERSION.SDK_INT < 23) { + tmp.setTextAppearance(home.root(), android.R.style.TextAppearance_Medium); + } else { + tmp.setTextAppearance(android.R.style.TextAppearance_DeviceDefault_Medium); + } + tmp.setTextColor(0xffffffff); + frame.addView(tmp); + return frame; + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + View v = inflater.inflate(R.layout.fragment_op_view, container, false); + + //Get Operator Info + Bundle b = this.getArguments(); + SQLiteDatabase db = home.mkdb(); + Cursor c = db.rawQuery("SELECT * FROM operators WHERE id=" + b.getInt("id"), null); + c.moveToFirst(); + + // Map Of Text Views + Map txts = new HashMap(); + txts.put("name", (TextView) v.findViewById(R.id.op_name)); + txts.put("faction", (TextView) v.findViewById(R.id.op_faction)); + txts.put("armor", (TextView) v.findViewById(R.id.op_armor)); + txts.put("speed", (TextView) v.findViewById(R.id.op_speed)); + txts.put("type", (TextView) v.findViewById(R.id.op_type)); + txts.put("ability", (TextView) v.findViewById(R.id.op_ability)); + + txts.get("name").setText(c.getString(c.getColumnIndex("name"))); + txts.get("faction").setText(c.getString(c.getColumnIndex("faction"))); + txts.get("armor").setText(c.getString(c.getColumnIndex("armor"))); + txts.get("speed").setText(c.getString(c.getColumnIndex("speed"))); + txts.get("type").setText(c.getString(c.getColumnIndex("type"))); + txts.get("ability").setText(c.getString(c.getColumnIndex("ability"))); + + // Set Weapons + Cursor w = db.rawQuery("SELECT * FROM weapons WHERE id IN (" + c.getString(c.getColumnIndex("wid")) + ")", null); + LinearLayout primary = (LinearLayout) v.findViewById(R.id.op_p_w); + LinearLayout secondary = (LinearLayout) v.findViewById(R.id.op_s_w); + while (w.moveToNext()) { + final int cur_id = w.getInt(w.getColumnIndex("id")); + LinearLayout tmp = mkItem(w.getString(w.getColumnIndex("name"))); + tmp.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Bundle b = new Bundle(); + b.putInt("id", cur_id); + Fragment f = new weapon_view(); + f.setArguments(b); + home.ChangeFragment(f); + } + }); + if (w.getString(w.getColumnIndex("class")).equals("Secondary")) { + secondary.addView(tmp); + } else { + primary.addView(tmp); + } + } + + // Set Gadgets + Cursor g = db.rawQuery("SELECT * FROM gadget WHERE id IN (" + c.getString(c.getColumnIndex("gadget")) + ")", null); + LinearLayout gl = (LinearLayout) v.findViewById(R.id.op_g); + while (g.moveToNext()) { + gl.addView(mkItem(g.getString(g.getColumnIndex("name")))); + } + + //Setting Images + try { + InputStream ims = home.root().getAssets().open("Operators/" + c.getString(c.getColumnIndex("type")) + "/" + c.getString(c.getColumnIndex("name")) + ".png"); + ((ImageView) v.findViewById(R.id.op_img)).setImageDrawable(Drawable.createFromStream(ims, null)); + } catch (IOException e) { + e.printStackTrace(); + } + + db.close(); + + return v; + } + +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/ops_view.java b/R6S/app/src/main/java/io/nicco/r6s/ops_view.java new file mode 100644 index 0000000..6ebbe99 --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/ops_view.java @@ -0,0 +1,65 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.support.v7.widget.LinearLayoutManager; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import java.util.ArrayList; +import java.util.List; + +public class ops_view extends Fragment { + + public ops_view() { + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + + View v = inflater.inflate(R.layout.fragment_ops_view, container, false); + RecyclerView op_a_list = (RecyclerView) v.findViewById(R.id.ops_list_a); + RecyclerView op_d_list = (RecyclerView) v.findViewById(R.id.ops_list_d); + List data_a = new ArrayList<>(); + List data_d = new ArrayList<>(); + + // Get DB List + SQLiteDatabase db = home.mkdb(); + Cursor op_a = db.rawQuery("SELECT * FROM operators WHERE type='Attacker' ORDER BY id ASC", null); + Cursor op_d = db.rawQuery("SELECT * FROM operators WHERE type='Defender' ORDER BY id ASC", null); + try { + while (op_a.moveToNext()) { + data_a.add(new OpsListItem( + op_a.getString(op_a.getColumnIndex("name")), + op_a.getString(op_a.getColumnIndex("faction")), + "Operators/" + op_a.getString(op_a.getColumnIndex("type")) + "/" + op_a.getString(op_a.getColumnIndex("name")) + ".png", + op_a.getInt(op_a.getColumnIndex("id")))); + } + while (op_d.moveToNext()) { + data_d.add(new OpsListItem( + op_d.getString(op_d.getColumnIndex("name")), + op_d.getString(op_d.getColumnIndex("faction")), + "Operators/" + op_d.getString(op_d.getColumnIndex("type")) + "/" + op_d.getString(op_d.getColumnIndex("name")) + ".png", + op_d.getInt(op_d.getColumnIndex("id")))); + } + } finally { + op_a.close(); + op_d.close(); + } + db.close(); + + op_a_list.setAdapter(new OpsListAdapter(data_a)); + op_a_list.setLayoutManager(new LinearLayoutManager(home.root())); + op_d_list.setAdapter(new OpsListAdapter(data_d)); + op_d_list.setLayoutManager(new LinearLayoutManager(home.root())); + + return v; + } + +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/random_view.java b/R6S/app/src/main/java/io/nicco/r6s/random_view.java new file mode 100644 index 0000000..9d53fba --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/random_view.java @@ -0,0 +1,125 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.Button; +import android.widget.TextView; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +public class random_view extends Fragment { + + TextView gen_op; + TextView gen_p; + TextView gen_s; + TextView gen_g; + + public random_view() { + } + + class op { + public String n; + public String t; + public List p = new ArrayList<>(); + public List s = new ArrayList<>(); + public List g = new ArrayList<>(); + + public op(String N, String T, List P, List S, List G) { + n = N; + t = T; + p = P; + s = S; + g = G; + } + } + + void randop(List ops, boolean ad) { + op cur; + String sel = "Defender"; + + if (ad) + sel = "Attacker"; + + do { + cur = ops.get(rand(ops.size())); + } + while (cur.t.equals(sel)); + + gen_op.setText(cur.n); + gen_p.setText(cur.p.get(rand(cur.p.size()))); + gen_s.setText(cur.s.get(rand(cur.s.size()))); + gen_g.setText(cur.g.get(rand(cur.g.size()))); + } + + int rand(int max) { + return new Random().nextInt(max); + } + + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + View v = inflater.inflate(R.layout.fragment_random_view, container, false); + + Button gen_a = (Button) v.findViewById(R.id.rand_a); + Button gen_d = (Button) v.findViewById(R.id.rand_d); + + gen_op = (TextView) v.findViewById(R.id.rand_op); + gen_p = (TextView) v.findViewById(R.id.rand_primary); + gen_s = (TextView) v.findViewById(R.id.rand_secondary); + gen_g = (TextView) v.findViewById(R.id.rand_gadget); + + final List ops = new ArrayList(); + + SQLiteDatabase db = home.mkdb(); + Cursor c = db.rawQuery("SELECT * FROM operators", null); + while (c.moveToNext()) { + List p = new ArrayList<>(); + List s = new ArrayList<>(); + List g = new ArrayList<>(); + for (String weapon : c.getString(c.getColumnIndex("wid")).split(",")) { + Cursor wc = db.rawQuery("SELECT * FROM weapons WHERE id=" + weapon, null); + wc.moveToFirst(); + if (wc.getString(wc.getColumnIndex("class")).equals("Secondary")) + s.add(wc.getString(wc.getColumnIndex("name"))); + else + p.add(wc.getString(wc.getColumnIndex("name"))); + } + for (String weapon : c.getString(c.getColumnIndex("gadget")).split(",")) { + Cursor wc = db.rawQuery("SELECT * FROM gadget WHERE id=" + weapon, null); + wc.moveToFirst(); + g.add(wc.getString(wc.getColumnIndex("name"))); + } + ops.add(new op( + c.getString(c.getColumnIndex("name")), + c.getString(c.getColumnIndex("type")), + p, s, g + )); + } + db.close(); + + gen_a.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + randop(ops, true); + } + }); + + gen_d.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + randop(ops, false); + } + }); + + return v; + } + +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/weapon_view.java b/R6S/app/src/main/java/io/nicco/r6s/weapon_view.java new file mode 100644 index 0000000..9edc382 --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/weapon_view.java @@ -0,0 +1,63 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.TextView; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class weapon_view extends Fragment { + + public weapon_view() { + } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + //Save the view for modification + View v = inflater.inflate(R.layout.fragment_weapon_view, container, false); + + //Get Gun Info + Bundle b = this.getArguments(); + SQLiteDatabase db = home.mkdb(); + Cursor c = db.rawQuery("SELECT * FROM weapons WHERE id=" + b.getInt("id"), null); + c.moveToFirst(); + + // Map Of Text Views + Map txts = new HashMap(); + txts.put("name", (TextView) v.findViewById(R.id.weapon_name)); + txts.put("class", (TextView) v.findViewById(R.id.weapon_class)); + txts.put("dmg_n", (TextView) v.findViewById(R.id.weapon_dmg_n)); + txts.put("dmg_s", (TextView) v.findViewById(R.id.weapon_dmg_s)); + txts.put("rpm", (TextView) v.findViewById(R.id.weapon_rpm)); + txts.put("mob", (TextView) v.findViewById(R.id.weapon_mob)); + txts.put("mag", (TextView) v.findViewById(R.id.weapon_mag)); + txts.put("ops", (TextView) v.findViewById(R.id.weapon_ops)); + + txts.get("name").setText(c.getString(c.getColumnIndex("name"))); + txts.get("class").setText(c.getString(c.getColumnIndex("class"))); + txts.get("dmg_n").setText(c.getString(c.getColumnIndex("dmg_n"))); + txts.get("dmg_s").setText(c.getString(c.getColumnIndex("dmg_s"))); + if (c.getString(c.getColumnIndex("rpm")).equals("0")) + txts.get("rpm").setText("-"); + else + txts.get("rpm").setText(c.getString(c.getColumnIndex("rpm"))); + txts.get("mob").setText(c.getString(c.getColumnIndex("mobility"))); + txts.get("mag").setText(c.getString(c.getColumnIndex("mag"))); + txts.get("ops").setText( + Arrays.toString(c.getString(c.getColumnIndex("op")).split(",")) + ); + + db.close(); + + return v; + } + +} diff --git a/R6S/app/src/main/java/io/nicco/r6s/weapons_view.java b/R6S/app/src/main/java/io/nicco/r6s/weapons_view.java new file mode 100644 index 0000000..f33d06b --- /dev/null +++ b/R6S/app/src/main/java/io/nicco/r6s/weapons_view.java @@ -0,0 +1,49 @@ +package io.nicco.r6s; + + +import android.app.Fragment; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.support.v7.widget.LinearLayoutManager; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import java.util.ArrayList; +import java.util.List; + +public class weapons_view extends Fragment { + + public weapons_view() { + } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + View v = inflater.inflate(R.layout.fragment_weapons_view, container, false); + RecyclerView weapon_list = (RecyclerView) v.findViewById(R.id.weapons_list); + List data = new ArrayList<>(); + + // Get DB List + SQLiteDatabase db = home.mkdb(); + Cursor c = db.rawQuery("SELECT * FROM weapons ORDER BY class ASC, name ASC", null); + try { + while (c.moveToNext()) { + data.add(new WeaponListItem( + c.getString(c.getColumnIndex("name")), + c.getString(c.getColumnIndex("class")), + c.getInt(c.getColumnIndex("id")))); + } + } finally { + c.close(); + } + db.close(); + + weapon_list.setAdapter(new WeaponsListAdapter(data)); + weapon_list.setLayoutManager(new LinearLayoutManager(home.root())); + + return v; + } + +} diff --git a/R6S/app/src/main/res/bg_w.jpg b/R6S/app/src/main/res/bg_w.jpg new file mode 100644 index 0000000..ffffd86 Binary files /dev/null and b/R6S/app/src/main/res/bg_w.jpg differ diff --git a/R6S/app/src/main/res/drawable-hdpi/nav_dice.png b/R6S/app/src/main/res/drawable-hdpi/nav_dice.png new file mode 100644 index 0000000..011bb13 Binary files /dev/null and b/R6S/app/src/main/res/drawable-hdpi/nav_dice.png differ diff --git a/R6S/app/src/main/res/drawable-hdpi/nav_logo.png b/R6S/app/src/main/res/drawable-hdpi/nav_logo.png new file mode 100644 index 0000000..2751eab Binary files /dev/null and b/R6S/app/src/main/res/drawable-hdpi/nav_logo.png differ diff --git a/R6S/app/src/main/res/drawable-hdpi/nav_map.png b/R6S/app/src/main/res/drawable-hdpi/nav_map.png new file mode 100644 index 0000000..ff6eb1c Binary files /dev/null and b/R6S/app/src/main/res/drawable-hdpi/nav_map.png differ diff --git a/R6S/app/src/main/res/drawable-hdpi/nav_pistol.png b/R6S/app/src/main/res/drawable-hdpi/nav_pistol.png new file mode 100644 index 0000000..bd54ae4 Binary files /dev/null and b/R6S/app/src/main/res/drawable-hdpi/nav_pistol.png differ diff --git a/R6S/app/src/main/res/drawable-mdpi/nav_dice.png b/R6S/app/src/main/res/drawable-mdpi/nav_dice.png new file mode 100644 index 0000000..3f8e998 Binary files /dev/null and b/R6S/app/src/main/res/drawable-mdpi/nav_dice.png differ diff --git a/R6S/app/src/main/res/drawable-mdpi/nav_logo.png b/R6S/app/src/main/res/drawable-mdpi/nav_logo.png new file mode 100644 index 0000000..af7e34f Binary files /dev/null and b/R6S/app/src/main/res/drawable-mdpi/nav_logo.png differ diff --git a/R6S/app/src/main/res/drawable-mdpi/nav_map.png b/R6S/app/src/main/res/drawable-mdpi/nav_map.png new file mode 100644 index 0000000..61ce114 Binary files /dev/null and b/R6S/app/src/main/res/drawable-mdpi/nav_map.png differ diff --git a/R6S/app/src/main/res/drawable-mdpi/nav_pistol.png b/R6S/app/src/main/res/drawable-mdpi/nav_pistol.png new file mode 100644 index 0000000..5a5f200 Binary files /dev/null and b/R6S/app/src/main/res/drawable-mdpi/nav_pistol.png differ diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_camera.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_camera.xml new file mode 100644 index 0000000..0d9ea10 --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_camera.xml @@ -0,0 +1,12 @@ + + + + diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_gallery.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_gallery.xml new file mode 100644 index 0000000..f6872c4 --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_gallery.xml @@ -0,0 +1,9 @@ + + + diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_manage.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_manage.xml new file mode 100644 index 0000000..c1be60b --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_manage.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_send.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_send.xml new file mode 100644 index 0000000..00c668c --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_send.xml @@ -0,0 +1,9 @@ + + + diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_share.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_share.xml new file mode 100644 index 0000000..a28fb9e --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_share.xml @@ -0,0 +1,9 @@ + + + diff --git a/R6S/app/src/main/res/drawable-v21/ic_menu_slideshow.xml b/R6S/app/src/main/res/drawable-v21/ic_menu_slideshow.xml new file mode 100644 index 0000000..209aa64 --- /dev/null +++ b/R6S/app/src/main/res/drawable-v21/ic_menu_slideshow.xml @@ -0,0 +1,9 @@ + + + diff --git a/R6S/app/src/main/res/drawable-xhdpi/nav_dice.png b/R6S/app/src/main/res/drawable-xhdpi/nav_dice.png new file mode 100644 index 0000000..9011668 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xhdpi/nav_dice.png differ diff --git a/R6S/app/src/main/res/drawable-xhdpi/nav_logo.png b/R6S/app/src/main/res/drawable-xhdpi/nav_logo.png new file mode 100644 index 0000000..338b718 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xhdpi/nav_logo.png differ diff --git a/R6S/app/src/main/res/drawable-xhdpi/nav_map.png b/R6S/app/src/main/res/drawable-xhdpi/nav_map.png new file mode 100644 index 0000000..7ffe643 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xhdpi/nav_map.png differ diff --git a/R6S/app/src/main/res/drawable-xhdpi/nav_pistol.png b/R6S/app/src/main/res/drawable-xhdpi/nav_pistol.png new file mode 100644 index 0000000..b8de746 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xhdpi/nav_pistol.png differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/bg_w.jpg b/R6S/app/src/main/res/drawable-xxhdpi/bg_w.jpg new file mode 100644 index 0000000..ffffd86 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/bg_w.jpg differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/bg_w_b.jpg b/R6S/app/src/main/res/drawable-xxhdpi/bg_w_b.jpg new file mode 100644 index 0000000..668ce54 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/bg_w_b.jpg differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/nav_bg.png b/R6S/app/src/main/res/drawable-xxhdpi/nav_bg.png new file mode 100644 index 0000000..369375b Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/nav_bg.png differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/nav_dice.png b/R6S/app/src/main/res/drawable-xxhdpi/nav_dice.png new file mode 100644 index 0000000..c45a1f6 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/nav_dice.png differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/nav_logo.png b/R6S/app/src/main/res/drawable-xxhdpi/nav_logo.png new file mode 100644 index 0000000..aef3802 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/nav_logo.png differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/nav_map.png b/R6S/app/src/main/res/drawable-xxhdpi/nav_map.png new file mode 100644 index 0000000..5d110f9 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/nav_map.png differ diff --git a/R6S/app/src/main/res/drawable-xxhdpi/nav_pistol.png b/R6S/app/src/main/res/drawable-xxhdpi/nav_pistol.png new file mode 100644 index 0000000..9faf738 Binary files /dev/null and b/R6S/app/src/main/res/drawable-xxhdpi/nav_pistol.png differ diff --git a/R6S/app/src/main/res/drawable/circle.xml b/R6S/app/src/main/res/drawable/circle.xml new file mode 100644 index 0000000..491acea --- /dev/null +++ b/R6S/app/src/main/res/drawable/circle.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/R6S/app/src/main/res/drawable/line_gradient.xml b/R6S/app/src/main/res/drawable/line_gradient.xml new file mode 100644 index 0000000..ff37b85 --- /dev/null +++ b/R6S/app/src/main/res/drawable/line_gradient.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/R6S/app/src/main/res/drawable/side_nav_bar.xml b/R6S/app/src/main/res/drawable/side_nav_bar.xml new file mode 100644 index 0000000..458b4b0 --- /dev/null +++ b/R6S/app/src/main/res/drawable/side_nav_bar.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/R6S/app/src/main/res/drawable/weapon_selector.xml b/R6S/app/src/main/res/drawable/weapon_selector.xml new file mode 100644 index 0000000..d1ca971 --- /dev/null +++ b/R6S/app/src/main/res/drawable/weapon_selector.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/R6S/app/src/main/res/layout/activity_home.xml b/R6S/app/src/main/res/layout/activity_home.xml new file mode 100644 index 0000000..f8007e4 --- /dev/null +++ b/R6S/app/src/main/res/layout/activity_home.xml @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/R6S/app/src/main/res/layout/app_bar_home.xml b/R6S/app/src/main/res/layout/app_bar_home.xml new file mode 100644 index 0000000..1904660 --- /dev/null +++ b/R6S/app/src/main/res/layout/app_bar_home.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + diff --git a/R6S/app/src/main/res/layout/content_home.xml b/R6S/app/src/main/res/layout/content_home.xml new file mode 100644 index 0000000..ddeed07 --- /dev/null +++ b/R6S/app/src/main/res/layout/content_home.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/R6S/app/src/main/res/layout/fragment_maps_view.xml b/R6S/app/src/main/res/layout/fragment_maps_view.xml new file mode 100644 index 0000000..3b99eb6 --- /dev/null +++ b/R6S/app/src/main/res/layout/fragment_maps_view.xml @@ -0,0 +1,60 @@ + + + + + + + + + +