ScummVM API documentation
Bagel::HodjNPodj::CSprite Class Reference
Inheritance diagram for Bagel::HodjNPodj::CSprite:
Bagel::MFC::CObject Bagel::HodjNPodj::Barbershop::OSpr

Public Member Functions

CSpriteDuplicateSprite (CDC *pDC)
 
bool DuplicateSprite (CDC *pDC, CSprite *pSprite)
 
bool LoadSprite (CDC *pDC, const char *pszPathName)
 
bool LoadSprite (CBitmap *pBitmap, CPalette *pPalette=nullptr)
 
bool LoadResourceSprite (CDC *pDC, const int resId)
 
bool LoadResourceSprite (CDC *pDC, const char *pszName)
 
bool LoadCels (CDC *pDC, const char *pszPathName, const int nCels)
 
bool LoadCels (CBitmap *pBitmap, const int nCels, CPalette *pPalette=nullptr)
 
bool LoadResourceCels (CDC *pDC, const int resId, const int nCels)
 
bool LoadResourceCels (CDC *pDC, const char *pszName, const int nCels)
 
bool SetPalette (CPalette *pPalette)
 
bool SharePalette (CPalette *pPalette)
 
bool GetShared ()
 
bool PaintSprite (CDC *pDC, const int x, const int y)
 
bool PaintSprite (CDC *pDC, CPoint point)
 
bool SetupCels (const int nCels)
 
void SetCel (const int nCelID)
 
void UpdateCel ()
 
bool CropImage (CDC *pDC, CRect *pRect)
 
bool RefreshSprite (CDC *pDC)
 
bool RefreshBackground (CDC *pDC)
 
bool EraseSprite (CDC *pDC)
 
void ClearBackground ()
 
CSpriteInterception (CDC *pDC)
 
CSpriteInterception (CDC *pDC, CSprite *pTestSprite)
 
CSpriteInterception (CRect *newRect)
 
CSpriteInterception (CRect *newRect, CSprite *pSprite)
 
bool TestInterception (CDC *pDC, CSprite *pSprite, CPoint *pPoint=nullptr)
 
bool GetVisible ()
 
void SetIntercepts (bool bValue)
 
bool GetIntercepts ()
 
void SetPosition (int x, int y)
 
void SetPosition (CPoint point)
 
CPoint GetPosition ()
 
void SetDelta (int x, int y)
 
CPoint GetDelta ()
 
void SetHotspot (int x, int y)
 
CPoint GetHotspot ()
 
CSize GetSize ()
 
CRect GetRect ()
 
CRect GetArea ()
 
void SetMasked (bool bValue)
 
bool GetMasked ()
 
void SetMobile (bool bValue)
 
bool GetMobile ()
 
void SetOptimizeSpeed (bool bValue)
 
bool GetOptimizeSpeed ()
 
void SetTypeCode (int nValue)
 
int GetTypeCode ()
 
void SetData (CObject *pData)
 
CObjectGetData ()
 
int GetId ()
 
void SetZOrder (int nValue)
 
int GetZOrder ()
 
int GetZPosition ()
 
int GetCelCount ()
 
int GetCelIndex ()
 
void SetAnimated (bool bAnimated)
 
bool GetAnimated ()
 
void SetRetainBackground (bool bValue)
 
bool GetRetainBackground ()
 
bool IsLinked ()
 
void LinkSprite ()
 
void UnlinkSprite ()
 
CSpriteGetNextSprite ()
 
CSpriteGetPrevSprite ()
 
bool Touching (CPoint myPoint)
 
- Public Member Functions inherited from Bagel::MFC::CObject
 CObject (const CObject &)=default
 
CObjectoperator= (const CObject &)=default
 
virtual const CRuntimeClassGetRuntimeClass () const
 
virtual void AssertValid () const
 
virtual void Dump (CDumpContext &dc) const
 
bool IsKindOf (const CRuntimeClass *pClass) const
 

Static Public Member Functions

static CSpriteTouched (CPoint myPoint)
 
static CSpriteTouched (CPoint myPoint, CSprite *pSprite)
 
static bool InterceptOccurred ()
 
static CSpriteGetInterception ()
 
static CSpriteGetSpriteChain ()
 
static bool EraseSprites (CDC *pDC)
 
static void ClearBackgrounds ()
 
static void FlushSpriteChain ()
 
static bool HaveBackdrop ()
 
static CDCGetBackdropDC (CDC *pDC)
 
static void ReleaseBackdropDC ()
 
static bool SetBackdrop (CDC *pDC, CPalette *pPalette, CBitmap *pBitmap)
 
static void ClearBackdrop ()
 
static bool RefreshBackdrop (CDC *pDC, CPalette *pPalette)
 

Additional Inherited Members

- Static Public Attributes inherited from Bagel::MFC::CObject
static const CRuntimeClass classCObject
 

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