Skip to content

Commit

Permalink
Added Touhou 17.5 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
David-JonesDVN committed Nov 2, 2021
1 parent 453c807 commit db7097c
Show file tree
Hide file tree
Showing 10 changed files with 568 additions and 25 deletions.
71 changes: 60 additions & 11 deletions Touhou Launcher/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Touhou Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public Configs()
private FormWindowState lastState = FormWindowState.Normal;
private const int mainGameCount = 18;
private const int fightingGameCount = 6;
private const int otherGameCount = 5;
private const int otherGameCount = 6;
private const int totalGameCount = mainGameCount + fightingGameCount + otherGameCount;
public static Configs curCfg = Configs.Load();
public static System.Resources.ResourceManager rm;
Expand All @@ -122,7 +122,7 @@ public Configs()
};
public static List<int> idToNumber = new List<int>
{
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 75, 105, 123, 135, 145, 155, 95, 125, 128, 143, 165
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 75, 105, 123, 135, 145, 155, 95, 125, 128, 143, 165, 175
};
public static Dictionary<string, int> nameToID = new Dictionary<string, int>
{
Expand Down Expand Up @@ -154,7 +154,8 @@ public Configs()
{"DS", 25},
{"GFW", 26},
{"ISC", 27},
{"VD", 28}
{"VD", 28},
{"GI", 29}
};

public static IEnumerable<Control> GetAll(Control control, Type type)
Expand Down
30 changes: 30 additions & 0 deletions Touhou Launcher/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit db7097c

Please sign in to comment.