Skip to content

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