Index

Package: Allegro.Sprites

Description

package Allegro.Sprites is

Constants & Global variables

DRAW_SPRITE_NORMAL (integer)

DRAW_SPRITE_NORMAL : constant Integer;

References:

allegro-sprites.ads:12:5 (declaration)
allegro-sprites.ads:255:5 (full declaration)
Drawing modes for Draw_Sprite_Ex

DRAW_SPRITE_LIT (integer)

DRAW_SPRITE_LIT    : constant Integer;

References:

allegro-sprites.ads:13:5 (declaration)
allegro-sprites.ads:256:5 (full declaration)

DRAW_SPRITE_TRANS (integer)

DRAW_SPRITE_TRANS  : constant Integer;

References:

allegro-sprites.ads:14:5 (declaration)
allegro-sprites.ads:257:5 (full declaration)

FLIP_DRAW_SPRITE_NO_FLIP (integer)

FLIP_DRAW_SPRITE_NO_FLIP : constant Integer;

References:

allegro-sprites.ads:17:5 (declaration)
allegro-sprites.ads:259:5 (full declaration)
Flipping modes for Draw_Sprite_Ex

FLIP_DRAW_SPRITE_H_FLIP (integer)

FLIP_DRAW_SPRITE_H_FLIP  : constant Integer;

References:

allegro-sprites.ads:18:5 (declaration)
allegro-sprites.ads:260:5 (full declaration)

FLIP_DRAW_SPRITE_V_FLIP (integer)

FLIP_DRAW_SPRITE_V_FLIP  : constant Integer;

References:

allegro-sprites.ads:19:5 (declaration)
allegro-sprites.ads:261:5 (full declaration)

FLIP_DRAW_SPRITE_VH_FLIP (integer)

FLIP_DRAW_SPRITE_VH_FLIP : constant Integer;

References:

allegro-sprites.ads:20:5 (declaration)
allegro-sprites.ads:262:5 (full declaration)

Subprograms & Entries

Blit

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

References:

allegro-sprites.ads:24:15 (declaration)
allegro-sprites.ads:266:23 (body)
drawing_contexts.adb:36:13 (reference)
scaling.adb:136:25 (reference)
scaling.adb:170:29 (reference)
widgets-containers-windows.adb:314:13 (reference)
widgets-containers.adb:123:17 (reference)
widgets-containers.adb:138:17 (reference)
widgets-containers.adb:158:17 (reference)
widgets.adb:354:17 (reference)

Draw_Character_Ex

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

References:

allegro-sprites.ads:33:15 (declaration)
allegro-sprites.ads:267:23 (body)

Draw_Gouraud_Sprite

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

References:

allegro-sprites.ads:39:15 (declaration)
allegro-sprites.ads:268:23 (body)

Draw_Lit_Sprite

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

References:

allegro-sprites.ads:44:15 (declaration)
allegro-sprites.ads:269:23 (body)

Draw_Sprite

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

References:

allegro-sprites.ads:49:15 (declaration)
allegro-sprites.ads:270:23 (body)
drawing_contexts.adb:64:17 (reference)
drawing_contexts.adb:76:13 (reference)
renderers.adb:105:21 (reference)
widgets-containers.adb:155:21 (reference)
widgets.adb:352:17 (reference)

Draw_Sprite_Ex

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

References:

allegro-sprites.ads:51:15 (declaration)
allegro-sprites.ads:271:23 (body)

Draw_Sprite_H_Flip

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

References:

allegro-sprites.ads:57:15 (declaration)
allegro-sprites.ads:272:23 (body)

Draw_Sprite_V_Flip

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

References:

allegro-sprites.ads:59:15 (declaration)
allegro-sprites.ads:273:23 (body)

Draw_Sprite_VH_Flip

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

References:

allegro-sprites.ads:61:15 (declaration)
allegro-sprites.ads:274:23 (body)

Draw_Trans_Sprite

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

References:

allegro-sprites.ads:63:15 (declaration)
allegro-sprites.ads:275:23 (body)

Masked_Blit

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

References:

allegro-sprites.ads:65:15 (declaration)
allegro-sprites.ads:276:23 (body)

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 );

References:

allegro-sprites.ads:74:15 (declaration)
allegro-sprites.ads:277:23 (body)

Pivot_Scaled_Sprite

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

References:

