e.bgmscriptline = e.bgmscriptline0 = i;
if(i >= bgmscriptbufsize)
{
- print("ERROR: bgmscript does not define ", e.bgmscript, "\n");
+ print(sprintf("ERROR: bgmscript does not define %s\n", e.bgmscript));
e.bgmscript = "";
}
}
if(bgmtime < e.bgmscripttime)
{
- //print("reset ", e.bgmscript, "\n");
amp = GetCurrentAmplitude(e, e.bgmscripttime - e.bgmscriptstatetime + drawframetime);
e.bgmscriptline = e.bgmscriptline0;
-//include "main.qh"
+#ifdef CTF_EXAMPLE
+
// NOTE: This file contains lots of debugging stuff
// it is not really used... can be seen as another sample...
drawstring('0 0 0', "Awaiting orders...", '8 8 0', '1 1 1', 0.5, 0);
}
};
+
+#endif