Functions |
| static void | red_scale (_Sprite *sprite) |
| static void | grey_scale (_Sprite *sprite) |
| static void | fow_scale (_Sprite *sprite) |
| static int | GetBitmapBorders (SDL_Surface *Surface, int *up, int *down, int *left, int *right, uint32 ckey) |
| void | sprite_init_system () |
| _Sprite * | sprite_load_file (char *fname, uint32 flags) |
| _Sprite * | sprite_tryload_file (char *fname, uint32 flag, SDL_RWops *rwop) |
| void | sprite_free_sprite (_Sprite *sprite) |
| void | sprite_blt (_Sprite *sprite, int x, int y, SDL_Rect *box, _BLTFX *bltfx) |
| void | sprite_blt_map (_Sprite *sprite, int x, int y, SDL_Rect *box, _BLTFX *bltfx, uint32 stretch, sint16 zoom, sint16 rotate) |
| Uint32 | getpixel (SDL_Surface *surface, int x, int y) |
| void | putpixel (SDL_Surface *surface, int x, int y, Uint32 pixel) |
| struct _anim * | add_anim (int type, int mapx, int mapy, int value) |
| void | remove_anim (struct _anim *anim) |
| void | play_anims () |
| int | sprite_collision (int x, int y, int x2, int y2, _Sprite *sprite1, _Sprite *sprite2) |
| void | surface_pan (SDL_Surface *surface, SDL_Rect *box) |
| void | draw_frame (SDL_Surface *surface, int x, int y, int w, int h) |
| void | border_create (SDL_Surface *surface, int x, int y, int w, int h, int color, int size) |
|
void | border_create_color (SDL_Surface *surface, SDL_Rect *coords, const char *color_notation) |
Variables |
| struct _anim * | start_anim |
| SDL_Surface * | FormatHolder |
| static int | dark_alpha [DARK_LEVELS] |
| static SDL_Surface * | darkness_filter [DARK_LEVELS] |
Sprite related functions.
Definition in file sprite.c.