C# Class NScumm.Scumm.ScummEngine0

Mostra file Open project: scemino/nscumm Class Usage Examples

Public Methods

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

Protected Methods

Method Description
ActorToObj ( int actor ) : int
AreBoxesNeighbors ( byte box1nr, byte box2nr ) : bool
CheckAndRunSentenceScript ( ) : void
CheckExecVerbs ( ) : void
DecodeParseString ( ) : void
GetActiveObject ( ) : int
GetObjectOwner ( ) : void
GetVarOrDirectWord ( OpCodeParameter param ) : int
InitOpCodes ( ) : void
IsActor ( int id ) : bool
Loop ( ) : TimeSpan
ObjToActor ( int id ) : int
Print ( ) : void
PrintEgo ( ) : void
ReadWord ( ) : uint
ReadWordSigned ( ) : int
ResetScummVars ( ) : void
SetObjectName ( ) : void
SetOwnerOf ( ) : void
SetupVars ( ) : void

Private Methods

Method Description
ActiveVerbPrep ( ) : VerbPrepsV0
AnimateActorCore ( ) : void
CheckPendingWalkAction ( ) : bool
CheckSentenceComplete ( ) : bool
ClearSentenceLine ( ) : void
Cutscene ( ) : void
DoSentence ( ) : void
DrawSentenceLine ( ) : void
DrawSentenceObject ( int obj ) : void
EndCutscene ( ) : void
FlushSentenceLine ( ) : void
GetActorBitVar ( ) : void
GetBitVar ( ) : void
GetClosestActor ( ) : void
GetCurrentLights ( ) : LightModes
GetVerbPrepId ( ) : VerbPrepsV0
IfEqualActiveObject2 ( ) : void
IfEqualActiveObject2Common ( bool checkType ) : bool
IfNotEqualActiveObject2 ( ) : void
Lights ( ) : void
LoadCostume ( ) : void
LoadRoomCore ( ) : void
LoadRoomWithEgo ( ) : void
LoadScript ( ) : void
LoadSound ( ) : void
LockCostume ( ) : void
LockRoom ( ) : void
LockScript ( ) : void
LockSound ( ) : void
Nop ( ) : void
OBJECT_V0 ( int id, ObjectV0Type type ) : int
OBJECT_V0_ID ( int obj ) : int
PickupObject ( ) : void
PutActorAtObject ( ) : void
ResetSentence ( ) : void
ResetVerbs ( ) : void
RunSentenceScript ( ) : void
ScreenPrepare ( ) : void
SetActorBitVar ( ) : void
SetBitVar ( ) : void
SetMode ( ) : void
SetMode ( Engine0Mode mode ) : void
StopCurrentScript ( ) : void
SwitchActor ( int slot ) : void
UnlockCostume ( ) : void
UnlockRoom ( ) : void
UnlockScript ( ) : void
UnlockSound ( ) : void
VerbDemoMode ( ) : void
VerbDrawDemoString ( int VerbDemoNumber ) : void
VerbExec ( ) : void
VerbPrepIdType ( VerbsV0 verbid ) : VerbPrepsV0
WalkActorToObject ( ) : void
WalkToActorOrObject ( int obj ) : void
WalkboxFindTarget ( Actor a, int destbox, Point walkdest ) : byte

Method Details

ActorToObj() protected method

protected ActorToObj ( int actor ) : int
actor int
return int

AreBoxesNeighbors() protected method

protected AreBoxesNeighbors ( byte box1nr, byte box2nr ) : bool
box1nr byte
box2nr byte
return bool

CheckAndRunSentenceScript() protected method

protected CheckAndRunSentenceScript ( ) : void
return void

CheckExecVerbs() protected method

protected CheckExecVerbs ( ) : void
return void

DecodeParseString() protected method

protected DecodeParseString ( ) : void
return void

GetActiveObject() protected method

protected GetActiveObject ( ) : int
return int

GetObjectOwner() protected method

protected GetObjectOwner ( ) : void
return void

GetVarOrDirectWord() protected method

protected GetVarOrDirectWord ( OpCodeParameter param ) : int
param OpCodeParameter
return int

InitOpCodes() protected method

protected InitOpCodes ( ) : void
return void

IsActor() protected method

protected IsActor ( int id ) : bool
id int
return bool

Loop() protected method

protected Loop ( ) : TimeSpan
return TimeSpan

ObjToActor() protected method

protected ObjToActor ( int id ) : int
id int
return int

Print() protected method

protected Print ( ) : void
return void

PrintEgo() protected method

protected PrintEgo ( ) : void
return void

ReadWord() protected method

protected ReadWord ( ) : uint
return uint

ReadWordSigned() protected method

protected ReadWordSigned ( ) : int
return int

ResetScummVars() protected method

protected ResetScummVars ( ) : void
return void

ScummEngine0() public method

public ScummEngine0 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System
game GameSettings
graphicsManager IGraphicsManager
inputManager IInputManager
mixer IMixer
return System

SetObjectName() protected method

protected SetObjectName ( ) : void
return void

SetOwnerOf() protected method

protected SetOwnerOf ( ) : void
return void

SetupVars() protected method

protected SetupVars ( ) : void
return void