made the switch to using bracket-lib directly, instead of rltk wrapper
this should solve the build issues; it makes using the non-crashing github build a lot easier, because it lets the explicit rltk dependency be removed.
This commit is contained in:
parent
455b8f2d80
commit
85efe13dc5
93 changed files with 1528 additions and 770 deletions
|
|
@ -1,8 +1,8 @@
|
|||
use rltk::rex::XpFile;
|
||||
use bracket_lib::prelude::*;
|
||||
|
||||
rltk::embedded_resource!(TITLEIMAGE_105_56_BYTES, "../resources/title_image.xp");
|
||||
rltk::embedded_resource!(WFC_DEMO_IMAGE1, "../resources/wfc-demo1.xp");
|
||||
rltk::embedded_resource!(WFC_POPULATED, "../resources/wfc-populated.xp");
|
||||
embedded_resource!(TITLEIMAGE_105_56_BYTES, "../resources/title_image.xp");
|
||||
embedded_resource!(WFC_DEMO_IMAGE1, "../resources/wfc-demo1.xp");
|
||||
embedded_resource!(WFC_POPULATED, "../resources/wfc-populated.xp");
|
||||
|
||||
pub struct RexAssets {
|
||||
pub menu: XpFile,
|
||||
|
|
@ -11,9 +11,9 @@ pub struct RexAssets {
|
|||
impl RexAssets {
|
||||
#[allow(clippy::new_without_default)]
|
||||
pub fn new() -> RexAssets {
|
||||
rltk::link_resource!(TITLEIMAGE_105_56_BYTES, "../resources/title_image.xp");
|
||||
rltk::link_resource!(WFC_DEMO_IMAGE1, "../resources/wfc-demo1.xp");
|
||||
rltk::link_resource!(WFC_POPULATED, "../resources/wfc-populated.xp");
|
||||
link_resource!(TITLEIMAGE_105_56_BYTES, "../resources/title_image.xp");
|
||||
link_resource!(WFC_DEMO_IMAGE1, "../resources/wfc-demo1.xp");
|
||||
link_resource!(WFC_POPULATED, "../resources/wfc-populated.xp");
|
||||
|
||||
RexAssets { menu: XpFile::from_resource("../resources/title_image.xp").unwrap() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue