aboutsummaryrefslogtreecommitdiff
path: root/stockton-render
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:24 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:24 +0100
commit6367a9ba5a549b62f01da61fb50323877b9f52ff (patch)
treeeb83ed6487f2ec35f9ea1e97124c9a173b8ceef0 /stockton-render
parentf84ec1a3e077fa0f2e9cd310b6e32e81f1bc1129 (diff)
refactor(all): move types to -skeleton
Diffstat (limited to 'stockton-render')
-rw-r--r--stockton-render/Cargo.toml1
-rw-r--r--stockton-render/src/level.rs11
-rw-r--r--stockton-render/src/ui.rs6
3 files changed, 8 insertions, 10 deletions
diff --git a/stockton-render/Cargo.toml b/stockton-render/Cargo.toml
index 1329443..3ba8c01 100644
--- a/stockton-render/Cargo.toml
+++ b/stockton-render/Cargo.toml
@@ -8,7 +8,6 @@ edition = "2018"
[dependencies]
stockton-skeleton = { path = "../stockton-skeleton" }
-stockton-types = { path = "../stockton-types" }
stockton-levels = { path = "../stockton-levels" }
stockton-input = { path = "../stockton-input" }
anyhow = "1.0.40"
diff --git a/stockton-render/src/level.rs b/stockton-render/src/level.rs
index f577569..dd4d61a 100644
--- a/stockton-render/src/level.rs
+++ b/stockton-render/src/level.rs
@@ -13,17 +13,16 @@ use stockton_skeleton::{
AttachmentSpec, CompletePipeline, PipelineSpecBuilder, RenderpassSpec, ShaderDesc,
VertexBufferSpec, VertexPrimitiveAssemblerSpec,
},
- context::RenderingContext,
- draw_passes::{util::TargetSpecificResources, DrawPass, IntoDrawPass, PassPosition},
+ RenderingContext,
+ Session,
+ DrawPass, IntoDrawPass, PassPosition,
+ draw_passes::{util::TargetSpecificResources},
error::LockPoisoned,
mem::{DataPool, DepthBufferPool, StagingPool, TexturesPool},
queue_negotiator::QueueFamilyNegotiator,
- texture::{resolver::TextureResolver, TexLoadQueue, TextureLoadConfig, TextureRepo},
+ texture::{TextureResolver, TexLoadQueue, TextureLoadConfig, TextureRepo},
types::*,
-};
-use stockton_types::{
components::{CameraSettings, Transform},
- *,
};
use anyhow::{Context, Result};
diff --git a/stockton-render/src/ui.rs b/stockton-render/src/ui.rs
index 91e1b4b..981be02 100644
--- a/stockton-render/src/ui.rs
+++ b/stockton-render/src/ui.rs
@@ -7,16 +7,16 @@ use stockton_skeleton::{
AttachmentSpec, CompletePipeline, PipelineSpecBuilder, RenderpassSpec, ShaderDesc,
VertexBufferSpec, VertexPrimitiveAssemblerSpec,
},
- context::RenderingContext,
+ RenderingContext,
+ Session,
draw_passes::{util::TargetSpecificResources, DrawPass, IntoDrawPass, PassPosition},
mem::{DataPool, StagingPool, TexturesPool},
queue_negotiator::QueueFamilyNegotiator,
texture::{
- resolver::TextureResolver, LoadableImage, TexLoadQueue, TextureLoadConfig, TextureRepo,
+ TextureResolver, LoadableImage, TexLoadQueue, TextureLoadConfig, TextureRepo,
},
types::*,
};
-use stockton_types::{Session, Vector2};
use std::{
array::IntoIter,