C# Class NScumm.Scumm.ScummEngine2

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

Public Properties

Property Type Description
VariableActorRangeMax int?
VariableActorRangeMin int?
VariableBackupVerb int?
VariableClickArea int?
VariableClickObject int?
VariableClickVerb int?
VariableCurrentDrive int?
VariableKeyPress int?
VariableMachineSpeed int?
VariableNumActor int?
VariableSentenceObject1 int?
VariableSentenceObject2 int?
VariableSentencePreposition int?
VariableSentenceVerb int?

Protected Properties

Property Type Description
_inventoryOffset ushort
_sentenceBuf string

Public Methods

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

Protected Methods

Method Description
ActorFollowCamera ( ) : void
ActorFollowCamera ( int act ) : void
ActorFromPos ( ) : void
Add ( ) : void
AnimateActor ( ) : void
BeginOverride ( ) : void
BreakHere ( ) : void
CheckExecVerbs ( ) : void
CheckV2Inventory ( int x, int y ) : int
ClearState02 ( ) : void
ClearState04 ( ) : void
ClearState08 ( ) : void
DecodeParseString ( ) : void
Decrement ( ) : void
Delay ( ) : void
DelayVariable ( ) : void
DrawPreposition ( int index ) : void
Dummy ( ) : void
EqualZero ( ) : void
FaceActor ( ) : void
GetActiveObject ( ) : int
GetActorCostume ( ) : void
GetActorFacing ( ) : void
GetActorMoving ( ) : void
GetActorRoom ( ) : void
GetActorX ( ) : void
GetActorY ( ) : void
GetDistance ( ) : void
GetObjectOwner ( ) : void
GetRandomNumber ( ) : void
GetResult ( ) : void
GetVar ( ) : int
HandleMouseOver ( bool updateInventory ) : void
IfNotState02 ( ) : void
IfNotState04 ( ) : void
IfNotState08 ( ) : void
IfState02 ( ) : void
IfState04 ( ) : void
IfState08 ( ) : void
Increment ( ) : void
InitOpCodes ( ) : void
IsActor ( int id ) : bool
IsEqual ( ) : void
IsGreater ( ) : void
IsGreaterEqual ( ) : void
IsLess ( ) : void
IsLessEqual ( ) : void
IsNotEqual ( ) : void
IsScriptRunning ( ) : void
IsSoundRunning ( ) : void
JumpRelative ( ) : void
LoadRoom ( ) : void
Move ( ) : void
NotEqualZero ( ) : void
PanCameraTo ( ) : void
Print ( ) : void
PrintEgo ( ) : void
PseudoRoom ( ) : void
PutActor ( ) : void
PutActorInRoom ( ) : void
ReadVariable ( uint var ) : int
ResetScummVars ( ) : void
Restart ( ) : void
RunInputScript ( ClickArea clickArea, KeyCode code, int mode ) : void
RunInventoryScript ( int i ) : void
SaveLoadGame ( ) : void
SaveOrLoad ( Serializer serializer ) : void
SetBoxFlags ( ) : void
SetBuiltinCursor ( int idx ) : void
SetCameraAt ( ) : void
SetCameraAtEx ( int at ) : void
SetObjectName ( ) : void
SetOwnerOf ( ) : void
SetState02 ( ) : void
SetState04 ( ) : void
SetState08 ( ) : void
SetUserState ( UserStates state ) : void
SetVarRange ( ) : void
SetupVars ( ) : void
StartMusic ( ) : void
StartScript ( ) : void
StartSound ( ) : void
StopMusic ( ) : void
StopScript ( ) : void
StopScriptCommon ( int script ) : void
StopSound ( ) : void
Subtract ( ) : void
WalkActorTo ( ) : void
WalkActorToActor ( ) : void
WalkActorToActor ( int actor, int toActor, int dist ) : void
WalkActorToObject ( int actor, int obj ) : void
WriteVariable ( uint index, int value ) : void

Private Methods

