rotate_sprite_v_flip_trans(3alleg4)

rotate_sprite_v_flip_trans3alleg4

Rotates and flips a sprite. allegro game programming library.

Usage

#include <allegro.h>

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

Overview

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.