Your company here, and a link to your site. Click to find out more.

rotate_sprite_v_flip_lit - Man Page

Rotates and flips a sprite. Allegro game programming library.


#include <allegro.h>

void rotate_sprite_v_flip_lit(BITMAP *bmp, BITMAP *sprite, int x, int y, fixed angle);


Like rotate_sprite_lit, 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.

See Also

rotate_sprite_lit(3), rotate_scaled_sprite_v_flip_lit(3), pivot_sprite_v_flip_lit(3), pivot_scaled_sprite_v_flip_lit(3), exsprite(3)

Referenced By

pivot_scaled_sprite_v_flip_lit(3), pivot_sprite_v_flip_lit(3), rotate_scaled_sprite_v_flip_lit(3), rotate_sprite_lit(3).

version 4.4.3 Allegro manual