OSX have that is equivalent to WaitMessage() Win32 API

2009-10-18 Thread Mars999
I need a function in OSX that is equivalent to WaitMessage() from the Win32API... Thanks Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-

OSX have that is equivalent to WaitMessage() Win32 API

2009-10-18 Thread Mars999
void CEngine::Start() { m_lLastTick = SDL_GetTicks(); m_bQuit = false; // Main loop: loop forever. while ( !m_bQuit ) { // Handle mouse and keyboard input HandleInput(); if ( m_bMinimized ) { // Release some system resources if the app. is minimized