Definition at line 178 of file PhysicsEngine.h. References GetStack(), ILOG_DEBUG, ILOG_ERROR, mIsFlushing, MoveStackUp(), and mParts. Referenced by Impala::Application::Videolympics::VidolviWindow::GetNewImages(). 00179 { 00180 if (mIsFlushing) 00181 { 00182 ILOG_DEBUG("RegisterPart: still flushing, ignored."); 00183 return; 00184 } 00185 00186 if (p == NULL) { 00187 ILOG_ERROR("Trying to register an empty PhysicsPart."); 00188 return; 00189 } 00190 mParts.push_back(p); 00191 std::vector <PhysicsPart*>* s = GetStack(stackno); 00192 s->push_back(p); 00193 MoveStackUp(stackno); 00194 ILOG_DEBUG("Added shot to stack " << stackno << " now " << s->size() << " shots in stack."); 00195 }
Here is the call graph for this function:
|