#include "touchcontrols.h"#include "touchscreenlayout.h"#include "irr_v2d.h"#include "log.h"#include "porting.h"#include "settings.h"#include "client/guiscalingfilter.h"#include "client/renderingengine.h"#include "client/texturesource.h"#include "util/enum_string.h"#include "irr_gui_ptr.h"#include "IGUIImage.h"#include "IGUIStaticText.h"#include <IrrlichtDevice.h>#include <ISceneCollisionManager.h>#include <IGUIElement.h>#include <IGUIEnvironment.h>#include <iostream>#include <algorithm>Functions | |
| static GameKeyType | id_to_action (touch_gui_button_id id) |
Variables | |
| TouchControls * | g_touchcontrols |
| static const char * | setting_names [] |
|
static |
References KeyType::AUX1, aux1_id, camera_id, KeyType::CAMERA_MODE, KeyType::CHAT, chat_id, debug_id, KeyType::DIG, dig_id, KeyType::DROP, drop_id, KeyType::ESC, exit_id, fast_id, KeyType::FASTMOVE, fly_id, KeyType::FREEMOVE, KeyType::INTERNAL_ENUM_COUNT, KeyType::INVENTORY, inventory_id, KeyType::JUMP, jump_id, KeyType::MINIMAP, minimap_id, KeyType::NOCLIP, noclip_id, KeyType::PLACE, place_id, range_id, KeyType::RANGESELECT, KeyType::SNEAK, sneak_id, KeyType::TOGGLE_CHAT, toggle_chat_id, KeyType::TOGGLE_DEBUG, KeyType::ZOOM, and zoom_id.
Referenced by TouchControls::addButton(), TouchControls::applyContextControls(), TouchControls::applyJoystickStatus(), TouchControls::mayAddButton(), and TouchControls::releaseAll().
| TouchControls* g_touchcontrols |
Referenced by MainMenuManager::deletingMenu(), Hud::drawHotbar(), Hud::drawItems(), RealInputHandler::getJoystickDirection(), RealInputHandler::getJoystickSpeed(), Game::initGui(), Game::isTouchShootlineUsed(), MyEventReceiver::OnEvent(), Game::processItemSelection(), Game::processPlayerInteraction(), Game::processUserInput(), ClientLauncher::run(), GameFormSpec::showPauseMenu(), Game::shutdown(), GameUI::update(), Game::updateCameraDirection(), Game::updateCameraOrientation(), and Game::updatePlayerControl().
|
static |