C# Class FSO.HIT.HITInterpreter

Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
Instructions HITInstruction[]

Méthodes publiques

Méthode Description
Abs ( HITThread thread ) : HITResult
Add ( HITThread thread ) : HITResult

Increment a "dest" variable by a "src" variable.

AddToGroup ( HITThread thread ) : HITResult
And ( HITThread thread ) : HITResult
Assert ( HITThread thread ) : HITResult
Call ( HITThread thread ) : HITResult

Call a function; push the instruction pointer and jump to the given address.

CallEntryPoint ( HITThread thread ) : HITResult
CallMask ( HITThread thread ) : HITResult
CallPush ( HITThread thread ) : HITResult
Callback ( HITThread thread ) : HITResult
Cmp ( HITThread thread ) : HITResult

Compare two variables and set the flags.

Dec ( HITThread thread ) : HITResult
Div ( HITThread thread ) : HITResult

Divide a "dest" variable by a "src" variable, and round the result towards zero (truncate).

Duck ( HITThread thread ) : HITResult

Ducks all audio with priority lower than this. Imagine all the other sounds getting quieter when the fire music plays.

End ( HITThread thread ) : HITResult

Return from this function; pop the instruction pointer from the stack and jump.

Error ( HITThread thread ) : HITResult
GetSrcDataField ( HITThread thread ) : HITResult
GetVar ( HITThread thread ) : HITResult
Greater ( HITThread thread ) : HITResult
IfEqual ( HITThread thread ) : HITResult

If the zero flag is set, jump to the given address.

IfGreatOrEq ( HITThread thread ) : HITResult

If the sign flag is not set, jump to the given address.

IfGreater ( HITThread thread ) : HITResult

If the sign flag is not set and the zero flag is not set, jump to the given address

IfLess ( HITThread thread ) : HITResult

If the sign flag is set, jump to the given address.

IfLessOrEq ( HITThread thread ) : HITResult

If the sign flag is set or the zero flag is set, jump to the given address.

IfNotEqual ( HITThread thread ) : HITResult

If the zero flag is not set, jump to the given address.

Inc ( HITThread thread ) : HITResult
Jump ( HITThread thread ) : HITResult

Jump to a given address.

KillNote ( HITThread thread ) : HITResult
KillTrack ( HITThread thread ) : HITResult

Kill a track, whose ID resides in the specified variable.

Less ( HITThread thread ) : HITResult
Limit ( HITThread thread ) : HITResult
LoadB ( HITThread thread ) : HITResult

Sign-extend a 1-byte constant to 4 bytes and write to a variable.

LoadL ( HITThread thread ) : HITResult

Write a 4-byte constant to a variable.

Loop ( HITThread thread ) : HITResult

Jump back to the loop point (start of track subroutine by default).

Max ( HITThread thread ) : HITResult

Find the higher of a "dest" variable and a "src" constant and store the result in the variable.

Min ( HITThread thread ) : HITResult

Find the lower of a "dest" variable and a "src" constant and store the result in the variable.

Mul ( HITThread thread ) : HITResult

Multiply a "dest" variable by a "src" variable.

NAnd ( HITThread thread ) : HITResult
NOP ( HITThread thread ) : HITResult

Does nothing.

NOr ( HITThread thread ) : HITResult
Not ( HITThread thread ) : HITResult
Note ( HITThread thread ) : HITResult
NoteOff ( HITThread thread ) : HITResult
NoteOn ( HITThread thread ) : HITResult

Play a note, whose ID resides in the specified variable.

NoteOnLoop ( HITThread thread ) : HITResult
Or ( HITThread thread ) : HITResult
PlayNote ( HITThread thread ) : HITResult
PlayTrack ( HITThread thread ) : HITResult

Play a track, whose ID resides in the specified variable.

Pop ( HITThread thread ) : HITResult
PrintReg ( HITThread thread ) : HITResult
Push ( HITThread thread ) : HITResult
PushMask ( HITThread thread ) : HITResult
PushVars ( HITThread thread ) : HITResult
Rand ( HITThread thread ) : HITResult

Generate a random number between "low" and "high" variables, inclusive, and store the result in the "dest" variable.

RemoveFromGroup ( HITThread thread ) : HITResult
Return ( HITThread thread ) : HITResult

Kill this thread.

SeqGroupKill ( HITThread thread ) : HITResult

Kill an actor's vocals, given a constant ID.

SeqGroupReturn ( HITThread thread ) : HITResult

Kill a sequence group with the return value specified by a constant.

SeqGroupTrackID ( HITThread thread ) : HITResult
SeqGroupWait ( HITThread thread ) : HITResult
Set ( HITThread thread ) : HITResult

Copy the contents of one variable into another.

SetChanReg ( HITThread thread ) : HITResult
SetGL ( HITThread thread ) : HITResult

Read globally, set locally (source: defaultsyms.txt).

SetLG ( HITThread thread ) : HITResult

