private void LoadSoundSet(string dir) { var path = Path.Combine(dir, soundsetname); if (File.Exists(path)) { foreach (string filename in SoundSetReader.Read(path)) { sou.ExAddSound(dir + "\\sound\\" + filename); } } else { initialized = false; } }
private void loadsounddata(string dir) { string path = Path.Combine(dir, soundsetname); if (File.Exists(path)) { foreach (string filename in SoundSetReader.Read(path)) { sou.ExAddSound(dir + "\\sound\\" + filename); } initialized &= true; } else { initialized &= false; } }