ScummVM API documentation
Made::ScriptFunctions Class Reference

Public Member Functions

 ScriptFunctions (MadeEngine *vm)
 
int16 callFunction (uint16 index, int16 argc, int16 *argv)
 
void setupExternalsTable ()
 
const char * getFuncName (int index)
 
int getCount () const
 
void stopSound ()
 

Protected Member Functions

int16 sfSystemCall (int16 argc, int16 *argv)
 
int16 sfInitGraf (int16 argc, int16 *argv)
 
int16 sfRestoreGraf (int16 argc, int16 *argv)
 
int16 sfDrawPicture (int16 argc, int16 *argv)
 
int16 sfClearScreen (int16 argc, int16 *argv)
 
int16 sfShowPage (int16 argc, int16 *argv)
 
int16 sfPollEvent (int16 argc, int16 *argv)
 
int16 sfGetMouseX (int16 argc, int16 *argv)
 
int16 sfGetMouseY (int16 argc, int16 *argv)
 
int16 sfGetKey (int16 argc, int16 *argv)
 
int16 sfSetVisualEffect (int16 argc, int16 *argv)
 
int16 sfPlaySound (int16 argc, int16 *argv)
 
int16 sfPlayMusic (int16 argc, int16 *argv)
 
int16 sfStopMusic (int16 argc, int16 *argv)
 
int16 sfIsMusicPlaying (int16 argc, int16 *argv)
 
int16 sfSetTextPos (int16 argc, int16 *argv)
 
int16 sfFlashScreen (int16 argc, int16 *argv)
 
int16 sfPlayNote (int16 argc, int16 *argv)
 
int16 sfStopNote (int16 argc, int16 *argv)
 
int16 sfPlayTele (int16 argc, int16 *argv)
 
int16 sfStopTele (int16 argc, int16 *argv)
 
int16 sfHideMouseCursor (int16 argc, int16 *argv)
 
int16 sfShowMouseCursor (int16 argc, int16 *argv)
 
int16 sfGetMusicBeat (int16 argc, int16 *argv)
 
int16 sfSetScreenLock (int16 argc, int16 *argv)
 
int16 sfAddSprite (int16 argc, int16 *argv)
 
int16 sfFreeAnim (int16 argc, int16 *argv)
 
int16 sfDrawSprite (int16 argc, int16 *argv)
 
int16 sfEraseSprites (int16 argc, int16 *argv)
 
int16 sfUpdateSprites (int16 argc, int16 *argv)
 
int16 sfGetTimer (int16 argc, int16 *argv)
 
int16 sfSetTimer (int16 argc, int16 *argv)
 
int16 sfResetTimer (int16 argc, int16 *argv)
 
int16 sfAllocTimer (int16 argc, int16 *argv)
 
int16 sfFreeTimer (int16 argc, int16 *argv)
 
int16 sfSetPaletteLock (int16 argc, int16 *argv)
 
int16 sfSetFont (int16 argc, int16 *argv)
 
int16 sfDrawText (int16 argc, int16 *argv)
 
int16 sfHomeText (int16 argc, int16 *argv)
 
int16 sfSetTextRect (int16 argc, int16 *argv)
 
int16 sfSetTextXY (int16 argc, int16 *argv)
 
int16 sfSetFontDropShadow (int16 argc, int16 *argv)
 
int16 sfSetFontColor (int16 argc, int16 *argv)
 
int16 sfSetFontOutline (int16 argc, int16 *argv)
 
int16 sfLoadMouseCursor (int16 argc, int16 *argv)
 
int16 sfSetSpriteGround (int16 argc, int16 *argv)
 
int16 sfLoadResText (int16 argc, int16 *argv)
 
int16 sfSetClipArea (int16 argc, int16 *argv)
 
int16 sfSetSpriteClip (int16 argc, int16 *argv)
 
int16 sfAddScreenMask (int16 argc, int16 *argv)
 
int16 sfSetSpriteMask (int16 argc, int16 *argv)
 
int16 sfSoundPlaying (int16 argc, int16 *argv)
 
int16 sfStopSound (int16 argc, int16 *argv)
 
int16 sfPlayVoice (int16 argc, int16 *argv)
 
