C# Class NScumm.Scumm.ScummEngine8

Inheritance: ScummEngine7
Exibir arquivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
ScummEngine8 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System

Protected Methods

Method Description
DecodeParseString ( int m, int n ) : void
PrintString ( int m, byte msg ) : void
ReadVariable ( uint var ) : int
ReadWord ( ) : uint
ReadWordSigned ( ) : int
ResetScummVars ( ) : void
SetupVars ( ) : void
WriteVariable ( uint index, int value ) : void

Private Methods

Method Description
Abs ( int value ) : void
ActorFollowCamera ( int index ) : void
ActorOps ( ) : void
Add ( int a, int b ) : void
AnimateActor ( int index, int anim ) : void
ArrayOps ( ) : void
BAnd ( int a, int b ) : void
BeginOverride ( ) : void
BlastText ( ) : void
Bor ( int a, int b ) : void
BreakHere ( ) : void
CameraOps ( ) : void
CreateBoxMatrix ( ) : void
CursorCommand ( ) : void
Cutscene ( int args ) : void
Delay ( int delay ) : void
DelayFrames ( ) : void
DelayMinutes ( int minutes ) : void
DelaySeconds ( int seconds ) : void
DesaturatePalette ( int hueScale, int satScale, int lightScale, int startColor, int endColor ) : void

This function scales the HSL (Hue, Saturation and Lightness) components of the palette colors. It's used in CMI when Guybrush walks from the beach towards the swamp.

Dim2DimArray ( ) : void
DimArray ( ) : void
DistObjectObject ( int a, int b ) : void
DistObjectPtPt ( int a, int b, int c, int d ) : void
Div ( int a, int b ) : void
DoSentence8 ( byte verb, ushort objectA, ushort objectB ) : void
DrawBox ( int x, int y, int x2, int y2, int color ) : void
DrawObject ( int obj, int x, int y, int state ) : void
Dummy ( ) : void
Dup ( int value ) : void
EndCutscene ( ) : void
EndOverride ( ) : void
Eq ( int a, int b ) : void
FaceActor ( int index, int obj ) : void
FindInventory ( int owner, int index ) : void
FindObject ( int x, int y ) : void
FreezeUnfreeze ( int script ) : void
Ge ( int a, int b ) : void
GetActorChore ( ) : void
GetActorCostume ( int index ) : void
GetActorElevation ( int index ) : void
GetActorFromXY ( int x, int y ) : void
GetActorLayer ( int index ) : void
GetActorMoving ( int index ) : void
GetActorRoom ( int index ) : void
GetActorScaleX ( int index ) : void
GetActorWalkBox ( int index ) : void
GetActorWidth ( int index ) : void
GetActorZPlane ( ) : void
GetAnimateVariable ( int index, int variable ) : void
GetDateTime ( ) : void
GetInventoryCount ( int owner ) : void
GetObjectImageHeight ( ) : void
GetObjectImageWidth ( ) : void
GetObjectImageX ( ) : void
GetObjectImageY ( ) : void
GetObjectNewDir ( int index ) : void
GetObjectX ( int index ) : void
GetObjectY ( int index ) : void
GetOwner ( int obj ) : void
GetRandomNumber ( int max ) : void
GetRandomNumberRange ( int min, int max ) : void
GetState ( int obj ) : void
GetStringWidth ( ) : void
GetVerbEntrypoint ( int verb, int entryp ) : void
GetVerbFromXY ( int x, int y ) : void
Gt ( int a, int b ) : void
HSL2RGBHelper ( int n1, int n2, int hue ) : int
If ( int condition ) : void
IfClassOfIs ( int obj, int args ) : void
IfNot ( int condition ) : void
IsActorInBox ( int index, int box ) : void
IsAnyOf ( int value, int args ) : void
IsScriptRunning ( int script ) : void
IsSoundRunning ( int sound ) : void
Jump ( ) : void
JumpToScript ( int flags, int script, int args ) : void
KernelGetFunctions ( ) : void
KernelSetFunction ( ) : void
Land ( int a, int b ) : void
Le ( int a, int b ) : void
LoadRoom ( byte room ) : void
LoadRoomWithEgo ( int x, int y ) : void
Lor ( int a, int b ) : void
Lt ( int a, int b ) : void
Mod ( ) : void
Mul ( int a, int b ) : void
NEq ( int a, int b ) : void
Not ( int value ) : void
PanCameraTo ( ) : void
PickOneOf ( int i, int args ) : void
PickOneOfDefault ( int i, int args, int def ) : void
PickupObject ( ) : void
Pop6 ( ) : void
PrintActor ( ) : void
PrintDebug ( ) : void
PrintEgo ( ) : void
PrintLine ( ) : void
PrintSystem ( ) : void
PrintText ( ) : void
PushWordVar ( ) : void
PutActorAtObject ( ) : void
PutActorAtXY ( int actorIndex, int x, int y, int room ) : void
ResourceRoutines ( ) : void
RoomOps ( ) : void
SaveRestoreVerbs ( int a, int b, int c ) : void
SetBoxFlags ( int args, int value ) : void
SetBoxScaleSlot ( int box, int slot ) : void
SetCameraAt ( ) : void
SetClass ( int obj, int args ) : void
SetObjectName ( int obj ) : void
SetOwner ( int obj, int owner ) : void
SetState ( int obj, int state ) : void
SoundKludge ( int args ) : void
StartMusic ( int sound ) : void
StartObject ( int flags, int script, byte entryp, int args ) : void
StartObjectQuick ( int script, byte entryp, int args ) : void
StartScript ( int flags, int script, int args ) : void
StartScriptQuick ( int script, int args ) : void
StartScriptQuick2 ( int script, int args ) : void
StartSound ( int sound ) : void
StartVideo ( ) : void
StopObjectCode6 ( ) : void
StopObjectScript ( ushort script ) : void
StopScript6 ( int script ) : void
StopSentence ( ) : void
StopSound ( int sound ) : void
Sub ( int a, int b ) : void
SystemOps ( ) : void
TalkActor ( int actor ) : void
TalkEgo ( ) : void
VerbOps ( ) : void
Wait8 ( ) : void
WalkActorTo ( int index, int x, int y ) : void
WalkActorToObj ( int index, int obj, int dist ) : void
WordArrayDec ( int @base ) : void
WordArrayInc ( int @base ) : void
WordArrayIndexedRead ( int index, int @base ) : void
WordArrayIndexedWrite ( int index, int @base, int value ) : void
WordArrayRead ( int @base ) : void
WordArrayWrite ( int @base, int value ) : void
WordVarDec ( ) : void
WordVarInc ( ) : void
WriteWordVar ( int value ) : void

Method Details

DecodeParseString() protected method

protected DecodeParseString ( int m, int n ) : void
m int
n int
return void

PrintString() protected method

protected PrintString ( int m, byte msg ) : void
m int
msg byte
return void

ReadVariable() protected method

protected ReadVariable ( uint var ) : int
var uint
return int

ReadWord() protected method

protected ReadWord ( ) : uint
return uint

ReadWordSigned() protected method

protected ReadWordSigned ( ) : int
return int

ResetScummVars() protected method

protected ResetScummVars ( ) : void
return void

ScummEngine8() public method

public ScummEngine8 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System
game NScumm.Core.IO.GameSettings
graphicsManager IGraphicsManager
inputManager IInputManager
mixer IMixer
return System

SetupVars() protected method

protected SetupVars ( ) : void
return void

WriteVariable() protected method

protected WriteVariable ( uint index, int value ) : void
index uint
value int
return void