Display » Tiles module

On the GBA, the pixel data of sprites and backgrounds is made of pixel tiles: 8x8 pixel matrices.

Files

file bn_affine_bg_tiles_item.h
file bn_affine_bg_tiles_ptr.h
file bn_bg_tiles.h
file bn_regular_bg_tiles_item.h
file bn_regular_bg_tiles_ptr.h
file bn_sprite_animate_actions.h
file bn_sprite_animate_actions_fwd.h
file bn_sprite_tiles.h
file bn_sprite_tiles_item.h
file bn_sprite_tiles_ptr.h
file bn_tile.h

Namespaces

namespace bn
Main Butano namespace.
namespace bn::bg_tiles
Background tiles related functions.
namespace bn::sprite_tiles
Sprite tiles related functions.

Classes

class bn::affine_bg_tiles_item
Contains the required information to generate affine background tiles.
class bn::affine_bg_tiles_ptr
std::shared_ptr like smart pointer that retains shared ownership of the tiles of an affine background.
template<>
struct bn::hash<affine_bg_tiles_ptr>
Hash support for affine_bg_tiles_ptr.
class bn::regular_bg_tiles_item
Contains the required information to generate regular background tiles.
class bn::regular_bg_tiles_ptr
std::shared_ptr like smart pointer that retains shared ownership of the tiles of a regular background.
template<>
struct bn::hash<regular_bg_tiles_ptr>
Hash support for regular_bg_tiles_ptr.
class bn::isprite_animate_action
Base class of bn::sprite_animate_action.
class bn::isprite_cached_animate_action
Base class of bn::sprite_cached_animate_action.
template<int MaxSize>
class bn::sprite_animate_action
Changes the tile set of a sprite_ptr when the action is updated a given number of times.
template<int MaxSize>
class bn::sprite_cached_animate_action
Changes the tile set of a sprite_ptr when the action is updated a given number of times.
class bn::sprite_tiles_item
Contains the required information to generate sprite tiles.
class bn::sprite_tiles_ptr
std::shared_ptr like smart pointer that retains shared ownership of the tiles of a sprite.
template<>
struct bn::hash<sprite_tiles_ptr>
Hash support for sprite_tiles_ptr.
class bn::tile
Represents a 8x8 block of 16 color pixels.