expackf - Using custom PACKFILE vtables. Allegro game programming library.
Contents
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
Name
expackf - Using custom PACKFILE vtables. Allegro game programming library.
See Also
ASSERT(3alleg4), BITMAP(3alleg4), END_OF_MAIN(3alleg4), PACKFILE(3alleg4), PACKFILE_VTABLE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), alert(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), destroy_bitmap(3alleg4), file_size_ex(3alleg4), font(3alleg4), install_keyboard(3alleg4), key(3alleg4), load_bmp_pf(3alleg4), load_pcx(3alleg4), load_pcx_pf(3alleg4), load_tga_pf(3alleg4), pack_fclose(3alleg4), pack_fopen(3alleg4), pack_fopen_vtable(3alleg4), pack_fread(3alleg4), pack_fseek(3alleg4), readkey(3alleg4), save_bmp_pf(3alleg4), save_tga_pf(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), text_height(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4) Allegro version 4.4.3 expackf(3alleg4)
Synopsis
#include<allegro.h>Exampleexpackf
