C# Класс NScumm.Scumm.ScummEngine0

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ScummEngine0 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ActorToObj() защищенный Метод

protected ActorToObj ( int actor ) : int
actor int
Результат int

AreBoxesNeighbors() защищенный Метод

protected AreBoxesNeighbors ( byte box1nr, byte box2nr ) : bool
box1nr byte
box2nr byte
Результат bool

CheckAndRunSentenceScript() защищенный Метод

protected CheckAndRunSentenceScript ( ) : void
Результат void

CheckExecVerbs() защищенный Метод

protected CheckExecVerbs ( ) : void
Результат void

DecodeParseString() защищенный Метод

protected DecodeParseString ( ) : void
Результат void

GetActiveObject() защищенный Метод

protected GetActiveObject ( ) : int
Результат int

GetObjectOwner() защищенный Метод

protected GetObjectOwner ( ) : void
Результат void

GetVarOrDirectWord() защищенный Метод

protected GetVarOrDirectWord ( OpCodeParameter param ) : int
param OpCodeParameter
Результат int

InitOpCodes() защищенный Метод

protected InitOpCodes ( ) : void
Результат void

IsActor() защищенный Метод

protected IsActor ( int id ) : bool
id int
Результат bool

Loop() защищенный Метод

protected Loop ( ) : TimeSpan
Результат TimeSpan

ObjToActor() защищенный Метод

protected ObjToActor ( int id ) : int
id int
Результат int

Print() защищенный Метод

protected Print ( ) : void
Результат void

PrintEgo() защищенный Метод

protected PrintEgo ( ) : void
Результат void

ReadWord() защищенный Метод

protected ReadWord ( ) : uint
Результат uint

ReadWordSigned() защищенный Метод

protected ReadWordSigned ( ) : int
Результат int

ResetScummVars() защищенный Метод

protected ResetScummVars ( ) : void
Результат void

ScummEngine0() публичный Метод

public ScummEngine0 ( GameSettings game, IGraphicsManager graphicsManager, IInputManager inputManager, IMixer mixer ) : System
game GameSettings
graphicsManager IGraphicsManager
inputManager IInputManager
mixer IMixer
Результат System

SetObjectName() защищенный Метод

protected SetObjectName ( ) : void
Результат void

SetOwnerOf() защищенный Метод

protected SetOwnerOf ( ) : void
Результат void

SetupVars() защищенный Метод

protected SetupVars ( ) : void
Результат void