![]() |
![]()
| ![]() |
![]()
NAMEdraw_sprite_ex - Draws a optionally flipped/blended/tinted sprite on the bitmap. Allegro game programming library. SYNOPSIS#include <allegro.h> void draw_sprite_ex(BITMAP *bmp, BITMAP *sprite, int x, int y, int mode, int flip); DESCRIPTIONDraws the sprite image onto the destination bitmap using the specified mode argument, optionally flipping the sprite in the orientation specified by flip argument. The mode argument defines how is sprite going to be drawn on the destination bitmap:
The flip argument defines the flipping orientation:
SEE ALSOdraw_sprite(3), draw_sprite_v_flip(3), draw_sprite_h_flip(3), draw_trans_sprite(3), draw_lit_sprite(3), extrans2(3)
|