its late and all so i may be missing the obviouse but anyone know why this code dosen't seem to produce my desired result?
if (kbd->GetKeyState (CSKEY_F1))
//printf("ElapsedTicks - %d",vc->GetCurrentTicks());
if((vc->GetCurrentTicks() - Last_Key) >= 11000.0) // <-- tried all kinds of different numbers here
Last_Key = vc->GetElapsedTicks();
RENDER_GUI ? RENDER_GUI = false : RENDER_GUI = true;
Last_Key is of type int tried with long and float but dosen't seem to do anything -- maybe i am using vc incorrectly?
Last_Key = vc->GetCurrentTicks() ;
is assigned in the constructor as is RENDER_GUI = false;
thanks in advance