From dac93f611b8ca65c47bbc082eabe4961f3a10bb7 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Mon, 17 Apr 2023 20:17:22 +0200 Subject: [PATCH] more --- src/app.rs | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/src/app.rs b/src/app.rs index db0da3d..392b46a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,29 +1,14 @@ use crate::{ - command::{Cmd, CmdVec}, + command::CmdVec, debug::{self, DebugState}, - game::{for_each_tile_on_screen, Biome, GameState}, - graphics::{self, ScreenSc, ScreenVec}, + game::GameState, input::Input, - inventory::{ItemId, Slot, TileLayer, UseAction}, - math::{center_offset, TILE_SIZE}, res::Res, - tiles::TileId, CliArgs, }; -use anyhow::Context; -use directories::ProjectDirs; + use egui_sfml::SfEgui; -use gamedebug_core::{imm, imm_dbg}; -use sfml::{ - audio::SoundSource, - graphics::{ - BlendMode, Color, Rect, RectangleShape, RenderStates, RenderTarget, RenderTexture, - RenderWindow, Shape, Sprite, Transformable, View, - }, - system::{Vector2, Vector2u}, - window::{Event, Key}, -}; -use std::fmt::Write; +use sfml::graphics::{RenderTexture, RenderWindow}; /// Application level state (includes game and ui state, etc.) pub(crate) struct App { pub(crate) rw: RenderWindow,