- This wiki is out of date, use the continuation of this wiki instead
File
From FenixWiki
(Difference between revisions)
| Revision as of 18:18, 14 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 18:38, 14 May 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
| Line 6: | Line 6: | ||
| '''INT''' file | '''INT''' file | ||
| - | File contains the [[FileID]] of the file used to obtain the [[graphic]] indicated by the [[local variable]] [[ | + | File contains the [[FileID]] of the file used to obtain the [[graphic]] indicated by the [[local variable]] [[GraphID]]. |
| === Filetype === | === Filetype === | ||
Revision as of 18:38, 14 May 2007
Contents |
Definition
Local variable
INT file
File contains the FileID of the file used to obtain the graphic indicated by the local variable GraphID.
Filetype
A file or FPG (Fichero Para Graficós, meaning "file for graphic" (Is it really Fichero Para Graficós?) is a file containing graphics. It holds all information about the contained graphics: pixels, width, height, depth, name, etc.
Example
Program files;
Global
int file_id;
Begin
// Load FPG
file_id = load_fpg("example.fpg");
// Set locals for display of graph
file = file_id;
graph = 1;
x = y = 50;
Repeat
frame;
Until(key(_frame))
End
