C# Class NScumm.Scumm.ScummEngine6

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Protected Properties

Свойство Type Description
VariableBlastAboveText int?
VariableCameraFollowedActor int?
VariableCharsetMask int?
VariableRandomNumber int?
VariableTimeDateDay int
VariableTimeDateHour int
VariableTimeDateMinute int
VariableTimeDateMonth int
VariableTimeDateSecond int?
VariableTimeDateYear int
_blastObjectQueue NScumm.Scumm.BlastObject[]
_blastObjectQueuePos int
_curActor int
_curVerb int
_curVerbSlot int
_skipVideo bool

Méthodes publiques

Méthode Description
ReadArray ( uint array, int idx, int @base ) : int
ScummEngine6 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System
WriteArray ( uint array, int idx, int @base, int value ) : void

Méthodes protégées

Méthode Description
ClearDrawObjectQueue ( ) : void
DecodeParseString ( int m, int n ) : void
DefineArray ( uint array, ArrayType type, int dim2, int dim1 ) : ArrayHeader
DelayCore ( int delay ) : void
DrawBlastObject ( BlastObject eo ) : void
DrawBlastObjects ( ) : void
DrawBlastTexts ( ) : void
DrawDirtyScreenParts ( ) : void
EnqueueObject ( int objectNumber, int objectX, int objectY, int objectWidth, int objectHeight, int scaleX, int scaleY, int image, int mode ) : void
EnqueueText ( byte text, int x, int y, byte color, byte charset, bool center ) : void
GetObjectRoom ( int obj ) : int
GetSpecialBox ( System.Point p ) : int
GetStackList ( int max ) : int[]
GetStringAt ( int index ) : byte[]
GrabCursor ( int x, int y, int w, int h ) : void
InitOpCodes ( ) : void
KillAllScriptsExceptCurrent ( ) : void
NukeArray ( uint a ) : void
PalManipulateInit ( int resID, int start, int end, int time ) : void
Pop ( ) : int
PopRoomAndObj ( int &room, int &obj ) : void
ProcessUpperActors ( ) : void
Push ( bool value ) : void
Push ( int value ) : void
PutActors ( ) : void
RemapPaletteColor ( int r, int g, int b, int threshold ) : int
RemoveBlastObject ( BlastObject eo ) : void
RemoveBlastObjects ( ) : void
RemoveBlastTexts ( ) : void
ResetScummVars ( ) : void
SetCursorFromImg ( int obj, int room, int index ) : void
SetCursorHotspot ( System.Point pos ) : void
SetCursorTransparency ( int a ) : void
SetDefaultCursor ( ) : void
SetObjectState ( int obj, int state, int x, int y ) : void
SetupVars ( ) : void

Private Methods