Method Description
ActorOps ( ) : void
AddIndirect ( ) : void
AssignVarByte ( ) : void
AssignVarWordIndirect ( ) : void
ChainScript ( ) : void
CheckV2MouseOver ( System.Point pos ) : void
ClearState01 ( ) : void
ClearStateCommon ( ObjectStateV2 type ) : void
CursorCommand ( ) : void
Cutscene ( ) : void
DoSentence ( ) : void
DrawObject ( ) : void
DrawSentence ( ) : void
EndCutscene ( ) : void
FindObject ( ) : void
GetActorElevation ( ) : void
GetActorWalkBox ( ) : void
GetBitVar ( ) : void
GetClosestObjActor ( ) : void
GetObjPreposition ( ) : void
GetResultPosIndirect ( ) : void
IfClassOfIs ( ) : void
IfNotState01 ( ) : void
IfNotStateCommon ( ObjectStateV2 type ) : void
IfState01 ( ) : void
IfStateCommon ( ObjectStateV2 type ) : void
InitV2MouseOver ( ) : void
Lights ( ) : void
LoadRoomWithEgo ( ) : void
PickupObject ( ) : void
PutActorAtObject ( ) : void
RedrawV2Inventory ( ) : void
ResetSentence ( ) : void
ResourceRoutines ( ) : void
RoomOps ( ) : void
SetActorElevation ( ) : void
SetBitVar ( ) : void
SetObjPreposition ( ) : void
SetState01 ( ) : void
SetStateCommon ( ObjectStateV2 type ) : void
SubIndirect ( ) : void
SwitchCostumeSet ( ) : void
UpdateScriptPointer ( ) : void
VerbOps ( ) : void
WaitForActor ( ) : void
WaitForMessage ( ) : void
WaitForSentence ( ) : void
WalkActorToObject ( ) : void

Method Details

ActorFollowCamera() protected method

protected ActorFollowCamera ( ) : void
return void

ActorFollowCamera() protected method

protected ActorFollowCamera ( int act ) : void
act int
return void

ActorFromPos() protected method

protected ActorFromPos ( ) : void
return void

Add() protected method

protected Add ( ) : void
return void

AnimateActor() protected method

protected AnimateActor ( ) : void
return void

BeginOverride() protected method

protected BeginOverride ( ) : void
return void

BreakHere() protected method

protected BreakHere ( ) : void
return void

CheckExecVerbs() protected method

protected CheckExecVerbs ( ) : void
return void

CheckV2Inventory() protected method

protected CheckV2Inventory ( int x, int y ) : int
x int
y int
return int

ClearState02() protected method

protected ClearState02 ( ) : void
return void

ClearState04() protected method

protected ClearState04 ( ) : void
return void

ClearState08() protected method

protected ClearState08 ( ) : void
return void

DecodeParseString() protected method

protected DecodeParseString ( ) : void
return void

Decrement() protected method

protected Decrement ( ) : void
return void

Delay() protected method

protected Delay ( ) : void
return void

DelayVariable() protected method

protected DelayVariable ( ) : void
return void

DrawPreposition() protected method

protected DrawPreposition ( int index ) : void
index int
return void

Dummy() protected method

protected Dummy ( ) : void
return void

EqualZero() protected method

protected EqualZero ( ) : void
return void

FaceActor() protected method

protected FaceActor ( ) : void
return void

GetActiveObject() protected method

protected GetActiveObject ( ) : int
return int

GetActorCostume() protected method

protected GetActorCostume ( ) : void
return void

GetActorFacing() protected method

protected GetActorFacing ( ) : void
return void

GetActorMoving() protected method

protected GetActorMoving ( ) : void
return void

GetActorRoom() protected method

protected GetActorRoom ( ) : void
return void

GetActorX() protected method

protected GetActorX ( ) : void
return void

GetActorY() protected method

protected GetActorY ( ) : void
return void

GetDistance() protected method

protected GetDistance ( ) : void
return void

GetObjectOwner() protected method

protected GetObjectOwner ( ) : void
return void

GetRandomNumber() protected method

protected GetRandomNumber ( ) : void
return void

GetResult() protected method

protected GetResult ( ) : void
return void

GetVar() protected method

protected GetVar ( ) : int
return int

HandleMouseOver() protected method

protected HandleMouseOver ( bool updateInventory ) : void
updateInventory bool
return void

IfNotState02() protected method

protected IfNotState02 ( ) : void
return void

IfNotState04() protected method

protected IfNotState04 ( ) : void
return void

IfNotState08() protected method

protected IfNotState08 ( ) : void
return void

IfState02() protected method

protected IfState02 ( ) : void
return void

IfState04() protected method

protected IfState04 ( ) : void
return void

IfState08() protected method

protected IfState08 ( ) : void
return void

Increment() protected method

protected Increment ( ) : void
return void

InitOpCodes() protected method

protected InitOpCodes ( ) : void
return void

IsActor() protected method

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

IsEqual() protected method

protected IsEqual ( ) : void
return void

IsGreater() protected method

protected IsGreater ( ) : void
return void

IsGreaterEqual() protected method

protected IsGreaterEqual ( ) : void
return void

IsLess() protected method

protected IsLess ( ) : void
return void

IsLessEqual() protected method

protected IsLessEqual ( ) : void
return void

IsNotEqual() protected method

protected IsNotEqual ( ) : void
return void

IsScriptRunning() protected method

protected IsScriptRunning ( ) : void
return void

IsSoundRunning() protected method

