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

Log warnings on missing images and GL functions #157

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

camthesaxman
Copy link
Member

I've come across some level packs (such as penma's that have missing textures that appear white in-game, so this is to help diagnose that.

Most maps seem to reference this material called "default", which I assume is supposed to be this, and that triggers lots of warnings from mapc when building the maps.
https://github.com/Neverball/neverball/blob/master/share/mtrl.c#L51

@parasti
Copy link
Member

parasti commented Nov 2, 2017

Hey, always happy to see some Neverball hacking. I'd like to merge the missing newline fix. Can you make a new PR with that change only? Cheers.

@camthesaxman
Copy link
Member Author

Sure. Will do.

@camthesaxman
Copy link
Member Author

I think warning about missing files is important to diagnose issues like #170 instead of silently failing. Can't remember why I was holding off on merging this.

@parasti
Copy link
Member

parasti commented May 20, 2019

Yeah, definitely. I'll merge this as time permits.

@camthesaxman
Copy link
Member Author

I get a few warnings about failed to load texture "default". I think these need to be fixed in the .map files before merging this.

@qwertychouskie
Copy link
Contributor

Any chance on getting this merged soon? A couple of unnecessary warnings is better than no warnings :)

@parasti parasti changed the title (don't merge yet) log warnings on missing images and GL functions Log warnings on missing images and GL functions Dec 10, 2021
@parasti parasti merged commit 8883b30 into Neverball:master Dec 10, 2021
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.

3 participants