From: <ha...@us...> - 2003-04-01 04:30:57
|
Update of /cvsroot/decaldev/source/DecalFilters In directory sc8-pr-cvs1:/tmp/cvs-serv5784 Modified Files: IdentifyQueue.cpp Log Message: Tested this version out for a while, is working good for me.. i'm gonna try and get a beta out soon. Index: IdentifyQueue.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/IdentifyQueue.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** IdentifyQueue.cpp 31 Mar 2003 21:53:03 -0000 1.7 --- IdentifyQueue.cpp 1 Apr 2003 04:30:53 -0000 1.8 *************** *** 23,30 **** { if( m_pService->get_Decal( &m_pDecal ) == S_OK ) - { if( m_pDecal->get_Hooks( &m_pHooks ) == S_OK ) m_pHooks->SetIDFilter( this ); - } return S_OK; --- 23,28 ---- *************** *** 82,91 **** STDMETHODIMP CIdentifyQueue::AddToQueue( long lObjectID ) { - #ifdef _DEBUG - char szOut[2048]; memset( szOut, 0, sizeof( szOut ) ); - _snprintf( szOut, sizeof( szOut ), "IDF: Added 0x%8X to Queue!", lObjectID ); - m_pHooks->ChatOut( _bstr_t( szOut ), 7 ); - #endif - if( !m_Queue.empty() ) { --- 80,83 ---- *************** *** 137,146 **** if ( (*pDeque)->lObjectID == lObjectID ) { - #ifdef _DEBUG - char szOut[2048]; memset( szOut, 0, sizeof( szOut ) ); - _snprintf( szOut, sizeof( szOut ), "IDF: Deleting ID 0x%8X from Queue!", m_Queue[0]->lObjectID ); - m_pHooks->ChatOut( _bstr_t( szOut ), 7 ); - #endif - m_lAttempts = 0; m_Queue.erase( m_Queue.begin() ); --- 129,132 ---- *************** *** 162,171 **** if( !m_bWaiting ) { - #ifdef _DEBUG - char szOut[2048]; memset( szOut, 0, sizeof( szOut ) ); - _snprintf( szOut, sizeof( szOut ), "IDF: Requested ID for 0x%8X!", m_Queue[0]->lObjectID ); - m_pHooks->ChatOut( _bstr_t( szOut ), 7 ); - #endif - m_pHooks->RequestID( m_Queue[0]->lObjectID ); m_bWaiting = true; --- 148,151 ---- |