VG_init()
Initialize library.
SYNTAX
VG_BOOL
VG_init(const char *gamename)
FUNCTION PARAMETERS
gamename | Title: name of the game |
RETURN VALUE
Returns boolean:
- VG_TRUE: OK
- VG_FALSE: Error
DESCRIPTION
Initialize library.
Must be called before using any function of the VgaGames library.
The parameter gamename sets the title of the window.
EXAMPLE
if (!VG_init("My first game")) { exit(1); }
SEE ALSO