Set global = local (source: defaultsyms.txt).

SetLL ( HITThread thread ) : HITResult

Copy the contents of one variable into another (equivalent to set and settt; defaultsyms.txt says "ISN'T THIS THE SAME AS SET TOO?")

SetLT ( HITThread thread ) : HITResult
SetLoop ( HITThread thread ) : HITResult

Set the loop point to the current position.

SetSrcDataField ( HITThread thread ) : HITResult
SetTL ( HITThread thread ) : HITResult
SmartAdd ( HITThread thread ) : HITResult
SmartChoose ( HITThread thread ) : HITResult

Set the specified variable to a random entry from the selected hitlist.

SmartIndex ( HITThread thread ) : HITResult

Load a track ("index" variable) from a hitlist ("table" variable).

SmartRemove ( HITThread thread ) : HITResult
SmartRemoveAll ( HITThread thread ) : HITResult
SmartSetCrit ( HITThread thread ) : HITResult
SmartSetList ( HITThread thread ) : HITResult

Choose a global hitlist, or 0 for the one local to the track (source: defaultsyms.txt).

StopNote ( HITThread thread ) : HITResult
StopTrack ( HITThread thread ) : HITResult

Stop playing a track, whose ID resides in the specified variable.

Sub ( HITThread thread ) : HITResult

Decrement a "dest" variable by a "src" variable.

Test ( HITThread thread ) : HITResult

Examine a variable and set the flags.

Test1 ( HITThread thread ) : HITResult
Test2 ( HITThread thread ) : HITResult
Test3 ( HITThread thread ) : HITResult
Test4 ( HITThread thread ) : HITResult
TestX ( HITThread thread ) : HITResult
Throw ( HITThread thread ) : HITResult
Unduck ( HITThread thread ) : HITResult

Unducks all audio back to the volume before Duck() was called.

Wait ( HITThread thread ) : HITResult

Wait for a length of time in milliseconds, specified by a variable.

WaitEqual ( HITThread thread ) : HITResult

Wait until two variables are equal.

WaitGreatOrEq ( HITThread thread ) : HITResult
WaitGreater ( HITThread thread ) : HITResult
WaitLess ( HITThread thread ) : HITResult
WaitLessOrEq ( HITThread thread ) : HITResult
WaitNotEqual ( HITThread thread ) : HITResult
WaitSamp ( HITThread thread ) : HITResult

Wait for the previously selected note to finish playing.

XOr ( HITThread thread ) : HITResult

Method Details

Abs() public static méthode

public static Abs ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Add() public static méthode

Increment a "dest" variable by a "src" variable.
public static Add ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

AddToGroup() public static méthode

public static AddToGroup ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

And() public static méthode

public static And ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Assert() public static méthode

public static Assert ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Call() public static méthode

Call a function; push the instruction pointer and jump to the given address.
public static Call ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

CallEntryPoint() public static méthode

public static CallEntryPoint ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

CallMask() public static méthode

public static CallMask ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

CallPush() public static méthode

public static CallPush ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Callback() public static méthode

public static Callback ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Cmp() public static méthode

Compare two variables and set the flags.
public static Cmp ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Dec() public static méthode

public static Dec ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Div() public static méthode

Divide a "dest" variable by a "src" variable, and round the result towards zero (truncate).
public static Div ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Duck() public static méthode

Ducks all audio with priority lower than this. Imagine all the other sounds getting quieter when the fire music plays.
public static Duck ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

End() public static méthode

Return from this function; pop the instruction pointer from the stack and jump.
public static End ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Error() public static méthode

public static Error ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

GetSrcDataField() public static méthode

public static GetSrcDataField ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

GetVar() public static méthode

public static GetVar ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Greater() public static méthode

public static Greater ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfEqual() public static méthode

If the zero flag is set, jump to the given address.
public static IfEqual ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfGreatOrEq() public static méthode

If the sign flag is not set, jump to the given address.
public static IfGreatOrEq ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfGreater() public static méthode

If the sign flag is not set and the zero flag is not set, jump to the given address
public static IfGreater ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfLess() public static méthode

If the sign flag is set, jump to the given address.
public static IfLess ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfLessOrEq() public static méthode

If the sign flag is set or the zero flag is set, jump to the given address.
public static IfLessOrEq ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

IfNotEqual() public static méthode

If the zero flag is not set, jump to the given address.
public static IfNotEqual ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Inc() public static méthode

public static Inc ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Jump() public static méthode

Jump to a given address.
public static Jump ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

KillNote() public static méthode

public static KillNote ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

KillTrack() public static méthode

Kill a track, whose ID resides in the specified variable.
public static KillTrack ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Less() public static méthode

public static Less ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Limit() public static méthode

public static Limit ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

LoadB() public static méthode

Sign-extend a 1-byte constant to 4 bytes and write to a variable.
public static LoadB ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

LoadL() public static méthode

