From 8e84ff340f6eaacd9e6ba09847d73a33c3e3f688 Mon Sep 17 00:00:00 2001
From: Zephyr <67527746+zeph-yr@users.noreply.github.com>
Date: Mon, 31 Jan 2022 03:36:05 +0800
Subject: [PATCH] Original mirror horizontal mode, with invert vertical mode,
and combined inverse
---
HarmonyPatches.cs | 5 +++--
ModUI.bsml | 2 +-
Properties/AssemblyInfo.cs | 4 ++--
manifest.json | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/HarmonyPatches.cs b/HarmonyPatches.cs
index 750e449..ccb5fb8 100644
--- a/HarmonyPatches.cs
+++ b/HarmonyPatches.cs
@@ -53,7 +53,6 @@ static void Prefix(IBeatmapLevel level)
MirrorTransforms.rand = new System.Random(99);
// Commission
- /*
CustomDifficultyBeatmapSet h_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.horizontal.png", "Horizontal", "Mirror Left-Right"));
CustomDifficultyBeatmapSet v_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.vertical.png", "Vertical", "Mirror Up-Down"));
CustomDifficultyBeatmapSet i_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.inverse.png", "Inverse", "Inverse"));
@@ -61,9 +60,10 @@ static void Prefix(IBeatmapLevel level)
CustomDifficultyBeatmap[] h_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select(i => Create_Difficulty(i, h_beatmapset, 0)).ToArray();
CustomDifficultyBeatmap[] v_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select((i) => Create_Difficulty(i, v_beatmapset, 1)).ToArray();
CustomDifficultyBeatmap[] i_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select((i) => Create_Difficulty(i, i_beatmapset, 2)).ToArray();
- */
+
// Community Release
+ /*
CustomDifficultyBeatmapSet h_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.horizontal.png", "Horizontal", "Invert Left-Right"));
CustomDifficultyBeatmapSet v_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.vertical.png", "Vertical", "Invert Up-Down"));
CustomDifficultyBeatmapSet i_beatmapset = new CustomDifficultyBeatmapSet(Create_BMCSO("Chirality.Icons.inverse.png", "Inverse", "Inverse"));
@@ -71,6 +71,7 @@ static void Prefix(IBeatmapLevel level)
CustomDifficultyBeatmap[] h_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select(i => Create_Difficulty(i, h_beatmapset, 3)).ToArray();
CustomDifficultyBeatmap[] v_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select((i) => Create_Difficulty(i, v_beatmapset, 1)).ToArray();
CustomDifficultyBeatmap[] i_customDifficultyBeatmaps = level.beatmapLevelData.difficultyBeatmapSets[index].difficultyBeatmaps.Select((i) => Create_Difficulty(i, i_beatmapset, 4)).ToArray();
+ */
h_beatmapset.SetCustomDifficultyBeatmaps(h_customDifficultyBeatmaps);
v_beatmapset.SetCustomDifficultyBeatmaps(v_customDifficultyBeatmaps);
diff --git a/ModUI.bsml b/ModUI.bsml
index b8efa12..8cdfc53 100644
--- a/ModUI.bsml
+++ b/ModUI.bsml
@@ -22,7 +22,7 @@
-
+
\ No newline at end of file
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 70d9c10..b03677e 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0")]
-[assembly: AssemblyFileVersion("1.0.0")]
+[assembly: AssemblyVersion("1.0.0.1")]
+[assembly: AssemblyFileVersion("1.0.0.1")]
diff --git a/manifest.json b/manifest.json
index 1f42fe7..01ccb91 100644
--- a/manifest.json
+++ b/manifest.json
@@ -3,7 +3,7 @@
"id": "Chirality",
"name": "Chirality",
"author": "Zephyr",
- "version": "1.0.0",
+ "version": "1.0.0-1",
"description": "",
"gameVersion": "1.18.0",
"dependsOn": {