bool CInput::getPressedCommand(int command) { bool retval = false; for(int player=0; player<NUM_INPUTS ; player++ ) retval |= getPressedCommand(player, command); return retval; }
bool CInput::getPressedAnyCommand(int player) { for(int i=0 ; i<MAX_COMMANDS ; i++) if(getPressedCommand(player,i)) return true; return false; }
bool CInput::getPressedAnyButtonCommand(const int player) { for(int i=IC_JUMP ; i<MAX_COMMANDS ; i++) if(getPressedCommand(player,i)) return true; return false; }