Example #1
0
        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;
            }
        }
Example #2
0
        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;
            }
        }