Windows Event Loop -> Cocoa Timers
Since it seems like the perferred way of handling Cocoa event loops is through NSTimers, I am curious as to how Windows stands in this scheme. When porting games, are there many Windows games that utilize an equivelent of Cocoa's timers? Or is it usually a matter of converting the classic while(!done) style event loop to a NSTimer?
Windows doesn't have an equivalent of Cocoa's timers.
Right. I generally replace the ProcessNextMessage() loop on Windows with a Carbon timer and use Carbon events.
Possibly Related Threads...
|Cocoa fundamentals - the message loop in a dylib||bumperman||5||6,616||
Nov 8, 2009 11:17 AM
Last Post: OneSadCookie
|Best Porting Options - Mac (Cocoa/OpenGL) to Windows||Jake||30||15,426||
Dec 18, 2006 08:05 PM
Last Post: dajtxx
|suspend event notification ?||quarus||2||2,521||
Nov 11, 2006 12:52 PM
Last Post: quarus