.\" Generated by the Allegro makedoc utility .TH expackf 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME expackf \- Using custom PACKFILE vtables. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example expackf .SH 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 file stream 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 .SH SEE ALSO .BR ASSERT (3alleg4), .BR BITMAP (3alleg4), .BR END_OF_MAIN (3alleg4), .BR PACKFILE (3alleg4), .BR PACKFILE_VTABLE (3alleg4), .BR SCREEN_H (3alleg4), .BR SCREEN_W (3alleg4), .BR alert (3alleg4), .BR allegro_error (3alleg4), .BR allegro_init (3alleg4), .BR allegro_message (3alleg4), .BR blit (3alleg4), .BR clear_bitmap (3alleg4), .BR destroy_bitmap (3alleg4), .BR file_size_ex (3alleg4), .BR font (3alleg4), .BR install_keyboard (3alleg4), .BR key (3alleg4), .BR load_bmp_pf (3alleg4), .BR load_pcx (3alleg4), .BR load_pcx_pf (3alleg4), .BR load_tga_pf (3alleg4), .BR pack_fclose (3alleg4), .BR pack_fopen (3alleg4), .BR pack_fopen_vtable (3alleg4), .BR pack_fread (3alleg4), .BR pack_fseek (3alleg4), .BR readkey (3alleg4), .BR save_bmp_pf (3alleg4), .BR save_tga_pf (3alleg4), .BR screen (3alleg4), .BR set_color_depth (3alleg4), .BR set_gfx_mode (3alleg4), .BR text_height (3alleg4), .BR textprintf_centre_ex (3alleg4), .BR textprintf_ex (3alleg4)