C# Class NScumm.Sky.SkyCompact

Datei anzeigen Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
CptIsId ( Compact cpt, ushort id ) : bool

Needed for some workaround where the engine has to check if it's currently processing joey, for example

CreateResetData ( ushort gameVersion ) : byte[]
FetchCpt ( ushort cptId ) : Compact
FetchCptEntry ( ushort cptId ) : CompactEntry
FetchCptRaw ( ushort cptId ) : byte[]
GetCompactElem ( Compact cpt, ushort off ) : FieldAccess
GetGrafixPtr ( Compact cpt ) : UShortAccess
GetId ( Compact cpt ) : ushort
GetMegaSet ( Compact cpt ) : MegaSet

Gets the n'th mega set specified by a megaSet from a Compact object.

GetSub ( Compact cpt, int mode ) : FieldAccess
GetTurnTable ( Compact cpt, ushort dir ) : UShortAccess
SkyCompact ( ) : System

Private Methods

Method Description
OpenCompactStream ( ) : Stream
ReadName ( int &asciiPos ) : string

Method Details

CptIsId() public method

Needed for some workaround where the engine has to check if it's currently processing joey, for example
public CptIsId ( Compact cpt, ushort id ) : bool
cpt Compact
id ushort
return bool

CreateResetData() public method

public CreateResetData ( ushort gameVersion ) : byte[]
gameVersion ushort
return byte[]

FetchCpt() public method

public FetchCpt ( ushort cptId ) : Compact
cptId ushort
return Compact

FetchCptEntry() public method

public FetchCptEntry ( ushort cptId ) : CompactEntry
cptId ushort
return CompactEntry

FetchCptRaw() public method

public FetchCptRaw ( ushort cptId ) : byte[]
cptId ushort
return byte[]

GetCompactElem() public method

public GetCompactElem ( Compact cpt, ushort off ) : FieldAccess
cpt Compact
off ushort
return FieldAccess

GetGrafixPtr() public method

public GetGrafixPtr ( Compact cpt ) : UShortAccess
cpt Compact
return UShortAccess

GetId() public method

public GetId ( Compact cpt ) : ushort
cpt Compact
return ushort

GetMegaSet() public static method

Gets the n'th mega set specified by a megaSet from a Compact object.
public static GetMegaSet ( Compact cpt ) : MegaSet
cpt Compact Compact object.
return MegaSet

GetSub() public static method

public static GetSub ( Compact cpt, int mode ) : FieldAccess
cpt Compact
mode int
return FieldAccess

GetTurnTable() public method

public GetTurnTable ( Compact cpt, ushort dir ) : UShortAccess
cpt Compact
dir ushort
return UShortAccess

SkyCompact() public method

public SkyCompact ( ) : System
return System