Using C efficiently in a game

BlitzMax Forums/BlitzMax Beginners Area/Using C efficiently in a game

Import "someclibrary you found on the net.c"

Will import it.
You then need to declare all functions of the C file you want to use within an extern "C" block for later usage.

BRL module sources are a good source to see how the whole thing is working.


For creating libraries you do not need C, you can write whole modules in BM directly :-)