expackf.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

SEE ALSO

ASSERT(3alleg), BITMAP(3alleg), END_OF_MAIN(3alleg), PACKFILE(3alleg), PACKFILE_VTABLE(3alleg), SCREEN_H(3alleg), SCREEN_W(3alleg), alert(3alleg), allegro_error(3alleg), allegro_init(3alleg), allegro_message(3alleg), blit(3alleg), clear_bitmap(3alleg), destroy_bitmap(3alleg), file_size_ex(3alleg), font(3alleg), install_keyboard(3alleg), key(3alleg), load_bmp_pf(3alleg), load_pcx(3alleg), load_pcx_pf(3alleg), load_tga_pf(3alleg), pack_fclose(3alleg), pack_fopen(3alleg), pack_fopen_vtable(3alleg), pack_fread(3alleg), pack_fseek(3alleg), readkey(3alleg), save_bmp_pf(3alleg), save_tga_pf(3alleg), screen(3alleg), set_color_depth(3alleg), set_gfx_mode(3alleg), text_height(3alleg), textprintf_centre_ex(3alleg), textprintf_ex(3alleg)