1expackf(3)                      Allegro manual                      expackf(3)
2
3
4

NAME

6       expackf  -  Using  custom  PACKFILE  vtables.  Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       Example expackf
14

DESCRIPTION

16       This program demonstrates the use of the packfile functions, with  some
17       simple tests.
18
19       The  first test uses the standard packfile functions to transfer a bit‐
20       map file into a block of memory, then reads the bitmap out of the block
21       of memory, using a custom packfile vtable.
22
23       The  second test reads in a bitmap with another custom packfile vtable,
24       which uses libc's file stream functions.
25
26       The third test demonstrates seeking with a custom vtable.
27
28       The fourth test reads two bitmaps, and dumps them back  into  a  single
29       file, using a custom vtable again.
30
31
32
33       Tools
34

SEE ALSO

36       ASSERT(3),  BITMAP(3), END_OF_MAIN(3), PACKFILE(3), PACKFILE_VTABLE(3),
37       SCREEN_H(3), SCREEN_W(3), alert(3), allegro_error(3),  allegro_init(3),
38       allegro_message(3),    blit(3),   clear_bitmap(3),   destroy_bitmap(3),
39       file_size_ex(3), font(3), install_keyboard(3), key(3),  load_bmp_pf(3),
40       load_pcx(3),     load_pcx_pf(3),     load_tga_pf(3),    pack_fclose(3),
41       pack_fopen(3),  pack_fopen_vtable(3),   pack_fread(3),   pack_fseek(3),
42       readkey(3),       save_bmp_pf(3),       save_tga_pf(3),      screen(3),
43       set_color_depth(3),  set_gfx_mode(3),  text_height(3),  textprintf_cen‐
44       tre_ex(3), textprintf_ex(3)
45
46
47
48Allegro                          version 4.4.3                      expackf(3)
Impressum