mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 11:45:01 +01:00
more
This commit is contained in:
parent
4c6911e1d2
commit
12efe0f210
2 changed files with 8 additions and 3 deletions
2
repro.sh
2
repro.sh
|
|
@ -8,7 +8,7 @@ cargo build
|
||||||
|
|
||||||
./apply.py
|
./apply.py
|
||||||
|
|
||||||
OUT=$(cargo build 2>&1)
|
OUT=$(cargo rustc -- --cfg second 2>&1)
|
||||||
|
|
||||||
cp tiles.rs src/tiles.rs
|
cp tiles.rs src/tiles.rs
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
mod tiles;
|
|
||||||
|
pub struct TileDef {
|
||||||
|
pub layer: (),
|
||||||
|
#[cfg(second)]
|
||||||
|
pub blend_graphic: String,
|
||||||
|
}
|
||||||
|
|
||||||
pub(crate) struct App {
|
pub(crate) struct App {
|
||||||
pub(crate) game: GameState,
|
pub(crate) game: GameState,
|
||||||
|
|
@ -26,7 +31,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
// this is actually used
|
// this is actually used
|
||||||
pub struct TileDb {
|
pub struct TileDb {
|
||||||
unknown_bg: tiles::TileDef,
|
unknown_bg: TileDef,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::fmt::Debug for TileDb {
|
impl std::fmt::Debug for TileDb {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue