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,188||
Nov 8, 2009 11:17 AM
Last Post: OneSadCookie
|Best Porting Options - Mac (Cocoa/OpenGL) to Windows||Jake||30||14,590||
Dec 18, 2006 08:05 PM
Last Post: dajtxx