Index

Package: Sprites

Description

package Allegro.Sprites is
Allegro 4.4.2 - Blitting and Sprites

Constants & Global variables

DRAW_SPRITE_NORMAL (Integer)

DRAW_SPRITE_NORMAL : constant Integer;
Drawing modes for Draw_Sprite_Ex

DRAW_SPRITE_LIT (Integer)

DRAW_SPRITE_LIT    : constant Integer;

DRAW_SPRITE_TRANS (Integer)

DRAW_SPRITE_TRANS  : constant Integer;

FLIP_DRAW_SPRITE_NO_FLIP (Integer)

FLIP_DRAW_SPRITE_NO_FLIP : constant Integer;
Flipping modes for Draw_Sprite_Ex

FLIP_DRAW_SPRITE_H_FLIP (Integer)

FLIP_DRAW_SPRITE_H_FLIP  : constant Integer;

FLIP_DRAW_SPRITE_V_FLIP (Integer)

FLIP_DRAW_SPRITE_V_FLIP  : constant Integer;

FLIP_DRAW_SPRITE_VH_FLIP (Integer)

FLIP_DRAW_SPRITE_VH_FLIP : constant Integer;

Subprograms & Entries

Blit

procedure Blit
( source, dest: not null A_Bitmap;
source_x, source_y, dest_x, dest_y: Integer;
width, height: Natural );

Draw_Character_Ex

procedure Draw_Character_Ex
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
color, bg: Color_Type );

Draw_Gouraud_Sprite

procedure Draw_Gouraud_Sprite
( bmp, sprite: not null A_Bitmap;
x, y, c1, c2, c3, c4: Color_Type );

Draw_Lit_Sprite

procedure Draw_Lit_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
color: Color_Type );

Draw_Sprite

procedure Draw_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer );

Draw_Sprite_Ex

procedure Draw_Sprite_Ex
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
mode: Integer;
flip: Integer );

Draw_Sprite_H_Flip

procedure Draw_Sprite_H_Flip
( bmp, sprite: not null A_Bitmap;
x, y: Integer );

Draw_Sprite_V_Flip

procedure Draw_Sprite_V_Flip
( bmp, sprite: not null A_Bitmap;
x, y: Integer );

Draw_Sprite_VH_Flip

procedure Draw_Sprite_VH_Flip
( bmp, sprite: not null A_Bitmap;
x, y: Integer );

Draw_Trans_Sprite

procedure Draw_Trans_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer );

Masked_Blit

procedure Masked_Blit
( source, dest: not null A_Bitmap;
source_x, source_y, dest_x, dest_y: Integer;
width, height: Natural );

Masked_Stretch_Blit

procedure Masked_Stretch_Blit
( source, dest: not null A_Bitmap;
source_x, source_y: Integer;
source_w, source_h: Natural;
dest_x, dest_y: Integer;
dest_w, dest_h: Natural );

Pivot_Scaled_Sprite

procedure Pivot_Scaled_Sprite
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed );

Pivot_Scaled_Sprite_Lit

procedure Pivot_Scaled_Sprite_Lit
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed;
color: Color_Type );

Pivot_Scaled_Sprite_Trans

procedure Pivot_Scaled_Sprite_Trans
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed );

Pivot_Scaled_Sprite_V_Flip

procedure Pivot_Scaled_Sprite_V_Flip
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed );

Pivot_Scaled_Sprite_V_Flip_Lit

procedure Pivot_Scaled_Sprite_V_Flip_Lit
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed;
color: Color_Type );

Pivot_Scaled_Sprite_V_Flip_Trans

procedure Pivot_Scaled_Sprite_V_Flip_Trans
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle, scale: Fixed );

Pivot_Sprite

procedure Pivot_Sprite
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed );

Pivot_Sprite_Lit

procedure Pivot_Sprite_Lit
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed;
color: Color_Type );

Pivot_Sprite_Trans

procedure Pivot_Sprite_Trans
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed );

Pivot_Sprite_V_Flip

procedure Pivot_Sprite_V_Flip
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed );

Pivot_Sprite_V_Flip_Lit

procedure Pivot_Sprite_V_Flip_Lit
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed;
color: Color_Type );

Pivot_Sprite_V_Flip_Trans

procedure Pivot_Sprite_V_Flip_Trans
( bmp, sprite: not null A_Bitmap;
x, y, cx, cy: Integer;
angle: Fixed );

Rotate_Scaled_Sprite

procedure Rotate_Scaled_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed );

Rotate_Scaled_Sprite_Lit

procedure Rotate_Scaled_Sprite_Lit
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed;
color: Color_Type );

Rotate_Scaled_Sprite_Trans

procedure Rotate_Scaled_Sprite_Trans
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed );

Rotate_Scaled_Sprite_V_Flip

procedure Rotate_Scaled_Sprite_V_Flip
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed );

Rotate_Scaled_Sprite_V_Flip_Lit

procedure Rotate_Scaled_Sprite_V_Flip_Lit
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed;
color: Color_Type );

Rotate_Scaled_Sprite_V_Flip_Trans

procedure Rotate_Scaled_Sprite_V_Flip_Trans
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle, scale: Fixed );

Rotate_Sprite

procedure Rotate_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed );

Rotate_Sprite_Lit

procedure Rotate_Sprite_Lit
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed;
color: Color_Type );

Rotate_Sprite_Trans

procedure Rotate_Sprite_Trans
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed );

Rotate_Sprite_V_Flip

procedure Rotate_Sprite_V_Flip
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed );

Rotate_Sprite_V_Flip_Lit

procedure Rotate_Sprite_V_Flip_Lit
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed;
color: Color_Type );

Rotate_Sprite_V_Flip_Trans

procedure Rotate_Sprite_V_Flip_Trans
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
angle: Fixed );

Stretch_Blit

procedure Stretch_Blit
( source, dest: not null A_Bitmap;
source_x, source_y: Integer;
source_width, source_height: Natural;
dest_x, dest_y: Integer;
dest_width, dest_height: Natural );

Stretch_Sprite

procedure Stretch_Sprite
( bmp, sprite: not null A_Bitmap;
x, y: Integer;
w, h: Natural );