mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
remove some unused bits
This commit is contained in:
parent
cf400029f5
commit
93024f6bab
|
@ -10,7 +10,7 @@ use self::{
|
|||
renderer::{Configuration, WordRender},
|
||||
};
|
||||
|
||||
use super::{DynamicSprite, OamIterator, ObjectUnmanaged, PaletteVram, Size, SpriteVram};
|
||||
use super::{OamIterator, ObjectUnmanaged, PaletteVram, Size, SpriteVram};
|
||||
|
||||
mod preprocess;
|
||||
mod renderer;
|
||||
|
@ -48,12 +48,6 @@ pub struct BufferedRender<'font> {
|
|||
font: &'font Font,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Word {
|
||||
index: usize,
|
||||
length: usize,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
struct Letters {
|
||||
letters: Vec<LetterGroup>,
|
||||
|
@ -267,8 +261,6 @@ impl LayoutCache {
|
|||
self.objects.clear();
|
||||
self.state = LayoutCacheState {
|
||||
head_position: settings.area.position,
|
||||
processed_depth: 0,
|
||||
group_depth: 0,
|
||||
word_depth: 0,
|
||||
rendered_groups: 0,
|
||||
line_depth: 0,
|
||||
|
@ -288,8 +280,6 @@ struct LayoutSettings {
|
|||
#[derive(Default)]
|
||||
struct LayoutCacheState {
|
||||
head_position: Vector2D<i32>,
|
||||
processed_depth: usize,
|
||||
group_depth: usize,
|
||||
word_depth: usize,
|
||||
rendered_groups: usize,
|
||||
line_depth: usize,
|
||||
|
|
Loading…
Reference in a new issue