Méthode Description
Abs ( int value ) : void
ActorFollowCamera ( int index ) : void
ActorFollowCameraEx ( int act ) : 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
Bor ( int a, int b ) : void
BreakHere ( ) : void
ByteArrayDec ( int @base ) : void
ByteArrayInc ( int @base ) : void
ByteArrayIndexedRead ( int index, int @base ) : void
ByteArrayIndexedWrite ( int index, int @base, int value ) : void
ByteArrayRead ( int @base ) : void
ByteArrayWrite ( int @base, int value ) : void
ByteVarDec ( ) : void
ByteVarInc ( ) : void
Capture ( VirtScreen screen, int x, int y, int w, int h ) : byte[]
ColorWeight ( int red, int green, int blue ) : int
CopyPalColor ( int dst, int src ) : void
CreateBlastObjects ( ) : NScumm.Scumm.BlastObject[]
CreateBlastTexts ( ) : NScumm.Scumm.BlastText[]
CreateBoxMatrix ( ) : void
CursorCommand ( ) : void
Cutscene ( int args ) : void
Delay ( int delay ) : void
DelayFrames ( ) : void
DelayMinutes ( int minutes ) : void
DelaySeconds ( int seconds ) : void
Dim2DimArray ( int dim2, int dim1 ) : void
DimArray ( ) : void
DistObjectObject ( int a, int b ) : void
DistObjectPt ( int a, int b, int c ) : void
DistObjectPtPt ( int a, int b, int c, int d ) : void
Div ( int a, int b ) : void
DoSentence ( byte verb, ushort objectA, int tmp, ushort objectB ) : void
DrawBlastObject ( int a, int b, int c, int d, int e, int args ) : void
DrawBox ( int x, int y, int x2, int y2, int color ) : void
DrawObject ( int obj, int state ) : void
DrawObjectAt ( int obj, int x, int y ) : void
Dummy ( ) : void
Dup ( int value ) : void
EndCutscene ( ) : void
EndOverride ( ) : void
Eq ( int a, int b ) : void
FaceActor ( int index, int obj ) : void
FindAllObjects ( int room ) : void
FindFreeArrayId ( ) : int
FindInventory ( int owner, int index ) : void
FindObject ( int x, int y ) : void
FreezeUnfreeze ( int script ) : void
Ge ( int a, int b ) : void
GetActorAnimCounter ( int index ) : 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
GetAnimateVariable ( int index, int variable ) : void
GetArray ( uint array ) : ArrayHeader
GetDateTime ( ) : void
GetDebuggerDisplayFor ( object value ) : string
GetDebuggerDisplayForArray ( int values ) : string
GetDepth ( Type type ) : int
GetDistanceBetween ( bool isObj1, int b, int c, bool isObj2, int e, int f ) : int
GetInventoryCount ( int owner ) : void
GetObjNewDir ( int index ) : int
GetObjOldDir ( int index ) : int
GetObjectNewDir ( int index ) : void
GetObjectOldDir ( int index ) : void
GetObjectX ( int index ) : void
GetObjectY ( int index ) : void
GetOwner ( int obj ) : void
GetPixel ( int x, int y ) : void
GetRandomNumber ( int max ) : void
GetRandomNumberRange ( int min, int max ) : void
GetState ( int obj ) : void
GetVerbEntrypoint ( int verb, int entryp ) : void
GetVerbFromXY ( int x, int y ) : void
GrabPixels ( ImageData im, int w, int h ) : byte[]
Gt ( int a, int b ) : void
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
IsRoomScriptRunning ( int script ) : void
IsRoomScriptRunningCore ( int script ) : bool
IsScriptRunning ( int script ) : void
IsSoundRunning ( int sound ) : void
Jump ( ) : void
JumpToScript ( int flags, int script, int args ) : void
KernelGetFunctions ( ) : void
KernelSetFunctions ( ) : 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
Mul ( int a, int b ) : void
NEq ( int a, int b ) : void
Not ( int value ) : void
OpCode ( MethodInfo method ) : System.Action
PanCameraTo ( ) : void
PickOneOf ( int i, int args ) : void
PickOneOfDefault ( int i, int args, int def ) : void
PickVarRandom ( int args ) : void
PickupObject ( ) : void
Pop6 ( ) : void
PrintActor ( ) : void
PrintDebug ( ) : void
PrintEgo ( ) : void
PrintLine ( ) : void
PrintSystem ( ) : void
PrintText ( ) : void
PseudoRoom ( byte value, int args ) : void
PushByte ( ) : void
PushByteVar ( ) : void
PushWord ( ) : 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
SetBlastObjectWindow ( int a, int b, int c, int d ) : void
SetBoxFlags ( int args, int value ) : void
SetBoxSet ( ) : void
SetCameraAt ( ) : void
SetClass ( int obj, int args ) : void
SetCursorFromBuffer ( byte data, int width, int height ) : void
SetObjectName ( int obj ) : void
SetOwner ( int obj, int owner ) : void
SetState ( int obj, int state ) : void
Shuffle ( int a, int b ) : void
ShuffleArray ( uint num, int minIdx, int maxIdx ) : void
SoundKludge ( int args ) : void
StampObject ( int obj, int x, int y, int state ) : 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
StopMusic ( ) : void
StopObjectCode6 ( ) : void
StopObjectScript ( ushort script ) : void
StopScript6 ( int script ) : void
StopSentence ( ) : void
StopSound ( int sound ) : void
StopTalking ( ) : void
Sub ( int a, int b ) : void
SwapPalColors ( int a, int b ) : void
SystemOps ( ) : void
TalkActor ( int actor ) : void
TalkEgo ( ) : void
UpdateCursor ( ) : void
VerbOps ( ) : void
Wait ( ) : 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
WriteByteVar ( int value ) : void
WriteWordVar ( int value ) : void

Method Details

ClearDrawObjectQueue() protected méthode

protected ClearDrawObjectQueue ( ) : void
Résultat void

DecodeParseString() protected méthode

protected DecodeParseString ( int m, int n ) : void
m int
n int
Résultat void

DefineArray() protected méthode

protected DefineArray ( uint array, ArrayType type, int dim2, int dim1 ) : ArrayHeader
array uint
type ArrayType
dim2 int
dim1 int
Résultat ArrayHeader

DelayCore() protected méthode

protected DelayCore ( int delay ) : void
delay int
Résultat void

DrawBlastObject() protected méthode

protected DrawBlastObject ( BlastObject eo ) : void
eo BlastObject
Résultat void

DrawBlastObjects() protected méthode

protected DrawBlastObjects ( ) : void
Résultat void

DrawBlastTexts() protected méthode

protected DrawBlastTexts ( ) : void
Résultat void

DrawDirtyScreenParts() protected méthode

protected DrawDirtyScreenParts ( ) : void
Résultat void

EnqueueObject() protected méthode

protected EnqueueObject ( int objectNumber, int objectX, int objectY, int objectWidth, int objectHeight, int scaleX, int scaleY, int image, int mode ) : void
objectNumber int
objectX int
objectY int
objectWidth int
objectHeight int
scaleX int
scaleY int
image int
mode int
Résultat void

EnqueueText() protected méthode

