Beispiel #1
0
        public bool Init <T>(String command) where T : IModDriver, new()
        {
            m_CommandLine = command;
            ModDriver.LoadDriver <T>();

            return(ModDriver.MikMod_Init(command));
        }
Beispiel #2
0
        public T Init <T>(String command, out bool result) where T : IModDriver, new()
        {
            m_CommandLine = command;
            T driver = ModDriver.LoadDriver <T>();

            result = ModDriver.MikMod_Init(command);

            return(driver);
        }
Beispiel #3
0
 public bool Init <T>(Drivers.WavDriver.WavDriverOptions wavDriverOptions) where T : IModDriver, new()
 {
     loaded_Driver = ModDriver.LoadDriver <T>(wavDriverOptions);
     return(ModDriver.MikMod_Init(""));
 }
Beispiel #4
0
 public bool Init <T>(Drivers.NaudioDriverAdvanced.NaudioDriverAdvacedOptions naudioDriverOptions) where T : IModDriver, new()
 {
     loaded_Driver = ModDriver.LoadDriver <T>(naudioDriverOptions);
     return(ModDriver.MikMod_Init(""));
 }