expackf(3) - Linux man page
Name
expackf - Using custom PACKFILE vtables. Allegro game programming library.
Synopsis
#include <allegro.h>
Example expackf
Description
This program demonstrates the use of the packfile functions, with some simple tests.
The first test uses the standard packfile functions to transfer a bitmap file into a block of memory, then reads the bitmap out of the block of memory,
using a custom packfile vtable.
The second test reads in a bitmap with another custom packfile vtable, which uses libc's filestream functions.
The third test demonstrates seeking with a custom vtable.
The fourth test reads two bitmaps, and dumps them back into a single file, using a custom vtable again.
Tools
See Also
assert(3),
bitmap(3),
end_of_main(3),
packfile(3),
packfile_vtable(3),
screen_h(3),
screen_w(3),
alert(3),
allegro_error(3),
allegro_init(3),
allegro_message(3),
blit(3),
clear_bitmap(3),
destroy_bitmap(3),
file_size_ex(3),
font(3),
install_keyboard(3),
key(3),
load_bmp_pf(3),
load_pcx(3),
load_pcx_pf(3),
load_tga_pf(3),
pack_fclose(3),
pack_fopen(3),
pack_fopen_vtable(3),
pack_fread(3),
pack_fseek(3),
readkey(3),
save_bmp_pf(3),
save_tga_pf(3),
screen(3),
set_color_depth(3),
set_gfx_mode(3),
text_height(3),
textprintf_centre_ex(3),
textprintf_ex(3)
Referenced By
file_size(3)