protected IsSoundRunning ( ) : void
return void

JumpRelative() protected method

protected JumpRelative ( ) : void
return void

LoadRoom() protected method

protected LoadRoom ( ) : void
return void

Move() protected method

protected Move ( ) : void
return void

NotEqualZero() protected method

protected NotEqualZero ( ) : void
return void

PanCameraTo() protected method

protected PanCameraTo ( ) : void
return void

Print() protected method

protected Print ( ) : void
return void

PrintEgo() protected method

protected PrintEgo ( ) : void
return void

PseudoRoom() protected method

protected PseudoRoom ( ) : void
return void

PutActor() protected method

protected PutActor ( ) : void
return void

PutActorInRoom() protected method

protected PutActorInRoom ( ) : void
return void

ReadVariable() protected method

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

ResetScummVars() protected method

protected ResetScummVars ( ) : void
return void

Restart() protected method

protected Restart ( ) : void
return void

RunInputScript() protected method

protected RunInputScript ( ClickArea clickArea, KeyCode code, int mode ) : void
clickArea ClickArea
code KeyCode
mode int
return void

RunInventoryScript() protected method

protected RunInventoryScript ( int i ) : void
i int
return void

SaveLoadGame() protected method

protected SaveLoadGame ( ) : void
return void

SaveOrLoad() protected method

protected SaveOrLoad ( Serializer serializer ) : void
serializer Serializer
return void

ScummEngine2() public method

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

SetBoxFlags() protected method

protected SetBoxFlags ( ) : void
return void

SetBuiltinCursor() protected method

protected SetBuiltinCursor ( int idx ) : void
idx int
return void

SetCameraAt() protected method

protected SetCameraAt ( ) : void
return void

SetCameraAtEx() protected method

protected SetCameraAtEx ( int at ) : void
at int
return void

SetObjectName() protected method

protected SetObjectName ( ) : void
return void

SetOwnerOf() protected method

protected SetOwnerOf ( ) : void
return void

SetState02() protected method

protected SetState02 ( ) : void
return void

SetState04() protected method

protected SetState04 ( ) : void
return void

SetState08() protected method

protected SetState08 ( ) : void
return void

SetUserState() protected method

protected SetUserState ( UserStates state ) : void
state UserStates
return void

SetVarRange() protected method

protected SetVarRange ( ) : void
return void

SetupVars() protected method

protected SetupVars ( ) : void
return void

StartMusic() protected method

protected StartMusic ( ) : void
return void

StartScript() protected method

protected StartScript ( ) : void
return void

StartSound() protected method

protected StartSound ( ) : void
return void

StopMusic() protected method

protected StopMusic ( ) : void
return void

StopScript() protected method

protected StopScript ( ) : void
return void

StopScriptCommon() protected method

protected StopScriptCommon ( int script ) : void
script int
return void

StopSound() protected method

protected StopSound ( ) : void
return void

Subtract() protected method

protected Subtract ( ) : void
return void

WalkActorTo() protected method

protected WalkActorTo ( ) : void
return void

WalkActorToActor() protected method

protected WalkActorToActor ( ) : void
return void

WalkActorToActor() protected method

protected WalkActorToActor ( int actor, int toActor, int dist ) : void
actor int
toActor int
dist int
return void

WalkActorToObject() protected method

protected WalkActorToObject ( int actor, int obj ) : void
actor int
obj int
return void

WriteVariable() protected method

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

Property Details

VariableActorRangeMax public_oe property

public int? VariableActorRangeMax
return int?

VariableActorRangeMin public_oe property

public int? VariableActorRangeMin
return int?

VariableBackupVerb public_oe property

public int? VariableBackupVerb
return int?

VariableClickArea public_oe property

public int? VariableClickArea
return int?

VariableClickObject public_oe property

public int? VariableClickObject
return int?

VariableClickVerb public_oe property

public int? VariableClickVerb
return int?

VariableCurrentDrive public_oe property

public int? VariableCurrentDrive
return int?

VariableKeyPress public_oe property

public int? VariableKeyPress
return int?

VariableMachineSpeed public_oe property

public int? VariableMachineSpeed
return int?

VariableNumActor public_oe property

public int? VariableNumActor
return int?

VariableSentenceObject1 public_oe property

public int? VariableSentenceObject1
return int?

VariableSentenceObject2 public_oe property

public int? VariableSentenceObject2
return int?

VariableSentencePreposition public_oe property

public int? VariableSentencePreposition
return int?

VariableSentenceVerb public_oe property

public int? VariableSentenceVerb
return int?

_inventoryOffset protected_oe property

protected ushort _inventoryOffset
return ushort

_sentenceBuf protected_oe property

protected string _sentenceBuf
return string