There's a CK_GetTicksPerFrame() function (in ck_play.{c,h}) which returns the value of ck_ticsThisFrame. Could you use that rather than ck_ticsThisFrame directly?