mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
more
This commit is contained in:
parent
786f2ea703
commit
39f436e014
2 changed files with 18 additions and 33 deletions
26
src/tiles.rs
26
src/tiles.rs
|
|
@ -1,35 +1,27 @@
|
|||
use std::{fmt::Debug, marker::PhantomData};
|
||||
|
||||
use egui_inspect::{derive::Inspect, Inspect};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Inspect)]
|
||||
pub struct TileDef
|
||||
where
|
||||
{
|
||||
pub struct TileDef {
|
||||
pub layer: (),
|
||||
//ADD pub blend_graphic: String,
|
||||
}
|
||||
|
||||
impl Debug for TileDef
|
||||
where
|
||||
{
|
||||
impl Debug for TileDef {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for TileDef<>
|
||||
where
|
||||
{
|
||||
fn default() -> Self {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// this is actually used
|
||||
#[derive(Debug, Inspect)]
|
||||
#[derive(Inspect)]
|
||||
pub struct TileDb {
|
||||
unknown_bg: TileDef,
|
||||
}
|
||||
|
||||
impl Debug for TileDb {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
25
tiles.rs
25
tiles.rs
|
|
@ -3,32 +3,25 @@ use std::{fmt::Debug, marker::PhantomData};
|
|||
use egui_inspect::{derive::Inspect, Inspect};
|
||||
|
||||
#[derive(Inspect)]
|
||||
pub struct TileDef
|
||||
where
|
||||
{
|
||||
pub struct TileDef {
|
||||
pub layer: (),
|
||||
//ADD pub blend_graphic: String,
|
||||
}
|
||||
|
||||
impl Debug for TileDef
|
||||
where
|
||||
{
|
||||
impl Debug for TileDef {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for TileDef<>
|
||||
where
|
||||
{
|
||||
fn default() -> Self {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// this is actually used
|
||||
#[derive(Debug, Inspect)]
|
||||
#[derive(Inspect)]
|
||||
pub struct TileDb {
|
||||
unknown_bg: TileDef,
|
||||
}
|
||||
|
||||
impl Debug for TileDb {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue