iDevGames Forums
Carbon events (again) - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Carbon events (again) (/thread-7681.html)



Carbon events (again) - sealfin - Jul 1, 2002 03:00 AM

ok, I've currently got this code :

Code:
[...]
RunApplicationEventLoop();
   //   main loop starts here.
while(!quit)
{
   statementX();
}
[...]

the problem is that statementX(); will never be executed til QuitApplicationEventLoop(); has been executed; is there an easier way to overcome this, other than to place the main loop statements into an event handler and call it every frame based on a timer?


Carbon events (again) - OneSadCookie - Jul 1, 2002 04:13 AM

Nope.


Carbon events (again) - sealfin - Jul 1, 2002 06:34 AM

oh well, short & not-so-sweet.

thanks OneSadCookie!