MCPcopy Create free account
hub / github.com/Svxy/The-Simpsons-Hit-and-Run / LoadControllerMappings

Method LoadControllerMappings

game/code/input/usercontroller.cpp:700–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698}
699
700void UserController::LoadControllerMappings( void )
701{
702 unsigned int i = 0;
703 for ( i = 0; i < Input::MaxMappables; i++ )
704 {
705 if( this->mMappable[ i ] != NULL )
706 {
707 this->mMappable[ i ]->LoadControllerMappings( m_controllerId );
708 mMappable[ i ]->InitButtons( m_controllerId, mButtonArray);
709 }
710 }
711}
712
713// return the button id from the name.
714int UserController::GetIdByName( const char* pszName ) const

Callers 2

RegisterMappableMethod · 0.45
EnumerateControllersMethod · 0.45

Calls 1

InitButtonsMethod · 0.80

Tested by

no test coverage detected