![]() |
CRM64Pro GDK
v0.97
A free cross-platform game development kit built on top of SDL 2.0
|
Inherits CRM64Pro::ObjectBase.
Public Member Functions | |
Sint32 | info (Sint32 iMode=0) |
Sint32 | getName (string &sName) |
Uint32 | getID () |
Sint32 | assignSurface (SDL_Surface *pSurf, Sint32 iOwnership=0) |
Sint32 | setOwner (Sint32 iOwner) |
Sint32 | getOwner () |
Sint32 | optimize (Sint32 idScreen=0) |
Sint32 | rebuild () |
Sint32 | render (Sint32 idRes=0, SDL_Rect *rSrc=nullptr, SDL_Rect *rDst=nullptr) |
Sint32 | renderEx (const double dAngle, const SDL_Point *poCenter=nullptr, const SDL_RendererFlip rf=SDL_FLIP_NONE, Sint32 idRes=0, SDL_Rect *rSrc=nullptr, SDL_Rect *rDst=nullptr) |
Sint32 | applyFilter (eImageFilter eFilter, Sint32 iValue=0) |
Sint32 | setBlendMode (SDL_BlendMode bmValue) |
SDL_BlendMode | getBlendMode () |
Sint32 | setAlphaMod (Uint8 iAlpha) |
Uint8 | getAlphaMod () |
Sint32 | setColorMod (Uint8 iR, Uint8 iG, Uint8 iB) |
Sint32 | getColorMod (Uint8 &iR, Uint8 &iG, Uint8 &iB) |
Sint32 | setColorKey (Sint16 iR=-1, Sint16 iG=-1, Sint16 iB=-1) |
Sint32 | getColorKey (Sint16 &iR, Sint16 &iG, Sint16 &iB) |
SDL_Surface * | getSurface () |
Sint32 | findTex (Sint32 &iIndex, SDL_Texture *&pTex, Sint32 &idScreen) |
Sint32 | saveToBMP (const string &sFile="") |
Sint32 | saveToPNG (const string &sFile="") |
Sint32 | save (const string &sFileCDC) |
Sint32 | save (Sint32 idCDC) |