This wiki is out of date, use the continuation of this wiki instead

New fpg

From FenixWiki

Revision as of 12:00, 8 July 2007 by 130.89.160.132 (Talk)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


[edit] Definition

INT new_fpg ( )

Creates and initializes a new file.

To add graphics to the created file, use the returned fileID in the function fpg_add(). The file can be saved with save_fpg(). To free a file, use unload_fpg().

Also called fpg_new().

[edit] Returns

INT : fileID

-1 - Too many files or insufficient memory.
>=0 - The fileID of the new file.

[edit] Errors

Insufficient memory - There is insufficient memory available. This error doesn't occur often.
Personal tools