Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flats to the list (WIP) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add flats to the list (WIP) #2

wants to merge 1 commit into from

Conversation

jmtd
Copy link

@jmtd jmtd commented Aug 31, 2017

Pretty rough, lots of copy pasta, but a place to work from.

@jmtd
Copy link
Author

jmtd commented Aug 31, 2017

Independent of #1 but works best on top (to get the DIV styling)

texture.js Outdated
var lines = wadinfo.split("\n");
var i;
var flats = []; f = null;
// skip until [flats]
Copy link
Owner

Choose a reason for hiding this comment

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

I'd suggest just a simple text file containing the list of flats, rather than bother trying to parse wadinfo.txt.

Copy link
Author

Choose a reason for hiding this comment

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

Certainly easier from the JS side of things but then I/we'd have to generate said text file ourselves... I suppose that's a one-time thing most likely.

Copy link
Owner

Choose a reason for hiding this comment

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

Exactly. ls *.png > flags.txt doesn't seem like a huge amount of effort.

Copy link
Author

Choose a reason for hiding this comment

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

Oh yeah of course!

Pretty rough, lots of copy pasta, but a place to work from.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants