SIMPLE SOLUTIONS

REGISTER_DATAFILE_OBJECT(3ALLEG4) - Linux man page online | Library functions

Registers load/destroy functions for custom object types. Allegro game programming.

Chapter
version 4.4.2
register_datafile_object(3alleg4) Allegro manual register_datafile_object(3alleg4)

NAME

register_datafile_object - Registers load/destroy functions for custom object types. Alle‐ gro game programming library.

SYNOPSIS

#include <allegro.h> void register_datafile_object(int id, void *(*load)(PACKFILE *f, long size), void (*destroy)(void *data));

DESCRIPTION

Used to add custom object types, specifying functions to load and destroy objects of this type.

SEE ALSO

load_datafile(3alleg4), load_datafile_object(3alleg4), DAT_ID(3alleg4)
Allegro version 4.4.2 register_datafile_object(3alleg4)
This manual Reference Other manuals
register_datafile_object(3alleg4) referred by DAT_ID(3alleg4) | load_datafile(3alleg4) | load_datafile_callback(3alleg4) | load_datafile_object(3alleg4)
refer to DAT_ID(3alleg4) | load_datafile(3alleg4) | load_datafile_object(3alleg4)
Download raw manual
Main page Allegro manual (+923) Allegro (+926) № 3 (+68044)
Go top