Brogue-style tile colour offsets, and main menu
This commit is contained in:
parent
d1b350cdc3
commit
7bf1c0b887
9 changed files with 256 additions and 45 deletions
16
src/rex_assets.rs
Normal file
16
src/rex_assets.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use rltk::rex::XpFile;
|
||||
|
||||
rltk::embedded_resource!(CAVE_TUNNEL, "../resources/cave_tunnel80x50.xp");
|
||||
|
||||
pub struct RexAssets {
|
||||
pub menu: XpFile,
|
||||
}
|
||||
|
||||
impl RexAssets {
|
||||
#[allow(clippy::new_without_default)]
|
||||
pub fn new() -> RexAssets {
|
||||
rltk::link_resource!(CAVE_TUNNEL, "../resources/cave_tunnel80x50.xp");
|
||||
|
||||
RexAssets { menu: XpFile::from_resource("../resources/cave_tunnel80x50.xp").unwrap() }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue