Added wrapping menu macro functionality. Implemented controller compatibility for level complete window. Added right alignment for menu labels. Added ProgressBar component. Added XP-related functions for callbacks to other components in-game. Fix giant normalized vector issue with Wolf AI script. Release Build 7041.
This commit is contained in:
@@ -551,16 +551,10 @@ const bool Input::AxesActive(){
|
||||
if(gamepad->stillConnected){
|
||||
if(fabs(gamepad->getAxis(GPAxes::RX))>0.f){
|
||||
xAxis=gamepad->getAxis(GPAxes::RX);
|
||||
}else
|
||||
if(fabs(gamepad->getAxis(GPAxes::LX))>0.f){
|
||||
xAxis=gamepad->getAxis(GPAxes::LX);
|
||||
}
|
||||
|
||||
if(fabs(gamepad->getAxis(GPAxes::RY))>0.f){
|
||||
yAxis=gamepad->getAxis(GPAxes::RY);
|
||||
}else
|
||||
if(fabs(gamepad->getAxis(GPAxes::LY))>0.f){
|
||||
yAxis=gamepad->getAxis(GPAxes::LY);
|
||||
}
|
||||
|
||||
if(xAxis!=0.f||yAxis!=0.f)break; //Found a controller, so we're good to break.
|
||||
|
||||
Reference in New Issue
Block a user