Note: The Agar manual pages follow certain conventions, notably concerning function return values. Please read AG_Intro(3) first.
SYNOPSIS
#include <agar/core.h> |
DESCRIPTION
|
These functions are responsible for the initialization of Agar's internals
and subsystems.
Note: This manual page is specific to the Agar-Core library. For initialization functions related to Agar-GUI, see AG_InitGraphics(3).
The AG_InitCore() function initializes the internal data structures of the Agar-Core library. It must be invoked before any other AG_ function. The progname argument is an arbitrary name for the application. Available flags options include:
The AG_AtExitFunc() registers a function that will be invoked automatically by AG_Destroy(). AG_Quit() immediately terminates the application by releasing resources allocated by Agar-Core and invoking exit(2). The AG_Destroy() function immediately frees all resources allocated by Agar. |
AGAR VERSION INFORMATION
SEE ALSO
| AG_Intro(3), AG_InitGraphics(3) |
HISTORY
| The AG_InitCore() function first appeared in Agar 1.0. Agar 1.4.0 saw the introduction of AG_InitGraphics(3). |
