Skip to content

Commit

Permalink
First batch of removing old TODOs (I am a TODO hoarder, it seems)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Jan 21, 2025
1 parent 985ca7c commit 165326e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/dashboard_defs/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ impl ErrorState {

//////////

// TODO: maybe replace this with the SDL message box?
pub fn make_error_window(top_left: Vec2f, size: Vec2f, update_rate: UpdateRate,
background_contents: WindowContents, text_color: ColorSDL) -> Window {

Expand Down
8 changes: 4 additions & 4 deletions src/spinitron/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ pub enum SpinitronModelName {
// TODO: for any `String` field, if it equals the empty string, set it to `None`

derive_spinitron_model_props!(
#[allow(dead_code)] // TODO: remove
#[allow(dead_code)]
pub struct Spin {
// This does not cover all the spin fields; this is just the most useful subset of them.

Expand Down Expand Up @@ -349,7 +349,7 @@ pub struct Spin {
});

derive_spinitron_model_props!(
#[allow(dead_code)] // TODO: remove
#[allow(dead_code)]
pub struct Playlist {
id: SpinitronModelId,
persona_id: SpinitronModelId, // TODO: why are all the persona ids the same?
Expand All @@ -374,7 +374,7 @@ pub struct Playlist {
});

derive_spinitron_model_props!(
#[allow(dead_code)] // TODO: remove
#[allow(dead_code)]
pub struct Persona {
////////// These are fields that are officially supported by Spinitron

Expand All @@ -390,7 +390,7 @@ pub struct Persona {
});

derive_spinitron_model_props!(
#[allow(dead_code)] // TODO: remove
#[allow(dead_code)]
pub struct Show {
id: SpinitronModelId, // Note: some shows will have the same IDS, but different times (e.g. WBOR's Commodore 64)

Expand Down
2 changes: 1 addition & 1 deletion src/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub type TextTextureScrollEaser = (fn(f64, bool) -> (f64, bool), f64);
#[derive(Clone, Debug)]
pub struct TextDisplayInfo<'a> {
pub text: DisplayText<'a>,
pub color: ColorSDL, // TODO: change the name of this to `text_color`, perhaps
pub color: ColorSDL,
pub pixel_area: (u32, u32),
pub scroll_easer: TextTextureScrollEaser,
pub scroll_speed_multiplier: f64
Expand Down

0 comments on commit 165326e

Please sign in to comment.