================= Controls_SetConfig ================= */
| 9474 | ================= |
| 9475 | */ |
| 9476 | void Controls_SetConfig( void ) |
| 9477 | { |
| 9478 | size_t i; |
| 9479 | |
| 9480 | // iterate each command, get its numeric binding |
| 9481 | for ( i=0; i<g_bindCount; i++ ) { |
| 9482 | if ( g_bindKeys[i][0] != -1 ) { |
| 9483 | DC->setBinding( g_bindKeys[i][0], g_bindCommands[i] ); |
| 9484 | |
| 9485 | if ( g_bindKeys[i][1] != -1 ) |
| 9486 | DC->setBinding( g_bindKeys[i][1], g_bindCommands[i] ); |
| 9487 | } |
| 9488 | } |
| 9489 | } |
| 9490 | |
| 9491 | void Controls_SetDefaults( void ) |
| 9492 | { |
no outgoing calls
no test coverage detected