26.09.2010, 10:42
(
Последний раз редактировалось Kyosaur; 26.09.2010 в 10:56.
)
Offtopic: Why do people steal ******' font lol?
Ontopic: wow a 1ms timer, thats gnarly .
Edit: Why dont you set the interval higher, and just rely on GetTickCount if you need your timer to be that accurate? I mean no matter how often you get the ticks, the result will be the same, so why not use a 500ms timer and use GetTickCount?
also why use static if your variables have a global scope?
Ontopic: wow a 1ms timer, thats gnarly .
Edit: Why dont you set the interval higher, and just rely on GetTickCount if you need your timer to be that accurate? I mean no matter how often you get the ticks, the result will be the same, so why not use a 500ms timer and use GetTickCount?
also why use static if your variables have a global scope?