MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / AllStates

Method AllStates

Source/Utils/micropather.cpp:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664
665
666void PathNodePool::AllStates( unsigned frame, MP_VECTOR< cPosition >* stateVec )
667{
668 for ( Block* b=blocks; b; b=b->nextBlock )
669 {
670 for( unsigned i=0; i<allocate; ++i )
671 {
672 if ( b->pathNode[i].frame == frame )
673 stateVec->push_back( b->pathNode[i].state );
674 }
675 }
676}
677
678
679void MicroPather::GetCacheData( CacheData* data )

Callers 1

StatesInPoolMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected