Advertisement

Timer classes again..........

Started by June 03, 2001 04:09 PM
1 comment, last by asdfasdf 23 years, 8 months ago
I''m making a class for timers using QueryPerformanceCounter but some portions of it have me stumped. I want to add functionality wherethe timer will generate tick events at specified intervals. I came up with an idea for calling it as a member function...If the class is derived from CBaseGameModule you can create a timer, set a speed and it will call CBaseGameModule::Tick(). Where I''m having the problem is knowing when that time has passed. All the ideas i''ve come up with would probably either bog down the system or defeat the purpose all together. Has anyone done this before? or am I getting ahead of myself with this.
You should provide email address because i was going to send you a timer class i made.
Advertisement
Thank you.
asdfasdf@tekken.cc

This topic is closed to new replies.

Advertisement