mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 15:34:47 +08:00
Merge pull request #101 from nikez/master
fix(gamefiles): Added proper description to game audio file
This commit is contained in:
+20
-20
@@ -43,9 +43,9 @@
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.Unk03TextBox = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.Unk04TextBox = new System.Windows.Forms.TextBox();
|
||||
this.ReverbTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.Unk05TextBox = new System.Windows.Forms.TextBox();
|
||||
this.EchoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.Unk06TextBox = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
@@ -198,17 +198,17 @@
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(42, 13);
|
||||
this.label4.TabIndex = 72;
|
||||
this.label4.Text = "Unk04:";
|
||||
this.label4.Text = "Reverb:";
|
||||
//
|
||||
// Unk04TextBox
|
||||
//
|
||||
this.Unk04TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.ReverbTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Unk04TextBox.Location = new System.Drawing.Point(86, 132);
|
||||
this.Unk04TextBox.Name = "Unk04TextBox";
|
||||
this.Unk04TextBox.Size = new System.Drawing.Size(237, 20);
|
||||
this.Unk04TextBox.TabIndex = 73;
|
||||
this.Unk04TextBox.TextChanged += new System.EventHandler(this.Unk04TextBox_TextChanged);
|
||||
this.ReverbTextBox.Location = new System.Drawing.Point(86, 132);
|
||||
this.ReverbTextBox.Name = "ReverbTextBox";
|
||||
this.ReverbTextBox.Size = new System.Drawing.Size(237, 20);
|
||||
this.ReverbTextBox.TabIndex = 73;
|
||||
this.ReverbTextBox.TextChanged += new System.EventHandler(this.ReverbTextBox_TextChanged);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@@ -217,17 +217,17 @@
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(42, 13);
|
||||
this.label5.TabIndex = 74;
|
||||
this.label5.Text = "Unk05:";
|
||||
this.label5.Text = "Echo:";
|
||||
//
|
||||
// Unk05TextBox
|
||||
//
|
||||
this.Unk05TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.EchoTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.Unk05TextBox.Location = new System.Drawing.Point(86, 156);
|
||||
this.Unk05TextBox.Name = "Unk05TextBox";
|
||||
this.Unk05TextBox.Size = new System.Drawing.Size(237, 20);
|
||||
this.Unk05TextBox.TabIndex = 75;
|
||||
this.Unk05TextBox.TextChanged += new System.EventHandler(this.Unk05TextBox_TextChanged);
|
||||
this.EchoTextBox.Location = new System.Drawing.Point(86, 156);
|
||||
this.EchoTextBox.Name = "EchoTextBox";
|
||||
this.EchoTextBox.Size = new System.Drawing.Size(237, 20);
|
||||
this.EchoTextBox.TabIndex = 75;
|
||||
this.EchoTextBox.TextChanged += new System.EventHandler(this.EchoTextBox_TextChanged);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
@@ -424,9 +424,9 @@
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.Unk06TextBox);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.Unk05TextBox);
|
||||
this.Controls.Add(this.EchoTextBox);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.Unk04TextBox);
|
||||
this.Controls.Add(this.ReverbTextBox);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.Unk03TextBox);
|
||||
this.Controls.Add(this.label2);
|
||||
@@ -464,9 +464,9 @@
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox Unk03TextBox;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox Unk04TextBox;
|
||||
private System.Windows.Forms.TextBox ReverbTextBox;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox Unk05TextBox;
|
||||
private System.Windows.Forms.TextBox EchoTextBox;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox Unk06TextBox;
|
||||
private System.Windows.Forms.Label label7;
|
||||
|
||||
@@ -52,8 +52,8 @@ namespace CodeWalker.Project.Panels
|
||||
Hash1TextBox.Text = string.Empty;
|
||||
Unk02TextBox.Text = string.Empty;
|
||||
Unk03TextBox.Text = string.Empty;
|
||||
Unk04TextBox.Text = string.Empty;
|
||||
Unk05TextBox.Text = string.Empty;
|
||||
ReverbTextBox.Text = string.Empty;
|
||||
EchoTextBox.Text = string.Empty;
|
||||
Unk06TextBox.Text = string.Empty;
|
||||
Unk07TextBox.Text = string.Empty;
|
||||
Unk08TextBox.Text = string.Empty;
|
||||
@@ -79,8 +79,8 @@ namespace CodeWalker.Project.Panels
|
||||
Hash1TextBox.Text = cr.Hash1.ToString();
|
||||
Unk02TextBox.Text = cr.Unk02.ToString();
|
||||
Unk03TextBox.Text = FloatUtil.ToString(cr.Unk03);
|
||||
Unk04TextBox.Text = FloatUtil.ToString(cr.Unk04);
|
||||
Unk05TextBox.Text = FloatUtil.ToString(cr.Unk05);
|
||||
ReverbTextBox.Text = FloatUtil.ToString(cr.Reverb);
|
||||
EchoTextBox.Text = FloatUtil.ToString(cr.Echo);
|
||||
Unk06TextBox.Text = cr.Unk06.ToString();
|
||||
Unk07TextBox.Text = FloatUtil.ToString(cr.Unk07);
|
||||
Unk08TextBox.Text = FloatUtil.ToString(cr.Unk08);
|
||||
@@ -208,34 +208,34 @@ namespace CodeWalker.Project.Panels
|
||||
}
|
||||
}
|
||||
|
||||
private void Unk04TextBox_TextChanged(object sender, EventArgs e)
|
||||
private void ReverbTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (populatingui) return;
|
||||
if (CurrentRoom == null) return;
|
||||
|
||||
float val = 0;
|
||||
if (FloatUtil.TryParse(Unk04TextBox.Text, out val))
|
||||
if (FloatUtil.TryParse(ReverbTextBox.Text, out val))
|
||||
{
|
||||
if (CurrentRoom.Unk04 != val)
|
||||
if (CurrentRoom.Reverb != val)
|
||||
{
|
||||
CurrentRoom.Unk04 = val;
|
||||
CurrentRoom.Reverb = val;
|
||||
|
||||
ProjectItemChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Unk05TextBox_TextChanged(object sender, EventArgs e)
|
||||
private void EchoTextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (populatingui) return;
|
||||
if (CurrentRoom == null) return;
|
||||
|
||||
float val = 0;
|
||||
if (FloatUtil.TryParse(Unk05TextBox.Text, out val))
|
||||
if (FloatUtil.TryParse(EchoTextBox.Text, out val))
|
||||
{
|
||||
if (CurrentRoom.Unk05 != val)
|
||||
if (CurrentRoom.Echo != val)
|
||||
{
|
||||
CurrentRoom.Unk05 = val;
|
||||
CurrentRoom.Echo = val;
|
||||
|
||||
ProjectItemChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user