Import a module if it exists?
BlitzMax Forums/BlitzMax Programming/Import a module if it exists?
| ||
Is there a way to check at compile-time if a module exists? The reason I'm asking, is because I would like to add support for FryPad buttons in my InputSequence module. But, I can't just assume that everyone will have FryPad installed, nor do I feel that I should force it on the user! any hints would be appreciated! |
| ||
No, there's no way to do that. Either write a non-Frypad version or just tell people it uses Frypad and link to it. |
| ||
if there is a way to find the install dir of bmax then you just have to check for fry gui but for a clean solution you should make your own buttons or use a gui that can be integrated into the project legally. |
| ||
Why you don't make the frypad buttons support another additional module? |