mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-21 18:09:47 +00:00
fix many things and make playable
This commit is contained in:
parent
13010f10fa
commit
fd183d4888
8 changed files with 52 additions and 30 deletions
|
|
@ -715,7 +715,7 @@ void Minecraft::tickInput() {
|
|||
#endif
|
||||
}
|
||||
#endif
|
||||
#if defined(RPI)
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
if (key == Keyboard::KEY_E) {
|
||||
screenChooser.setScreen(SCREEN_BLOCKSELECTION);
|
||||
}
|
||||
|
|
@ -831,7 +831,7 @@ void Minecraft::tickInput() {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef RPI
|
||||
#ifndef PLATFORM_DESKTOP
|
||||
if (key == 82)
|
||||
pauseGame(false);
|
||||
#else
|
||||
|
|
@ -1242,7 +1242,7 @@ void Minecraft::_reloadInput() {
|
|||
#ifndef STANDALONE_SERVER
|
||||
delete inputHolder;
|
||||
|
||||
if (useTouchscreen()) {
|
||||
if (useTouchscreen() && !PLATFORM_DESKTOP) {
|
||||
inputHolder = new TouchInputHolder(this, &options);
|
||||
} else {
|
||||
#if defined(ANDROID) || defined(__APPLE__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue