Added additional toggle and setting options in Settings menu. Made screen shake, gamepad rumble, keyboard aim assist, and terrain collision box display toggles functional. Added toggle sound effect. Release Build 7344.
This commit is contained in:
@@ -40,6 +40,7 @@ All rights reserved.
|
||||
#include "AdventuresInLestoria.h"
|
||||
#include "olcPGEX_Gamepad.h"
|
||||
#include "Menu.h"
|
||||
#include "GameSettings.h"
|
||||
|
||||
INCLUDE_game
|
||||
INCLUDE_GFX
|
||||
@@ -564,6 +565,7 @@ const bool Input::AxesActive(){
|
||||
}
|
||||
|
||||
void Input::StartVibration(){
|
||||
if(!GameSettings::RumbleEnabled())return;
|
||||
if(UsingGamepad()){
|
||||
for(GamePad*gamepad:GamePad::getGamepads()){
|
||||
if(gamepad->stillConnected){
|
||||
|
||||
Reference in New Issue
Block a user