Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/imageList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ namespace ImageList {
}

function open() {
let startId = 14222;
let startId = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea as to why this was set this high in the first place? Old G2 offset or something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s the start of the track previews in the Appearance tab of the Ride window. My best guess is that Ted set it because he was working on something related to that, and didn’t change it back to 0 when committing the file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Probably more interesting than the first G1 sprites anyway.

Maybe we could use persistent storage to save/load the current offset between sessions? Not necessarily for this PR of course.

let nextId = 0;
let showImageBorders = false;
let primaryChecked = false;
let secondaryChecked = false;
let primaryColour = 4;
let secondaryColour = 18;
let tertiaryColour = 30;
let primaryColour = 7;
let secondaryColour = 30;
let tertiaryColour = 18;

const width = ui.width - 64;
const height = ui.height - 96;
Expand Down