DDraceNetwork Docs
|
#include "touch_controls.h"
#include <base/log.h>
#include <base/system.h>
#include <engine/client.h>
#include <engine/external/json-parser/json.h>
#include <engine/shared/config.h>
#include <engine/shared/jsonwriter.h>
#include <engine/shared/localization.h>
#include <game/client/components/camera.h>
#include <game/client/components/chat.h>
#include <game/client/components/console.h>
#include <game/client/components/controls.h>
#include <game/client/components/emoticon.h>
#include <game/client/components/menus.h>
#include <game/client/components/spectator.h>
#include <game/client/components/voting.h>
#include <game/client/gameclient.h>
#include <game/client/ui.h>
#include <game/localization.h>
Variables | |
static constexpr const char *const | ACTION_NAMES [] = {Localizable("Aim"), Localizable("Fire"), Localizable("Hook")} |
static constexpr const char *const | ACTION_SWAP_NAMES [] = { "", Localizable("Active: Fire"), Localizable("Active: Hook")} |
static constexpr const char *const | ACTION_COMMANDS [] = { "", "+fire", "+hook"} |
static constexpr std::chrono::milliseconds | LONG_TOUCH_DURATION = 500ms |
static constexpr std::chrono::milliseconds | BIND_REPEAT_INITIAL_DELAY = 250ms |
static constexpr std::chrono::nanoseconds | BIND_REPEAT_RATE = std::chrono::nanoseconds(1s) / 15 |
static constexpr const char *const | CONFIGURATION_FILENAME = "touch_controls.json" |
static constexpr int | BUTTON_SIZE_SCALE = 1000000 |
static constexpr int | BUTTON_SIZE_MINIMUM = 50000 |
static constexpr int | BUTTON_SIZE_MAXIMUM = 500000 |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |