Posted By: thegamedesigner
Including a .c in my .wdl project - 09/16/10 18:48
Hey all, I have a7 pro, and I have a project written in wdl.
I read in the manual: "You can even include a .c script in a .wdl script, and call lite-C functions from C-Script."
I want to do that, but I don't know how. I tried this:
in main.wdl:
include "litec.c";
in litec.c:
function litec_func()
{
beep();
}
Yet when I call litec_func, it says error nonexistant function.
How do I mix lite-c and wdl?
Thanks,
I read in the manual: "You can even include a .c script in a .wdl script, and call lite-C functions from C-Script."
I want to do that, but I don't know how. I tried this:
in main.wdl:
include "litec.c";
in litec.c:
function litec_func()
{
beep();
}
Yet when I call litec_func, it says error nonexistant function.
How do I mix lite-c and wdl?
Thanks,