ActionVect FZeroSettings::getStartingActions(){ int num_of_nops(100); ActionVect startingActions; // startingActions.reserve(num_of_xs*num_of_nops); // wait for intro to end startingActions.insert(startingActions.end(), num_of_nops, JOYPAD_NOOP); // press start to begin startingActions.push_back(JOYPAD_START); // select arcade startingActions.insert(startingActions.end(), num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select 1 vs cpu startingActions.insert(startingActions.end(), num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select team startingActions.insert(startingActions.end(), num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select team startingActions.insert(startingActions.end(), num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // wait for race countdown startingActions.insert(startingActions.end(), 5.5*num_of_nops, JOYPAD_NOOP); return startingActions; }
ActionVect NBAGiveNGoSettings::getStartingActions(){ int num_of_nops(100); ActionVect startingActions; // startingActions.reserve(num_of_xs*num_of_nops); // wait for intro to end startingActions.insert(startingActions.end(), 9*num_of_nops, JOYPAD_NOOP); // press start to begin startingActions.push_back(JOYPAD_START); // select arcade startingActions.insert(startingActions.end(), 2*num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select 1 vs cpu startingActions.insert(startingActions.end(), 1.5*num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select team startingActions.insert(startingActions.end(), 1.5*num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); // select team startingActions.insert(startingActions.end(), 1.5*num_of_nops, JOYPAD_NOOP); startingActions.push_back(JOYPAD_START); startingActions.insert(startingActions.end(), 15.1*num_of_nops, JOYPAD_NOOP); return startingActions; }