Skip to content

Commit

Permalink
Attempt to add Gender selection
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariCalyx committed Apr 7, 2024
1 parent 4a03724 commit 0f9bfcf
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 29 deletions.
12 changes: 6 additions & 6 deletions WzComparerR2.Avatar/UI/AvatarCodeForm.Designer.cs

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

33 changes: 26 additions & 7 deletions WzComparerR2.Avatar/UI/AvatarForm.Designer.cs

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

52 changes: 48 additions & 4 deletions WzComparerR2.Avatar/UI/AvatarForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1184,12 +1184,56 @@ private void btnFemale_Click(object sender, EventArgs e)
}
}

private void btnLaraF_Click(object sender, EventArgs e)
private void btnLara_Click(object sender, EventArgs e)
{
if (this.avatar.Parts.All(part => part == null)
|| MessageBoxEx.Show("基本女ララを呼びますか?", "確認") == DialogResult.OK)
switch (MessageBoxEx.Show("基本ララを呼びますか?\r\n\r\nYes - 女\r\nNo - 男", "確認", MessageBoxButtons.YesNoCancel))
{
case DialogResult.Yes:
LoadCode("2003,12003,51484,61183,1051667,1073551,1372243", 0);
return;

case DialogResult.No:
LoadCode("2003,12003,50469,60193,1050593,1073551,1372243", 0);
return;

case DialogResult.Cancel:
default:
return;
}
}
private void btnZero_Click(object sender, EventArgs e)
{
switch (MessageBoxEx.Show("基本ゼロを呼びますか?\r\n\r\nYes - アルファ\r\nNo - ベター", "確認", MessageBoxButtons.YesNoCancel))
{
case DialogResult.Yes:
LoadCode("2000,12000,20294,36633,1052606,1072814,1082521,1102552,1572001", 0);
return;

case DialogResult.No:
LoadCode("2000,12000,21290,37623,1052607,1072814,1082521,1102552,1562001", 0);
return;

case DialogResult.Cancel:
default:
return;
}
}

private void btnPathfinder_Click(object sender, EventArgs e)
{
switch (MessageBoxEx.Show("基本パスファインダーを呼びますか?\r\n\r\nYes - 女\r\nNo - 男", "確認", MessageBoxButtons.YesNoCancel))
{
LoadCode("2003,12003,51484,61183,1051667,1073551,1372243", 0);
case DialogResult.Yes:
LoadCode("2000,12000,28141,47525,1005313,1053402,1073334,1592000", 0);
return;

case DialogResult.No:
LoadCode("2000,12000,27135,46025,1005313,1053402,1073334,1592000", 0);
return;

case DialogResult.Cancel:
default:
return;
}
}

Expand Down
20 changes: 10 additions & 10 deletions WzComparerR2.Avatar/UI/AvatarPartButtonItem.Designer.cs

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

4 changes: 2 additions & 2 deletions WzComparerR2.Avatar/UI/AvatarPartButtonItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public AvatarPartButtonItem(int ID, int? mixColor, int? mixOpacity)
}
}

public static readonly string[] HairColors = new[] { "검은색", "빨간색", "주황색", "노란색", "초록색", "파란색", "보라색", "갈색" };
public static readonly string[] LensColors = new[] { "검은색", "파란색", "빨간색", "초록색", "갈색", "에메랄드", "보라색", "자수정색" };
public static readonly string[] HairColors = new[] { "", "", "オレンジ", "", "", "", "", "" };
public static readonly string[] LensColors = new[] { "", "", "", "", "", "エメラルド", "", "アメジスト" };

public void SetIcon(Bitmap icon)
{
Expand Down

0 comments on commit 0f9bfcf

Please sign in to comment.