NightFox’s Lib
|
This module contains a function to load BMP files. More...
Functions | |
void | NF_LoadBMP (const char *file, u32 slot) |
Load a BMP image into a 16-bit background slot. More... | |
This module contains a function to load BMP files.
void NF_LoadBMP | ( | const char * | file, |
u32 | slot | ||
) |
Load a BMP image into a 16-bit background slot.
It supports 8, 16 and 24 bits BMP images. To load and show the image, you must initialize 16 bits mode, the backbuffers and to call NF_Draw16bitsImage() to send the image from the RAM slot to the backbuffer.
All pixels drawn out of bounds are ignored.
Example:
file | File path. |
slot | Slot number (0 - 15). |