Public Member Functions | |
MusicMidiNode (ZVision *engine, uint32 key, int8 program, int8 note, int8 volume) | |
bool | process (uint32 deltaTimeInMillis) override |
void | setVolume (uint8 volume) override |
uint8 | getVolume () override |
void | setDeltaVolume (uint8 volume) override |
void | setBalance (int8 balance) override |
void | setFade (int32 time, uint8 target) override |
Public Member Functions inherited from ZVision::MusicNodeBASE | |
MusicNodeBASE (ZVision *engine, uint32 key, ScriptingEffectType type) | |
Public Member Functions inherited from ZVision::ScriptingEffect | |
ScriptingEffect (ZVision *engine, uint32 key, ScriptingEffectType type) | |
uint32 | getKey () |
ScriptingEffectType | getType () |
virtual void | serialize (Common::WriteStream *stream) |
virtual void | deserialize (Common::SeekableReadStream *stream) |
virtual bool | needsSerialization () |
virtual bool | stop () |
virtual void | kill () |
Additional Inherited Members | |
Public Types inherited from ZVision::ScriptingEffect | |
enum | ScriptingEffectType { SCRIPTING_EFFECT_ANIM = 1, SCRIPTING_EFFECT_AUDIO = 2, SCRIPTING_EFFECT_DISTORT = 4, SCRIPTING_EFFECT_PANTRACK = 8, SCRIPTING_EFFECT_REGION = 16, SCRIPTING_EFFECT_TIMER = 32, SCRIPTING_EFFECT_TTYTXT = 64, SCRIPTING_EFFECT_UNKNOWN = 128, SCRIPTING_EFFECT_ALL = 255 } |
Protected Attributes inherited from ZVision::ScriptingEffect | |
ZVision * | _engine |
uint32 | _key |
ScriptingEffectType | _type |
|
overridevirtual |
Decrement the timer by the delta time. If the timer is finished, set the status in _globalState and let this node be deleted
deltaTimeInMillis | The number of milliseconds that have passed since last frame |
Implements ZVision::MusicNodeBASE.