mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Also update the combo rom
This commit is contained in:
parent
6575a067b5
commit
1e0102d615
|
@ -1,16 +0,0 @@
|
|||
version = "1.0"
|
||||
|
||||
[image.hat]
|
||||
filename = "hat.png"
|
||||
tile_size = "8x8"
|
||||
transparent_colour = "121105"
|
||||
|
||||
[image.purple]
|
||||
filename = "purple.png"
|
||||
tile_size = "8x8"
|
||||
transparent_colour = "121105"
|
||||
|
||||
[image.hyperspace]
|
||||
filename = "hyperspace.png"
|
||||
tile_size = "8x8"
|
||||
transparent_colour = "121105"
|
|
@ -12,7 +12,7 @@ use agb::{
|
|||
Priority,
|
||||
},
|
||||
fixnum::{Num, Vector2D},
|
||||
include_gfx,
|
||||
include_background_gfx,
|
||||
input::Button,
|
||||
};
|
||||
|
||||
|
@ -42,7 +42,12 @@ impl Game {
|
|||
}
|
||||
}
|
||||
|
||||
include_gfx!("gfx/games.toml");
|
||||
include_background_gfx!(
|
||||
games, "121105",
|
||||
hat => "gfx/hat.png",
|
||||
purple => "gfx/purple.png",
|
||||
hyperspace => "gfx/hyperspace.png"
|
||||
);
|
||||
|
||||
fn get_game(gba: &mut agb::Gba) -> Game {
|
||||
let mut input = agb::input::ButtonController::new();
|
||||
|
|
Loading…
Reference in a new issue