|
bool | IsLoaded (bool flipped=false) const |
|
virtual void * | _getData () const |
|
virtual int | getWidth () const |
|
virtual int | getHeight () const |
|
void | DrawClip (int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawSub (int gx, int gy, int w, int h, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawSubCustomMod (int gx, int gy, int w, int h, int x, int y, pixelModifier modifier, const uint32_t param, SDL_Surface *surface=TheScreen) const |
|
void | DrawSubClip (int gx, int gy, int w, int h, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawSubTrans (int gx, int gy, int w, int h, int x, int y, unsigned char alpha, SDL_Surface *surface=TheScreen) const |
|
void | DrawSubClipTrans (int gx, int gy, int w, int h, int x, int y, unsigned char alpha, SDL_Surface *surface=TheScreen) const |
|
void | DrawSubClipCustomMod (int gx, int gy, int w, int h, int x, int y, pixelModifier modifier, const uint32_t param, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrame (unsigned frame, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameClip (unsigned frame, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameTrans (unsigned frame, int x, int y, int alpha, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameClipTrans (unsigned frame, int x, int y, int alpha, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameClipCustomMod (unsigned frame, int x, int y, pixelModifier modifier, const uint32_t param, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameX (unsigned frame, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameClipX (unsigned frame, int x, int y, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameTransX (unsigned frame, int x, int y, int alpha, SDL_Surface *surface=TheScreen) const |
|
void | DrawFrameClipTransX (unsigned frame, int x, int y, int alpha, SDL_Surface *surface=TheScreen) const |
|
void | Load (bool grayscale=false) |
|
void | Flip () |
|
void | Resize (int w, int h) |
|
void | SetOriginalSize () |
|
bool | TransparentPixel (int x, int y) |
|
void | SetPaletteColor (int idx, int r, int g, int b) |
|
void | MakeShadow (int xOffset, int yOffset) |
|
void | OverlayGraphic (CGraphic *other, bool mask=false) |
|
void | GenFramesMap () |
|
| Image (void *data, int width, int height) |
|
| Image (const std::string &filename) |
|
virtual | ~Image () |
|
virtual bool | isDirty () const |
|
static CGraphic * | New (const std::string &file, int w=0, int h=0) |
|
static CGraphic * | ForceNew (const std::string &file, int w=0, int h=0) |
|
static CGraphic * | Get (const std::string &file) |
|
static void | Free (CGraphic *g) |
|
static ImageLoader * | _getImageLoader () |
|
static void | setImageLoader (ImageLoader *imageLoader) |
|
std::string | File |
|
std::string | HashFile |
| Filename. More...
|
|
SDL_Surface * | Surface |
| Filename used in hash. More...
|
|
SDL_Surface * | SurfaceFlip |
| Surface. More...
|
|
frame_pos_t * | frame_map |
| Flipped surface. More...
|
|
frame_pos_t * | frameFlip_map |
|
int | Width |
|
int | Height |
| Width of a frame. More...
|
|
int | NumFrames |
| Height of a frame. More...
|
|
int | GraphicWidth |
| Number of frames. More...
|
|
int | GraphicHeight |
| Original graphic width. More...
|
|
int | Refs |
| Original graphic height. More...
|
|
bool | Resized |
| Uses of this graphic. More...
|
|
void * | mData |
|
int | mWidth |
|
int | mHeight |
|
bool | mLoadedWithImageLoader |
|
static ImageLoader * | mImageLoader = NULL |
|