- This wiki is out of date, use the continuation of this wiki instead
New fpg
From FenixWiki
[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. |