"The demo is supposed to create two timers, one that displays the current time (fires every second) and one that spawns an object (fires every five seconds)."
Yes, I've already seen that. The first timer seems to run fine, but no entity gets created. I've used
sys_marker and the error message shows "ABC" now, but I have no idea why it crashes.
void createObject(LFTimerRef *timer)
{
sys_marker("ABC");
ENTITY *object = ent_create("box.mdl", vector(2048, 0, 0), NULL);
var force = 32;
sys_marker(NULL);
while(object.z > -150)
{
...
Btw your Lite Foundation is a very neat contribution, I think I'm gonna use it for my next project. Looks like it was a lot of work, too.
Your file-write command seems to use some kind of encryption or am I'm wrong?
EDIT: The reference with module/ structure list is nice.