Fade Screen speed challenge!

BlitzPlus Forums/BlitzPlus Programming/Fade Screen speed challenge!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well you can fake inline functions by writing your code in a separate file like "fade.bb" and then writing: 'include "fade.bb"' each time you want to bring in the function. Of course it couldn't actually be a function as this would result in multiple definitions so you'll have to write your code smartly. As far as I know blitz will inlude that piece of code at each spot when it compiles which is similar to the C++ preprocessor. I seriously doubt the function overhead is high enough to consider doing it here.