|
void | NF_InitTiledBgBuffers (void) |
| Initialize library to load files from the filesystem to create tiled BGs. More...
|
|
void | NF_ResetTiledBgBuffers (void) |
| Reset state used for tiled BGs loaded from FAT. More...
|
|
void | NF_InitTiledBgSys (int screen) |
| Initialize the tiled BG engine of the selected screen. More...
|
|
void | NF_LoadTiledBg (const char *file, const char *name, u32 width, u32 height) |
| Load all files needed to create a tiled BG from FAT to RAM. More...
|
|
void | NF_LoadTilesForBg (const char *file, const char *name, u32 width, u32 height, u32 tile_start, u32 tile_end) |
| Load a tilesed and palette from FAT to RAM. More...
|
|
void | NF_UnloadTiledBg (const char *name) |
| Delete from RAM the BG with the specified name. More...
|
|
void | NF_CreateTiledBg (int screen, u32 layer, const char *name) |
| Create a BG on the screen, using data loaded in RAM. More...
|
|
void | NF_DeleteTiledBg (int screen, u32 layer) |
| Delete the BG of the specified screen and layer. More...
|
|
u32 | NF_GetTileMapAddress (int screen, u32 layer, u32 tile_x, u32 tile_y) |
| Gets the address of the tile at the specified position. More...
|
|
u32 | NF_GetTileOfMap (int screen, u32 layer, u32 tile_x, u32 tile_y) |
| Gets the value of the tile at the specified position. More...
|
|
void | NF_SetTileOfMap (int screen, u32 layer, u32 tile_x, u32 tile_y, u32 tile) |
| Sets the value of the tile at the specified position. More...
|
|
void | NF_UpdateVramMap (int screen, u32 layer) |
| Updates the map of the specified screen and layer specified. More...
|
|
void | NF_BgSetPalColor (int screen, u32 layer, u32 number, u32 r, u32 g, u32 b) |
| Changes the value of one color of the palette of a background. More...
|
|
void | NF_BgEditPalColor (int screen, u32 layer, u32 number, u32 r, u32 g, u32 b) |
| Changes the value of one color of the palete of the specified background. More...
|
|
void | NF_BgUpdatePalette (int screen, u32 layer) |
| Updates the palette of a background from RAM to VRAM. More...
|
|
void | NF_BgGetPalColor (int screen, u32 layer, u32 number, u8 *r, u8 *g, u8 *b) |
| Gets the RGB value of a color of the palette of the selected background, which is loaded in RAM. More...
|
|
u32 | NF_GetTilePal (int screen, u32 layer, u32 tile_x, u32 tile_y) |
| Returns the number of extended palette used by specified tile. More...
|
|
void | NF_SetTilePal (int screen, u32 layer, u32 tile_x, u32 tile_y, u32 pal) |
| Sets the extended palette to use for the tile especified. More...
|
|
void | NF_LoadExBgPal (const char *file, u32 slot) |
| Load a palette from a file to RAM to use it as a background extended palette. More...
|
|
void | NF_UnloadExBgPal (u32 slot) |
| Deletes a loaded palette from RAM. More...
|
|
void | NF_VramExBgPal (int screen, u32 layer, u32 id, u32 slot) |
| Transfers a palette from RAM to VRAM to be used as extended palette. More...
|
|
void | NF_SetExBgPal (int screen, u32 layer, u32 pal) |
| Sets the extended palette to be used in the specified background. More...
|
|
void | NF_SetTileHflip (int screen, u32 layer, u32 tile_x, u32 tile_y) |
| Inverts the horizontal flip status of a tile in the specified map. More...
|
|
void | NF_SetTileVflip (int screen, u32 layer, u32 tile_x, u32 tile_y) |
| Inverts the vertical flip status of a tile in the specified map. More...
|
|
void | NF_RotateTileGfx (u32 slot, u32 tile, u32 rotation) |
| Rotates the graphics of a tile in RAM by the specified angle. More...
|
|
Functions related to regular tiled backgrounds.