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

Load pal

From FenixWiki

Revision as of 23:09, 8 August 2007 by 201.52.35.117 (Talk)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Definition

load_pal ( <STRING filename>)

Loads a color palette from a file.

The current palette is switched to the loaded one. Note that one can load a palette from a 8bit FPG or MAP file (the remaining graphic data will not be loaded) or a PAL file.

Parameters

STRING filename - The filename of the PAL/MAP/FPG file that you wish to load (including extension and possible path).

Example

Program example;

Begin

    load_pal("exmaple_pal");
    Loop
        ...
        frame;
    End
End

Used in example:

Personal tools