Attribute VB_Name = "Module1"
'**************************************************************************
'**
'**                             SLaunch
'**$Revise Date: 01/19/06
'**$Author: SVillarreal
'**$Description: Module file. Contains config structure and .dll declare
'**
'**************************************************************************
Option Explicit
Option Compare Binary

Public Type mainConfig
    fastBool As Byte
    respawnBool As Byte
    noBool As Byte
    turbo As Long
    noSfxBool As Byte
    noSndBool As Byte
    noMusBool As Byte
    noVocBool As Byte
    level As Integer
    skill As Integer
    resolution As Integer
    useDogsBool As Byte
    numDogs As Integer
    fullScreen As Byte
    enableWarp As Byte
End Type

Public Declare Sub DoFile Lib "SLaunch.dll" (ByVal filePath As String, ByRef fileCfg As mainConfig, ByVal exe As String, ByVal iwad As String, ByVal pwad As String, ByVal seh As String, ByVal base As String)
Public Declare Function DoFileLoad Lib "SLaunch.dll" (ByVal filePath As String) As mainConfig
Public Declare Sub DoPathLoad Lib "SLaunch.dll" (ByVal cString As String, ByVal slot As Integer)
Public Declare Sub DoGameCall Lib "SLaunch.dll" (ByRef fileCfg As mainConfig, ByVal exe As String, ByVal iwad As String, ByVal pwad As String, ByVal seh As String, ByVal base As String)
Public Declare Sub StripFileName Lib "SLaunch.dll" (ByVal sPath As String)

