Add a request for a blit and BOBs to a LibGAlloc request list

Name

ggiBltAdd : Add a request for a blit and BOBs to a LibGAlloc request list

Synopsis

#include <ggi/blt.h>

int ggiBltAdd(ggiGA_resource_list *reqlist,
              struct ggiGA_resource_props **props,
              ggiGA_resource_type *types,
              int numresources,
              ggiGA_resource_handle **handles);

Description

The ggiBltAdd functions are LibGGIBlt's interface to LibGAlloc. Currently support for these functions is sporadic; it will be completed in a later stage of LibGGIBlt's development.

In all functions, the parameter reqlist refers to a LibGAlloc request list.

ggiBltAdd attaches a request for carb, motor, and tank resources making up a blit and a set of BOBs to the designated request list, manipulating the structure of the list as appropriate.

More docmentation on this function will follow as LibGGIBlt matures. This function is provided for advanced users who are familiar with LibGAlloc.

Return value

The functions return 0 (GALLOC_OK) on success, or a negative error code if an error occurred.

See Also