From 71f194d65aa697016ef60850a5c3ddf631afa433 Mon Sep 17 00:00:00 2001 From: yangzhi <@4F!xZpJwly&KbWq> Date: Thu, 16 May 2019 18:02:59 +0800 Subject: [PATCH] Mod loader 1.3, bug fix and mod management --- JarBinding/JarBinding.csproj | 2 +- ...gyer_sdk_3.0.5.jar => pgyer_sdk_3.0.4.jar} | Bin 143750 -> 141253 bytes ModLoader/Activity1.cs | 242 +++++++++++++++--- ModLoader/Common/Constants.cs | 8 +- ModLoader/Common/ModInfo.cs | 31 +++ ModLoader/Common/ModListAdapter.cs | 49 ++-- ModLoader/Common/Utils.cs | 41 ++- ModLoader/ModEntry.cs | 15 ++ ModLoader/ModLoader.csproj | 16 +- ModLoader/Properties/AndroidManifest.xml | 38 +-- ModLoader/Resources/Layout/layout_main.axml | 4 + .../Resources/Layout/layout_mod_list.axml | 48 ++-- ModLoader/Resources/Resource.Designer.cs | 214 +++++++++------- ModLoader/Resources/Values-zh-rCN/Strings.xml | 9 + ModLoader/Resources/Values/Strings.xml | 9 + ModLoader/SMAPI/Constants.cs | 8 +- ModLoader/SMAPI/Framework/SCore.cs | 38 ++- ModLoader/SMAPI/Framework/SGame.cs | 9 +- ModLoader/SMAPI/Patches/DialogueErrorPatch.cs | 7 +- .../SMAPI/Patches/LoadForNewGamePatch.cs | 6 +- ModLoader/SMAPI/Patches/ObjectErrorPatch.cs | 28 +- ModLoader/SMDroidFiles.zip | Bin 0 -> 619307 bytes ModLoader/SMainActivity.cs | 14 +- 23 files changed, 592 insertions(+), 244 deletions(-) rename JarBinding/Jars/{pgyer_sdk_3.0.5.jar => pgyer_sdk_3.0.4.jar} (91%) create mode 100644 ModLoader/Common/ModInfo.cs create mode 100644 ModLoader/SMDroidFiles.zip diff --git a/JarBinding/JarBinding.csproj b/JarBinding/JarBinding.csproj index 942738cf..c1e3d841 100644 --- a/JarBinding/JarBinding.csproj +++ b/JarBinding/JarBinding.csproj @@ -53,7 +53,7 @@ - + - - - - - - + + + + + + + - - - - - - + + + + + diff --git a/ModLoader/Resources/Layout/layout_main.axml b/ModLoader/Resources/Layout/layout_main.axml index 07aec4e8..88c0692b 100644 --- a/ModLoader/Resources/Layout/layout_main.axml +++ b/ModLoader/Resources/Layout/layout_main.axml @@ -19,21 +19,25 @@ android:text="@string/Extract" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:minWidth="96sp" android:id="@+id/buttonExtract" />