C# Class NScumm.Dump.ScriptParser0

Inheritance: ScriptParser
Datei anzeigen Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
ScriptParser0 ( GameInfo game ) : NScumm.Scumm.IO

Protected Methods

Method Description
FetchScriptWord ( ) : uint
GetActiveObject ( ) : Expression
GetVarOrDirectByte ( OpCodeParameter param ) : Expression
GetVarOrDirectWord ( OpCodeParameter param ) : Expression
InitOpCodes ( ) : void
ReadCharacters ( ) : Expression
ReadVariable ( int var ) : Expression
ReadWord ( ) : int
ReadWordSigned ( ) : int

Private Methods

Method Description
ActorFollowCamera ( ) : Statement
ActorFromPos ( ) : Statement
Add ( ) : Statement
AnimateActorCore ( ) : Statement
BeginOverride ( ) : Statement
BinaryExpression ( Operator op ) : Statement
BreakHere ( ) : Statement
ClearState ( ObjectStateV2 type ) : Statement
ClearState02 ( ) : Statement
ClearState04 ( ) : Statement
ClearState08 ( ) : Statement
Cutscene ( ) : Statement
Decrement ( ) : Statement
Delay ( ) : Statement
DoSentence ( ) : Statement
Dummy ( ) : Statement
EndCutscene ( ) : Statement
EqualZero ( ) : Statement
GetActorAt ( Expression index ) : Expression
GetActorBitVar ( ) : Statement
GetActorFacing ( ) : Statement
GetActorMoving ( ) : Statement
GetActorRoom ( ) : Statement
GetActorX ( ) : Statement
GetActorY ( ) : Statement
GetBitVar ( ) : Statement
GetClosestActor ( ) : Statement
GetDistance ( ) : Statement
GetObjectAt ( Expression index ) : ElementAccess
GetObjectOwner ( ) : Statement
GetRandomNumber ( ) : Statement
GetResultIndex ( ) : int
GetVar ( ) : Expression
GetVariableAt ( int index ) : ElementAccess
IfEqualActiveObject2 ( ) : Statement
IfEqualActiveObject2Common ( bool checkType ) : Expression
IfNotEqualActiveObject2 ( ) : Statement
IfNotState02 ( ) : Statement
IfNotState04 ( ) : Statement
IfNotState08 ( ) : Statement
IfNotStateCommon ( ObjectStateV2 type ) : Statement
IfState02 ( ) : Statement
IfState04 ( ) : Statement
IfState08 ( ) : Statement
IfStateCommon ( ObjectStateV2 type ) : Statement
Increment ( ) : Statement
IsEqual ( ) : Statement
IsGreater ( ) : Statement
IsGreaterEqual ( ) : Statement
IsLess ( ) : Statement
IsLessEqual ( ) : Statement
IsNotEqual ( ) : Statement
IsScriptRunning ( ) : Statement
IsSoundRunning ( ) : Statement
JumpRelative ( ) : Statement
JumpRelative ( Expression condition ) : Statement
Lights ( ) : Statement
LoadCostume ( ) : Statement
LoadRoom ( ) : Statement
LoadRoomWithEgo ( ) : Statement
LoadScript ( ) : Statement
LoadSound ( ) : Statement
LockCostume ( ) : Statement
LockRoom ( ) : Statement
LockScript ( ) : Statement
LockSound ( ) : Statement
Move ( ) : Statement
Nop ( ) : Statement
NotEqualZero ( ) : Statement
PanCameraTo ( ) : Statement
PickupObject ( ) : Statement
Print ( ) : Statement
PrintEgo ( ) : Statement
PutActor ( ) : Statement
PutActorAtObject ( ) : Statement
PutActorInRoom ( ) : Statement
Restart ( ) : Statement
SaveLoadGame ( ) : Statement
ScreenPrepare ( ) : Statement
SetActorBitVar ( ) : Statement
SetBitVar ( ) : Statement
SetCameraAt ( ) : Statement
SetMode ( ) : Statement
SetObjectName ( ) : Statement
SetOwnerOf ( ) : Statement
SetResult ( int index, Expression value ) : Expression
SetState02 ( ) : Statement
SetState04 ( ) : Statement
SetState08 ( ) : Statement
SetStateCommon ( ObjectStateV2 type ) : Statement
StartMusic ( ) : Statement
StartScript ( ) : Statement
StartSound ( ) : Statement
StopCurrentScript ( ) : Statement
StopMusic ( ) : Statement
StopObjectCode ( ) : Statement
StopScript ( ) : Statement
StopSound ( ) : Statement
Subtract ( ) : Statement
UnlockCostume ( ) : Statement
UnlockRoom ( ) : Statement
UnlockScript ( ) : Statement
UnlockSound ( ) : Statement
WalkActorTo ( ) : Statement
WalkActorToActor ( ) : Statement
WalkActorToObject ( ) : Statement

Method Details

FetchScriptWord() protected method

protected FetchScriptWord ( ) : uint
return uint

GetActiveObject() protected method

protected GetActiveObject ( ) : Expression
return Expression

GetVarOrDirectByte() protected method

protected GetVarOrDirectByte ( OpCodeParameter param ) : Expression
param OpCodeParameter
return Expression

GetVarOrDirectWord() protected method

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

InitOpCodes() protected method

protected InitOpCodes ( ) : void
return void

ReadCharacters() protected method

protected ReadCharacters ( ) : Expression
return Expression

ReadVariable() protected method

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

ReadWord() protected method

protected ReadWord ( ) : int
return int

ReadWordSigned() protected method

protected ReadWordSigned ( ) : int
return int

ScriptParser0() public method

public ScriptParser0 ( GameInfo game ) : NScumm.Scumm.IO
game GameInfo
return NScumm.Scumm.IO