Finally extract InfiniteScrolledMap

This commit is contained in:
Gwilym Kuiper 2022-02-19 21:16:43 +00:00
parent 6b492c5956
commit 22c6e37c88
3 changed files with 5 additions and 6 deletions

View file

@ -5,10 +5,6 @@ use video::Video;
use self::object::ObjectControl;
pub mod tiled;
/// Graphics mode 0. Four regular backgrounds.
pub mod background;
/// Graphics mode 3. Bitmap mode that provides a 16-bit colour framebuffer.
pub mod bitmap3;
/// Graphics mode 4. Bitmap 4 provides two 8-bit paletted framebuffers with page switching.
@ -21,6 +17,8 @@ pub mod object;
pub mod palette16;
/// Data produced by agb-image-converter
pub mod tile_data;
/// Graphics mode 0. Four regular backgrounds.
pub mod tiled;
/// Giving out graphics mode.
pub mod video;

View file

@ -1,7 +1,6 @@
use alloc::boxed::Box;
pub use super::tiled::VRamManager;
use super::tiled::{MapLoan, RegularMap, TileSetReference, TileSetting};
use super::{MapLoan, RegularMap, TileSetReference, TileSetting, VRamManager};
use crate::{
display,

View file

@ -1,7 +1,9 @@
mod infinite_scrolled_map;
mod map;
mod tiled0;
mod vram_manager;
pub use infinite_scrolled_map::InfiniteScrolledMap;
pub use map::{MapLoan, RegularMap};
pub use tiled0::Tiled0;
pub use vram_manager::{TileFormat, TileIndex, TileSet, TileSetReference, VRamManager};