Update agb repo

This commit is contained in:
Gwilym Inzani 2023-08-29 14:13:40 +01:00
parent b5af3a3aff
commit 3d7d3f25a2
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
use agb::{ use agb::{
display::{ display::{
tiled::{RegularBackgroundSize, TileFormat, TileSet, TileSetting, TiledMap}, tiled::{RegularBackgroundSize, TileFormat, TileSet, TiledMap},
Priority, Priority,
}, },
include_background_gfx, include_background_gfx,
@ -32,7 +32,7 @@ fn main(mut gba: agb::Gba) -> ! {
&mut vram, &mut vram,
(x, y).into(), (x, y).into(),
&tileset, &tileset,
TileSetting::new(0, false, false, 0), water_tiles::water_tiles.tile_settings[0],
); );
} }
} }

View file

@ -1,6 +1,6 @@
use super::tiled::{RegularMap, TileFormat, TileSet, TiledMap, VRamManager}; use super::tiled::{RegularMap, TileFormat, TileSet, TiledMap, VRamManager};
crate::include_background_gfx!(crate, agb_logo, test_logo => "gfx/test_logo.png"); crate::include_background_gfx!(crate, agb_logo, test_logo => deduplicate "gfx/test_logo.png");
pub fn display_logo(map: &mut RegularMap, vram: &mut VRamManager) { pub fn display_logo(map: &mut RegularMap, vram: &mut VRamManager) {
vram.set_background_palettes(agb_logo::PALETTES); vram.set_background_palettes(agb_logo::PALETTES);