|
|
|
@ -170,6 +170,7 @@ private: |
|
|
|
|
attackGroup.ClearAllKeybinds(); |
|
|
|
|
ADDKEYBIND(attackGroup,game->KEY_ATTACK,CONTROLLER); |
|
|
|
|
ADDKEYBIND(attackGroup,game->KEY_ATTACK,KEY); |
|
|
|
|
ADDKEYBIND(attackGroup,game->KEY_ATTACK,STEAM); |
|
|
|
|
} |
|
|
|
|
virtual inline bool CompleteCondition()override final{ |
|
|
|
|
return I(A::ATTACK_COUNT)>=10; |
|
|
|
@ -177,7 +178,11 @@ private: |
|
|
|
|
virtual inline void OnComplete()override final{} |
|
|
|
|
virtual inline void Draw()const override final{ |
|
|
|
|
if(Input::UsingGamepad()){ |
|
|
|
|
if(SteamInput()){ |
|
|
|
|
attackGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Attack",180,InputType::STEAM); |
|
|
|
|
}else{ |
|
|
|
|
attackGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Attack",180,InputType::CONTROLLER); |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
attackGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Attack",180,InputType::KEY); |
|
|
|
|
} |
|
|
|
@ -193,10 +198,13 @@ private: |
|
|
|
|
abilityGroup.ClearAllKeybinds(); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY1,CONTROLLER); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY1,KEY); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY1,STEAM); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY2,CONTROLLER); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY2,KEY); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY2,STEAM); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY3,CONTROLLER); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY3,KEY); |
|
|
|
|
ADDKEYBIND(abilityGroup,game->GetPlayer()->KEY_ABILITY3,STEAM); |
|
|
|
|
} |
|
|
|
|
virtual inline bool CompleteCondition()override final{ |
|
|
|
|
return I(A::ABILITY_COUNT)>=5; |
|
|
|
@ -204,7 +212,11 @@ private: |
|
|
|
|
virtual inline void OnComplete()override final{} |
|
|
|
|
virtual inline void Draw()const override final{ |
|
|
|
|
if(Input::UsingGamepad()){ |
|
|
|
|
if(SteamInput()){ |
|
|
|
|
abilityGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Abilities",180,InputType::STEAM); |
|
|
|
|
}else{ |
|
|
|
|
abilityGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Abilities",180,InputType::CONTROLLER); |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
abilityGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Abilities",180,InputType::KEY); |
|
|
|
|
} |
|
|
|
@ -220,6 +232,7 @@ private: |
|
|
|
|
defensiveGroup.ClearAllKeybinds(); |
|
|
|
|
ADDKEYBIND(defensiveGroup,game->GetPlayer()->KEY_DEFENSIVE,CONTROLLER); |
|
|
|
|
ADDKEYBIND(defensiveGroup,game->GetPlayer()->KEY_DEFENSIVE,KEY); |
|
|
|
|
ADDKEYBIND(defensiveGroup,game->GetPlayer()->KEY_DEFENSIVE,STEAM); |
|
|
|
|
} |
|
|
|
|
virtual inline bool CompleteCondition()override final{ |
|
|
|
|
return I(A::DEFENSIVE_COUNT)>=2; |
|
|
|
@ -227,7 +240,11 @@ private: |
|
|
|
|
virtual inline void OnComplete()override final{} |
|
|
|
|
virtual inline void Draw()const override final{ |
|
|
|
|
if(Input::UsingGamepad()){ |
|
|
|
|
if(SteamInput()){ |
|
|
|
|
defensiveGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Defensive Ability",180,InputType::STEAM); |
|
|
|
|
}else{ |
|
|
|
|
defensiveGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Defensive Ability",180,InputType::CONTROLLER); |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
defensiveGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Defensive Ability",180,InputType::KEY); |
|
|
|
|
} |
|
|
|
@ -244,14 +261,17 @@ private: |
|
|
|
|
if(!ISBLANK(game->GetLoadoutItem(0))){ |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM1,CONTROLLER); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM1,KEY); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM1,STEAM); |
|
|
|
|
} |
|
|
|
|
if(!ISBLANK(game->GetLoadoutItem(1))){ |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM2,CONTROLLER); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM2,KEY); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM2,STEAM); |
|
|
|
|
} |
|
|
|
|
if(!ISBLANK(game->GetLoadoutItem(2))){ |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM3,CONTROLLER); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM3,KEY); |
|
|
|
|
ADDKEYBIND(itemsGroup,game->GetPlayer()->KEY_ITEM3,STEAM); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
virtual inline bool CompleteCondition()override final{ |
|
|
|
@ -260,7 +280,11 @@ private: |
|
|
|
|
virtual inline void OnComplete()override final{} |
|
|
|
|
virtual inline void Draw()const override final{ |
|
|
|
|
if(Input::UsingGamepad()){ |
|
|
|
|
if(SteamInput()){ |
|
|
|
|
itemsGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Consumables",180,InputType::STEAM); |
|
|
|
|
}else{ |
|
|
|
|
itemsGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Consumables",180,InputType::CONTROLLER); |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
itemsGroup.DrawInput(game,{game->ScreenWidth()/2.f,48.f},"Use Consumables",180,InputType::KEY); |
|
|
|
|
} |
|
|
|
|