Write a 4-byte constant to a variable.
public static LoadL ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Loop() public static méthode

Jump back to the loop point (start of track subroutine by default).
public static Loop ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Max() public static méthode

Find the higher of a "dest" variable and a "src" constant and store the result in the variable.
public static Max ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Min() public static méthode

Find the lower of a "dest" variable and a "src" constant and store the result in the variable.
public static Min ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Mul() public static méthode

Multiply a "dest" variable by a "src" variable.
public static Mul ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NAnd() public static méthode

public static NAnd ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NOP() public static méthode

Does nothing.
public static NOP ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NOr() public static méthode

public static NOr ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Not() public static méthode

public static Not ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Note() public static méthode

public static Note ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NoteOff() public static méthode

public static NoteOff ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NoteOn() public static méthode

Play a note, whose ID resides in the specified variable.
public static NoteOn ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

NoteOnLoop() public static méthode

public static NoteOnLoop ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Or() public static méthode

public static Or ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

PlayNote() public static méthode

public static PlayNote ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

PlayTrack() public static méthode

Play a track, whose ID resides in the specified variable.
public static PlayTrack ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Pop() public static méthode

public static Pop ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

PrintReg() public static méthode

public static PrintReg ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Push() public static méthode

public static Push ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

PushMask() public static méthode

public static PushMask ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

PushVars() public static méthode

public static PushVars ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Rand() public static méthode

Generate a random number between "low" and "high" variables, inclusive, and store the result in the "dest" variable.
public static Rand ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

RemoveFromGroup() public static méthode

public static RemoveFromGroup ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Return() public static méthode

Kill this thread.
public static Return ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SeqGroupKill() public static méthode

Kill an actor's vocals, given a constant ID.
public static SeqGroupKill ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SeqGroupReturn() public static méthode

Kill a sequence group with the return value specified by a constant.
public static SeqGroupReturn ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SeqGroupTrackID() public static méthode

public static SeqGroupTrackID ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SeqGroupWait() public static méthode

public static SeqGroupWait ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Set() public static méthode

Copy the contents of one variable into another.
public static Set ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetChanReg() public static méthode

public static SetChanReg ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetGL() public static méthode

Read globally, set locally (source: defaultsyms.txt).
public static SetGL ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetLG() public static méthode

Set global = local (source: defaultsyms.txt).
public static SetLG ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetLL() public static méthode

Copy the contents of one variable into another (equivalent to set and settt; defaultsyms.txt says "ISN'T THIS THE SAME AS SET TOO?")
public static SetLL ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetLT() public static méthode

public static SetLT ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetLoop() public static méthode

Set the loop point to the current position.
public static SetLoop ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetSrcDataField() public static méthode

public static SetSrcDataField ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SetTL() public static méthode

public static SetTL ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartAdd() public static méthode

public static SmartAdd ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartChoose() public static méthode

Set the specified variable to a random entry from the selected hitlist.
public static SmartChoose ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartIndex() public static méthode

Load a track ("index" variable) from a hitlist ("table" variable).
public static SmartIndex ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartRemove() public static méthode

public static SmartRemove ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartRemoveAll() public static méthode

public static SmartRemoveAll ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartSetCrit() public static méthode

public static SmartSetCrit ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

SmartSetList() public static méthode

Choose a global hitlist, or 0 for the one local to the track (source: defaultsyms.txt).
public static SmartSetList ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

StopNote() public static méthode

public static StopNote ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

StopTrack() public static méthode

Stop playing a track, whose ID resides in the specified variable.
public static StopTrack ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Sub() public static méthode

Decrement a "dest" variable by a "src" variable.
public static Sub ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Test() public static méthode

Examine a variable and set the flags.
public static Test ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Test1() public static méthode

public static Test1 ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Test2() public static méthode

public static Test2 ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Test3() public static méthode

public static Test3 ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Test4() public static méthode

public static Test4 ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

TestX() public static méthode

public static TestX ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Throw() public static méthode

public static Throw ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Unduck() public static méthode

Unducks all audio back to the volume before Duck() was called.
public static Unduck ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Wait() public static méthode

Wait for a length of time in milliseconds, specified by a variable.
public static Wait ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitEqual() public static méthode

Wait until two variables are equal.
public static WaitEqual ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitGreatOrEq() public static méthode

public static WaitGreatOrEq ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitGreater() public static méthode

public static WaitGreater ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitLess() public static méthode

public static WaitLess ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitLessOrEq() public static méthode

public static WaitLessOrEq ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitNotEqual() public static méthode

public static WaitNotEqual ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

WaitSamp() public static méthode

Wait for the previously selected note to finish playing.
public static WaitSamp ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

XOr() public static méthode

public static XOr ( HITThread thread ) : HITResult
thread HITThread
Résultat HITResult

Property Details

Instructions public_oe static_oe property

public static HITInstruction[] Instructions
Résultat HITInstruction[]