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