allegro-sprites.ads:85:15 (declaration)
allegro-sprites.ads:278:23 (body)

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 );

References:

allegro-sprites.ads:92:15 (declaration)
allegro-sprites.ads:279:23 (body)

Pivot_Scaled_Sprite_Trans

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

References:

allegro-sprites.ads:100:15 (declaration)
allegro-sprites.ads:280:23 (body)

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 );

References:

allegro-sprites.ads:107:15 (declaration)
allegro-sprites.ads:281:23 (body)

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 );

References:

allegro-sprites.ads:114:15 (declaration)
allegro-sprites.ads:282:23 (body)

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 );

References:

allegro-sprites.ads:122:15 (declaration)
allegro-sprites.ads:283:23 (body)

Pivot_Sprite

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

References:

allegro-sprites.ads:129:15 (declaration)
allegro-sprites.ads:284:23 (body)

Pivot_Sprite_Lit

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

References:

allegro-sprites.ads:135:15 (declaration)
allegro-sprites.ads:285:23 (body)

Pivot_Sprite_Trans

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

References:

allegro-sprites.ads:142:15 (declaration)
allegro-sprites.ads:286:23 (body)

Pivot_Sprite_V_Flip

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

References:

allegro-sprites.ads:148:15 (declaration)
allegro-sprites.ads:287:23 (body)

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 );

References:

allegro-sprites.ads:154:15 (declaration)
allegro-sprites.ads:288:23 (body)

Pivot_Sprite_V_Flip_Trans

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

References:

allegro-sprites.ads:161:15 (declaration)
allegro-sprites.ads:289:23 (body)

Rotate_Scaled_Sprite

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

References:

allegro-sprites.ads:167:15 (declaration)
allegro-sprites.ads:290:23 (body)

Rotate_Scaled_Sprite_Lit

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

References:

allegro-sprites.ads:173:15 (declaration)
allegro-sprites.ads:291:23 (body)

Rotate_Scaled_Sprite_Trans

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

References:

allegro-sprites.ads:180:15 (declaration)
allegro-sprites.ads:292:23 (body)

Rotate_Scaled_Sprite_V_Flip

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

References:

allegro-sprites.ads:186:15 (declaration)
allegro-sprites.ads:293:23 (body)

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 );

References:

allegro-sprites.ads:192:15 (declaration)
allegro-sprites.ads:294:23 (body)

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 );

References:

allegro-sprites.ads:199:15 (declaration)
allegro-sprites.ads:295:23 (body)

Rotate_Sprite

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

References:

allegro-sprites.ads:205:15 (declaration)
allegro-sprites.ads:296:23 (body)

Rotate_Sprite_Lit

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

References:

allegro-sprites.ads:210:15 (declaration)
allegro-sprites.ads:297:23 (body)

Rotate_Sprite_Trans

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

References:

allegro-sprites.ads:216:15 (declaration)
allegro-sprites.ads:298:23 (body)

Rotate_Sprite_V_Flip

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

References:

allegro-sprites.ads:221:15 (declaration)
allegro-sprites.ads:299:23 (body)

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 );

References:

allegro-sprites.ads:226:15 (declaration)
allegro-sprites.ads:300:23 (body)

Rotate_Sprite_V_Flip_Trans

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

References:

allegro-sprites.ads:232:15 (declaration)
allegro-sprites.ads:301:23 (body)

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 );

References:

allegro-sprites.ads:237:15 (declaration)
allegro-sprites.ads:302:23 (body)
drawing_contexts.adb:157:13 (reference)
scaling.adb:182:9 (reference)

Stretch_Sprite

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

References:

allegro-sprites.ads:248:15 (declaration)
allegro-sprites.ads:303:23 (body)
drawing_contexts.adb:183:33 (reference)
drawing_contexts.adb:187:33 (reference)
drawing_contexts.adb:191:33 (reference)
drawing_contexts.adb:202:33 (reference)

Called by:

Drawing_Contexts.Stretch_Sprite defined at drawing_contexts.ads:84:15
Drawing_Contexts.Stretch_Sprite.Proportional_Stretch defined at drawing_contexts.adb:173:19
Drawing_Contexts.Stretch_Sprite.Proportional_Stretch defined at drawing_contexts.adb:173:19
Drawing_Contexts.Stretch_Sprite.Proportional_Stretch defined at drawing_contexts.adb:173:19