ScummVM API documentation
AGS3::IAGSEngine Class Reference

Public Member Functions

virtual void AbortGame (const char *reason)
 
virtual const char * GetEngineVersion ()
 
virtual void RegisterScriptFunction (const char *name, Plugins::ScriptContainer *instance)
 
virtual void RegisterBuiltInFunction (const char *name, Plugins::ScriptContainer *instance)
 
virtual BITMAPGetScreen ()
 
virtual void RequestEventHook (int32 event)
 
virtual int GetSavedData (char *buffer, int32 bufsize)
 
virtual BITMAPGetVirtualScreen ()
 
virtual void DrawText (int32 x, int32 y, int32 font, int32 color, const char *text)
 
virtual void GetScreenDimensions (int32 *width, int32 *height, int32 *coldepth)
 
virtual int GetBitmapPitch (BITMAP *)
 
virtual uint8 * GetRawBitmapSurface (BITMAP *)
 
virtual void ReleaseBitmapSurface (BITMAP *)
 
virtual void GetMousePosition (int32 *x, int32 *y)
 
virtual int GetCurrentRoom ()
 
virtual int GetNumBackgrounds ()
 
virtual int GetCurrentBackground ()
 
virtual BITMAPGetBackgroundScene (int32)
 
virtual void GetBitmapDimensions (BITMAP *bmp, int32 *width, int32 *height, int32 *coldepth)
 
virtual int FWrite (void *, int32, int32)
 
virtual int FRead (void *, int32, int32)
 
virtual bool FSeek (soff_t offset, int origin, int32 handle)
 
virtual void DrawTextWrapped (int32 x, int32 y, int32 width, int32 font, int32 color, const char *text)
 
virtual void SetVirtualScreen (BITMAP *)
 
virtual int LookupParserWord (const char *word)
 
virtual void BlitBitmap (int32 x, int32 y, BITMAP *, int32 masked)
 
virtual void PollSystem ()
 
virtual int GetNumCharacters ()
 
virtual AGSCharacterGetCharacter (int32)
 
virtual AGSGameOptionsGetGameOptions ()
 
virtual AGSColorGetPalette ()
 
virtual void SetPalette (int32 start, int32 finish, AGSColor *)
 
virtual int GetPlayerCharacter ()
 
virtual void RoomToViewport (int32 *x, int32 *y)
 
virtual void ViewportToRoom (int32 *x, int32 *y)
 
virtual int GetNumObjects ()
 
virtual AGSObjectGetObject (int32)
 
virtual BITMAPGetSpriteGraphic (int32)
 
virtual BITMAPCreateBlankBitmap (int32 width, int32 height, int32 coldep)
 
virtual void FreeBitmap (BITMAP *)
 
virtual BITMAPGetRoomMask (int32)
 
virtual AGSViewFrameGetViewFrame (int32 view, int32 loop, int32 frame)
 
virtual int GetWalkbehindBaseline (int32 walkbehind)
 
virtual Plugins::PluginMethod GetScriptFunctionAddress (const char *funcName)
 
virtual int GetBitmapTransparentColor (BITMAP *)
 
virtual int GetAreaScaling (int32 x, int32 y)
 
virtual int IsGamePaused ()
 
virtual int GetRawPixelColor (int32 color)
 
virtual int GetSpriteWidth (int32)
 
virtual int GetSpriteHeight (int32)
 
virtual void GetTextExtent (int32 font, const char *text, int32 *width, int32 *height)
 
virtual void PrintDebugConsole (const char *text)
 
virtual void PlaySoundChannel (int32 channel, int32 soundType, int32 volume, int32 loop, const char *filename)
 
virtual int IsChannelPlaying (int32 channel)
 
virtual void MarkRegionDirty (int32 left, int32 top, int32 right, int32 bottom)
 
virtual AGSMouseCursorGetMouseCursor (int32 cursor)
 
virtual void GetRawColorComponents (int32 coldepth, int32 color, int32 *red, int32 *green, int32 *blue, int32 *alpha)
 
virtual int MakeRawColorPixel (int32 coldepth, int32 red, int32 green, int32 blue, int32 alpha)
 
virtual int GetFontType (int32 fontNum)
 
virtual int CreateDynamicSprite (int32 coldepth, int32 width, int32 height)
 
virtual void DeleteDynamicSprite (int32 slot)
 
virtual int IsSpriteAlphaBlended (int32 slot)
 
virtual void UnrequestEventHook (int32 event)
 
virtual void BlitSpriteTranslucent (int32 x, int32 y, BITMAP *, int32 trans)
 
virtual void BlitSpriteRotated (int32 x, int32 y, BITMAP *, int32 angle)
 
virtual void DisableSound ()
 
virtual int CanRunScriptFunctionNow ()
 
virtual int CallGameScriptFunction (const char *name, int32 globalScript, int32 numArgs, long arg1=0, long arg2=0, long arg3=0)
 
virtual void NotifySpriteUpdated (int32 slot)
 
virtual void SetSpriteAlphaBlended (int32 slot, int32 isAlphaBlended)
 
virtual void QueueGameScriptFunction (const char *name, int32 globalScript, int32 numArgs, long arg1=0, long arg2=0)
 
virtual int RegisterManagedObject (void *object, IAGSScriptManagedObject *callback)
 
virtual void AddManagedObjectReader (const char *typeName, IAGSManagedObjectReader *reader)
 
virtual void RegisterUnserializedObject (int key, void *object, IAGSScriptManagedObject *callback)
 
virtual void * GetManagedObjectAddressByKey (int key)
 
virtual int GetManagedObjectKeyByAddress (void *address)
 
virtual const char * CreateScriptString (const char *fromText)
 
virtual int IncrementManagedObjectRefCount (void *address)
 
virtual int DecrementManagedObjectRefCount (void *address)
 
virtual void SetMousePosition (int32 x, int32 y)
 
virtual void SimulateMouseClick (int32 button)
 
virtual int GetMovementPathWaypointCount (int32 pathId)
 
virtual int GetMovementPathLastWaypoint (int32 pathId)
 
virtual void GetMovementPathWaypointLocation (int32 pathId, int32 waypoint, int32 *x, int32 *y)
 
virtual void GetMovementPathWaypointSpeed (int32 pathId, int32 waypoint, int32 *xSpeed, int32 *ySpeed)
 
virtual const char * GetGraphicsDriverID ()
 
virtual int IsRunningUnderDebugger ()
 
virtual void BreakIntoDebugger ()
 
virtual void GetPathToFileInCompiledFolder (const char *fileName, char *buffer)
 
virtual IAGSFontRendererReplaceFontRenderer (int fontNumber, IAGSFontRenderer *newRenderer)
 
virtual void GetRenderStageDesc (AGSRenderStageDesc *desc)
 
virtual void GetGameInfo (AGSGameInfo *ginfo)
 
virtual IAGSFontRendererReplaceFontRenderer2 (int fontNumber, IAGSFontRenderer2 *newRenderer)
 
virtual void NotifyFontUpdated (int fontNumber)
 
virtual const char * ResolveFilePath (const char *script_path)
 

Public Attributes

int32 version = 0
 
int32 pluginId = 0
 

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