Better handle lack of assets directory + native message function#419
Better handle lack of assets directory + native message function#419Un1q32 wants to merge 12 commits intonbcraft-org:masterfrom
Conversation
| return result; | ||
| } | ||
|
|
||
| // this segfaults on wsl, why? |
There was a problem hiding this comment.
how the hell is SDL supposed to show a dialog box in WSL?
There was a problem hiding this comment.
By using GTK or QT or something idk. It shouldn't crash it should at least return some kind of fail state so we can fallback to stderr.
|
Is there a reason the branch was deleted? I feel like someone could've worked off of this. |
|
The diff is still archived by GitHub. I might restart it with a much smaller scope, only implementing the message box for windows and letting everyone else use printf to stderr. I never finished it cuz I couldn't figure out how to make every platform behave consistently, some platforms block the thread until the box is dismissed, some don't, some have titles, some don't. It was very messy, it would be a lot easier and simpler to just only handle the text body and set a filler title. |
reopening this cuz i made it its own branch