int16 sfPlayCd (int16 argc, int16 *argv)
 
int16 sfStopCd (int16 argc, int16 *argv)
 
int16 sfGetCdStatus (int16 argc, int16 *argv)
 
int16 sfGetCdTime (int16 argc, int16 *argv)
 
int16 sfPlayCdSegment (int16 argc, int16 *argv)
 
int16 sfPrintf (int16 argc, int16 *argv)
 
int16 sfClearMono (int16 argc, int16 *argv)
 
int16 sfGetSoundEnergy (int16 argc, int16 *argv)
 
int16 sfClearText (int16 argc, int16 *argv)
 
int16 sfAnimText (int16 argc, int16 *argv)
 
int16 sfGetTextWidth (int16 argc, int16 *argv)
 
int16 sfPlayMovie (int16 argc, int16 *argv)
 
int16 sfLoadSound (int16 argc, int16 *argv)
 
int16 sfLoadMusic (int16 argc, int16 *argv)
 
int16 sfLoadPicture (int16 argc, int16 *argv)
 
int16 sfSetMusicVolume (int16 argc, int16 *argv)
 
int16 sfRestartEvents (int16 argc, int16 *argv)
 
int16 sfPlaceSprite (int16 argc, int16 *argv)
 
int16 sfPlaceText (int16 argc, int16 *argv)
 
int16 sfDeleteChannel (int16 argc, int16 *argv)
 
int16 sfGetChannelType (int16 argc, int16 *argv)
 
int16 sfSetChannelState (int16 argc, int16 *argv)
 
int16 sfSetChannelLocation (int16 argc, int16 *argv)
 
int16 sfSetChannelContent (int16 argc, int16 *argv)
 
int16 sfSetExcludeArea (int16 argc, int16 *argv)
 
int16 sfSetSpriteExclude (int16 argc, int16 *argv)
 
int16 sfGetChannelState (int16 argc, int16 *argv)
 
int16 sfPlaceAnim (int16 argc, int16 *argv)
 
int16 sfSetAnimFrame (int16 argc, int16 *argv)
 
int16 sfGetAnimFrame (int16 argc, int16 *argv)
 
int16 sfGetAnimFrameCount (int16 argc, int16 *argv)
 
int16 sfGetPictureWidth (int16 argc, int16 *argv)
 
int16 sfGetPictureHeight (int16 argc, int16 *argv)
 
int16 sfSetSoundRate (int16 argc, int16 *argv)
 
int16 sfDrawAnimPic (int16 argc, int16 *argv)
 
int16 sfLoadAnim (int16 argc, int16 *argv)
 
int16 sfReadText (int16 argc, int16 *argv)
 
int16 sfReadMenu (int16 argc, int16 *argv)
 
int16 sfDrawMenu (int16 argc, int16 *argv)
 
int16 sfGetMenuCount (int16 argc, int16 *argv)
 
int16 sfSaveGame (int16 argc, int16 *argv)
 
int16 sfLoadGame (int16 argc, int16 *argv)
 
int16 sfGetGameDescription (int16 argc, int16 *argv)
 
int16 sfShakeScreen (int16 argc, int16 *argv)
 
int16 sfPlaceMenu (int16 argc, int16 *argv)
 
int16 sfSetSoundVolume (int16 argc, int16 *argv)
 
int16 sfGetSynthType (int16 argc, int16 *argv)
 
int16 sfIsSlowSystem (int16 argc, int16 *argv)
 

Protected Attributes

MadeEngine_vm
 
Audio::SoundHandle _audioStreamHandle
 
Audio::SoundHandle _voiceStreamHandle
 
SoundResource_soundResource
 
bool _soundStarted
 
int _soundCheckLength
 
uint8 _gameAudioVolume
 
Audio::SoundHandle _pcSpeakerHandle1
 
Audio::SoundHandle _pcSpeakerHandle2
 
Audio::PCSpeaker_pcSpeaker1
 
Audio::PCSpeaker_pcSpeaker2
 
Common::Array< const ExternalFunc * > _externalFuncs
 
Common::Array< const char * > _externalFuncNames
 
GenericResource_musicRes
 

The documentation for this class was generated from the following file: