nds_nflib/include/nf_mixedbg.h
2023-05-01 03:00:01 +01:00

44 lines
950 B
C

// SPDX-License-Identifier: MIT
//
// Copyright (c) 2009-2014 Cesar Rincon "NightFox"
//
// NightFox LIB - Include de Fondos mixtos (Tiled / Bitmap 8 bits)
// http://www.nightfoxandco.com/
// Version 20140413
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __NF_MIXEDBG_H__
#define __NF_MIXEDBG_H__
#include <nds.h>
/// @file nf_mixedbg.h
/// @brief Helpers to use bitmap and tiled backgrounds at the same time.
/// @defgroup nf_mixedbg Helpers to use bitmap and tiled backgrounds.
///
/// Helpers to use bitmap and tiled backgrounds at the same time.
///
/// @{
/// Initialize mixed background mode (tiled background and 8-bit bitmap).
///
/// Layers 0 to 2: Tiled, 64 KB (48 KB for tiles, 16 KB for maps).
/// Layer 3: 8-bit bitmap, 64 KB.
///
/// After using this function you can use functions of both background modes.
///
/// @param screen Screen (0 - 1).
void NF_InitMixedBgSys(u8 screen);
/// @}
#endif
#ifdef __cplusplus
}
#endif