This commit is contained in:
Crispy 2024-12-18 21:32:00 +01:00
parent 43130b665d
commit a963722b27
2 changed files with 2 additions and 25 deletions

View file

@ -757,15 +757,8 @@ impl Editor {
draw_usize(d, textures, self.machine.step_count(), 420, 4, 9, 2);
if self.stage > Some(0) {
draw_usize(
d,
textures,
self.total_steps + self.machine.step_count(),
420,
44,
9,
2,
);
let total_steps = self.total_steps + self.machine.step_count();
draw_usize(d, textures, total_steps, 420, 44, 9, 2);
}
draw_usize(d, textures, self.step_time as usize, 260, 42, 9, 1);

View file

@ -67,22 +67,6 @@ impl Level {
pub fn stages(&self) -> &[Stage] {
&self.stages
}
// pub fn inputs(&self) -> &[u8] {
// self.inputs.as_bytes()
// }
// pub fn outputs(&self) -> &[u8] {
// self.outputs.as_bytes()
// }
// pub fn input_is_text(&self) -> bool {
// matches!(self.inputs, IOData::Text(_))
// }
// pub fn output_is_text(&self) -> bool {
// matches!(self.outputs, IOData::Text(_))
// }
}
impl Stage {