Windows Event Loop -> Cocoa Timers

Member
Posts: 129
Joined: 2005.02
Post: #1
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?

-Mark
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
Windows doesn't have an equivalent of Cocoa's timers.
Quote this message in a reply
Nibbie
Posts: 3
Joined: 2005.04
Post: #3
Right. I generally replace the ProcessNextMessage() loop on Windows with a Carbon timer and use Carbon events.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cocoa fundamentals - the message loop in a dylib bumperman 5 5,938 Nov 8, 2009 11:17 AM
Last Post: OneSadCookie
  Best Porting Options - Mac (Cocoa/OpenGL) to Windows Jake 30 14,238 Dec 18, 2006 08:05 PM
Last Post: dajtxx