load_datafile_object_indexed(3alleg4)

load_datafile_object_indexed3alleg4

Loads a single object from a datafile index. allegro game programming library.

Usage

#include <allegro.h>

DATAFILE *load_datafile_object_indexed(const DATAFILE_INDEX *index, int item)

Overview

This loads a single object, using the index created previously with create_datafile_index. See create_datafile_index for an example.

Return value

Returns a pointer to a single DATAFILE element whose "dat" member points to the object, or NULL if the object could not be loaded.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.