rotate_sprite_v_flip_trans
Rotates and flips a sprite. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-2)
- Source: allegro4.4
- Report a bug
Rotates and flips a sprite. Allegro game programming library.
#include <allegro.h>
void rotate_sprite_v_flip_trans(BITMAP *bmp, BITMAP *sprite, int x, int y, fixed angle);
Like rotate_sprite_trans, but flips the image vertically before rotating it. To flip horizontally, use this routine but add itofix(128) to the angle. To flip in both directions, use rotate_sprite() and add itofix(128) to its angle.
rotate_sprite_trans(3alleg4), rotate_scaled_sprite_v_flip_trans(3alleg4), pivot_sprite_v_flip_trans(3alleg4), pivot_scaled_sprite_v_flip_trans(3alleg4), exsprite(3alleg4)