protected EnqueueText ( byte text, int x, int y, byte color, byte charset, bool center ) : void
text byte
x int
y int
color byte
charset byte
center bool
Résultat void

GetObjectRoom() protected méthode

protected GetObjectRoom ( int obj ) : int
obj int
Résultat int

GetSpecialBox() protected méthode

protected GetSpecialBox ( System.Point p ) : int
p System.Point
Résultat int

GetStackList() protected méthode

protected GetStackList ( int max ) : int[]
max int
Résultat int[]

GetStringAt() protected méthode

protected GetStringAt ( int index ) : byte[]
index int
Résultat byte[]

GrabCursor() protected méthode

protected GrabCursor ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
Résultat void

InitOpCodes() protected méthode

protected InitOpCodes ( ) : void
Résultat void

KillAllScriptsExceptCurrent() protected méthode

protected KillAllScriptsExceptCurrent ( ) : void
Résultat void

NukeArray() protected méthode

protected NukeArray ( uint a ) : void
a uint
Résultat void

PalManipulateInit() protected méthode

protected PalManipulateInit ( int resID, int start, int end, int time ) : void
resID int
start int
end int
time int
Résultat void

Pop() protected méthode

protected Pop ( ) : int
Résultat int

PopRoomAndObj() protected méthode

protected PopRoomAndObj ( int &room, int &obj ) : void
room int
obj int
Résultat void

ProcessUpperActors() protected méthode

protected ProcessUpperActors ( ) : void
Résultat void

Push() protected méthode

protected Push ( bool value ) : void
value bool
Résultat void

Push() protected méthode

protected Push ( int value ) : void
value int
Résultat void

PutActors() protected méthode

protected PutActors ( ) : void
Résultat void

ReadArray() public méthode

public ReadArray ( uint array, int idx, int @base ) : int
array uint
idx int
@base int
Résultat int

RemapPaletteColor() protected méthode

protected RemapPaletteColor ( int r, int g, int b, int threshold ) : int
r int
g int
b int
threshold int
Résultat int

RemoveBlastObject() protected méthode

protected RemoveBlastObject ( BlastObject eo ) : void
eo BlastObject
Résultat void

RemoveBlastObjects() protected méthode

protected RemoveBlastObjects ( ) : void
Résultat void

RemoveBlastTexts() protected méthode

protected RemoveBlastTexts ( ) : void
Résultat void

ResetScummVars() protected méthode

protected ResetScummVars ( ) : void
Résultat void

ScummEngine6() public méthode

public ScummEngine6 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System
game GameSettings
graphicsManager IGraphicsManager
inputManager IInputManager
mixer IMixer
Résultat System

SetCursorFromImg() protected méthode

protected SetCursorFromImg ( int obj, int room, int index ) : void
obj int
room int
index int
Résultat void

SetCursorHotspot() protected méthode

protected SetCursorHotspot ( System.Point pos ) : void
pos System.Point
Résultat void

SetCursorTransparency() protected méthode

protected SetCursorTransparency ( int a ) : void
a int
Résultat void

SetDefaultCursor() protected méthode

protected SetDefaultCursor ( ) : void
Résultat void

SetObjectState() protected méthode

protected SetObjectState ( int obj, int state, int x, int y ) : void
obj int
state int
x int
y int
Résultat void

SetupVars() protected méthode

protected SetupVars ( ) : void
Résultat void

WriteArray() public méthode

public WriteArray ( uint array, int idx, int @base, int value ) : void
array uint
idx int
@base int
value int
Résultat void

Property Details

VariableBlastAboveText protected_oe property

protected int? VariableBlastAboveText
Résultat int?

VariableCameraFollowedActor protected_oe property

protected int? VariableCameraFollowedActor
Résultat int?

VariableCharsetMask protected_oe property

protected int? VariableCharsetMask
Résultat int?

VariableRandomNumber protected_oe property

protected int? VariableRandomNumber
Résultat int?

VariableTimeDateDay protected_oe property

protected int VariableTimeDateDay
Résultat int

VariableTimeDateHour protected_oe property

protected int VariableTimeDateHour
Résultat int

VariableTimeDateMinute protected_oe property

protected int VariableTimeDateMinute
Résultat int

VariableTimeDateMonth protected_oe property

protected int VariableTimeDateMonth
Résultat int

VariableTimeDateSecond protected_oe property

protected int? VariableTimeDateSecond
Résultat int?

VariableTimeDateYear protected_oe property

protected int VariableTimeDateYear
Résultat int

_blastObjectQueue protected_oe property

protected BlastObject[],NScumm.Scumm _blastObjectQueue
Résultat NScumm.Scumm.BlastObject[]

_blastObjectQueuePos protected_oe property

protected int _blastObjectQueuePos
Résultat int

_curActor protected_oe property

protected int _curActor
Résultat int

_curVerb protected_oe property

protected int _curVerb
Résultat int

_curVerbSlot protected_oe property

protected int _curVerbSlot
Résultat int

_skipVideo protected_oe property

protected bool _skipVideo
Résultat bool