Fenix Manual
Fenix Manual
Command Reference
FPG Commands

Fpg_Add
Fpg_New
Load_Fpg
Save_Fpg
Unload_Fpg

Load_Fpg
Last Modified: May 30, 2005 18:05PM
(Any)
Description

INT LOAD_FPG(STRING FILE)

PARAMETERS:
string file: Name of the file fpg that is wanted to load (including the extension).

DESCRIPTION:
This function loads into memory the content of an FPG file, a library can contain upto, all of them with the same color depth (but, on the other hand, as flexible as the graphs recovered independently with Load_Map).

NOTE
First file in the FPG always has code 0. If your game is simple and it only has a few graphs, you can consider to keep them all in a same FPG file and load it at the beginning of your program. You can use 0 from then on in all the calls to functions that use graphs.

An FPG library maintains all its graphs in memory simultaneously. If your game is going to have a great number of graphs of great size, it is recommended that you distribute them in several FPG files that you only recover as are necessary. You can release the memory occupied by a FPG using the function Unload_Fpg, once it is no longer necessary.
Also see:
Fpg_New: Creates a new FPG Library in memory
Save_Fpg: Saves the FPG Library
Unload_Fpg: Unloads an FPG library from memory

User Contributed Notes
Load_Fpg
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Mon, 30 May 2005 - 20:27:26

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters