Allow selection of *.wav
Plus other minor changes.
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>$(VersionPrefix)2.0.0-rc8</Version>
|
||||
<Version>$(VersionPrefix)2.0.0</Version>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>2.0.0-rc8</FileVersion>
|
||||
<FileVersion>2.0.0</FileVersion>
|
||||
<Company>Goatgarien</Company>
|
||||
<Copyright>2022</Copyright>
|
||||
<StartupObject>BAKKA_Editor.Program</StartupObject>
|
||||
|
||||
Generated
+193
-285
File diff suppressed because it is too large
Load Diff
@@ -898,12 +898,15 @@ namespace BAKKA_Editor
|
||||
songFilePath = openSongDialog.FileName;
|
||||
songFileLabel.Text = songFilePath;
|
||||
currentSong = soundEngine.Play2D(songFilePath, true, true);
|
||||
/* Volume is represented as a float from 0-1. */
|
||||
currentSong.Volume = (float)trackBarVolume.Value / (float)trackBarVolume.Maximum;
|
||||
if (currentSong != null)
|
||||
{
|
||||
/* Volume is represented as a float from 0-1. */
|
||||
currentSong.Volume = (float)trackBarVolume.Value / (float)trackBarVolume.Maximum;
|
||||
|
||||
songTrackBar.Value = 0;
|
||||
songTrackBar.Maximum = (int)currentSong.PlayLength;
|
||||
playButton.Enabled = true;
|
||||
songTrackBar.Value = 0;
|
||||
songTrackBar.Maximum = (int)currentSong.PlayLength;
|
||||
playButton.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1246,10 +1249,9 @@ namespace BAKKA_Editor
|
||||
|
||||
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show($"VeroxZik's C# port of Goatgarien's BAKKA Editor.\n\n" +
|
||||
$"Original C++ version: Goatgarien\n" +
|
||||
$"Initial C# port: VeroxZik\n" +
|
||||
$"UI Inspiration: Yellowberry",
|
||||
MessageBox.Show($"BAKKA Editor\n\n" +
|
||||
$"Authors: Goatgarien and VeroxZik\n" +
|
||||
$"Contributions: Yellowberry, Farex-GH",
|
||||
$"BAKKA Editor {fileVersion}");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user