mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-22 16:03:31 +00:00
FIXED: Android build issues, added building to Andr from Linux
I really hope this didnt break anything Im proud of the bash script
This commit is contained in:
@@ -350,8 +350,8 @@ void LocalPlayer::calculateFlight(float xa, float ya, float za) {
|
||||
za = za * flySpeed;
|
||||
|
||||
#ifdef ANDROID
|
||||
if (Keyboard::isKeyDown(103)) ya = .2f * minecraft->options.flySpeed;
|
||||
if (Keyboard::isKeyDown(102)) ya = -.2f * minecraft->options.flySpeed;
|
||||
if (Keyboard::isKeyDown(103)) ya = .2f * flySpeed;
|
||||
if (Keyboard::isKeyDown(102)) ya = -.2f * flySpeed;
|
||||
#else
|
||||
if (Keyboard::isKeyDown(Keyboard::KEY_E)) ya = .2f * flySpeed;
|
||||
if (Keyboard::isKeyDown(Keyboard::KEY_Q)) ya = -.2f * flySpeed;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
//package net.minecraft.client.player;
|
||||
|
||||
#include "KeyboardInput.h"
|
||||
#include "platform/input/Controller.h"
|
||||
#include "world/entity/player/Player.h"
|
||||
|
||||
// @note: This is just copy-pasted from KeyboardInput right now.
|
||||
class XperiaPlayInput: public KeyboardInput
|
||||
|
||||
Reference in New Issue
Block a user