10 #undef PlaySound // conflicts with Player method
105 std::array<std::tuple<const char *, const unsigned __int8>, 26>
107 std::tuple<const char *, const unsigned __int8>(
"UP", VK_UP),
108 std::tuple<const char *, const unsigned __int8>(
"DOWN", VK_DOWN),
109 std::tuple<const char *, const unsigned __int8>(
"LEFT", VK_LEFT),
110 std::tuple<const char *, const unsigned __int8>(
"ВЛЕВО", VK_LEFT),
111 std::tuple<const char *, const unsigned __int8>(
"RIGHT", VK_RIGHT),
112 std::tuple<const char *, const unsigned __int8>(
"ВПРАВО", VK_RIGHT),
113 std::tuple<const char *, const unsigned __int8>(
"RETURN", VK_RETURN),
114 std::tuple<const char *, const unsigned __int8>(
"SPACE", VK_SPACE),
115 std::tuple<const char *, const unsigned __int8>(
"PAGE_DOWN", VK_NEXT),
116 std::tuple<const char *, const unsigned __int8>(
"PAGE_UP", VK_PRIOR),
117 std::tuple<const char *, const unsigned __int8>(
"TAB", VK_TAB),
118 std::tuple<const char *, const unsigned __int8>(
"SUBTRACT",
120 std::tuple<const char *, const unsigned __int8>(
"ADD", VK_ADD),
121 std::tuple<const char *, const unsigned __int8>(
"END", VK_END),
122 std::tuple<const char *, const unsigned __int8>(
"DELETE", VK_DELETE),
123 std::tuple<const char *, const unsigned __int8>(
"HOME", VK_HOME),
124 std::tuple<const char *, const unsigned __int8>(
"INSERT", VK_INSERT),
125 std::tuple<const char *, const unsigned __int8>(
"COMMA", VK_OEM_COMMA),
126 std::tuple<const char *, const unsigned __int8>(
"DECIMAL", VK_DECIMAL),
127 std::tuple<const char *, const unsigned __int8>(
"SEMICOLON", VK_OEM_1),
128 std::tuple<const char *, const unsigned __int8>(
"PERIOD",
130 std::tuple<const char *, const unsigned __int8>(
"SLASH", VK_OEM_2),
131 std::tuple<const char *, const unsigned __int8>(
"SQUOTE", VK_OEM_7),
132 std::tuple<const char *, const unsigned __int8>(
"BACKSLASH", VK_OEM_5),
133 std::tuple<const char *, const unsigned __int8>(
"BACKSPACE", VK_BACK),
134 std::tuple<const char *, const unsigned __int8>(
"CONTROL", VK_CONTROL),
212 }
else if (a2 == VK_RETURN) {
214 }
else if (a2 == VK_ESCAPE) {
280 if (strlen(Str) == 1) {
281 if (Str[0] >= 65 && Str[0] <= 90)
296 static char static_sub_45AE2C_string_69ADE0_keyName[32];
298 if (a1 >= 65 && a1 <= 90) {
299 static_sub_45AE2C_string_69ADE0_keyName[0] = a1;
300 static_sub_45AE2C_string_69ADE0_keyName[1] =
'\0';
301 return static_sub_45AE2C_string_69ADE0_keyName;
307 strcpy(static_sub_45AE2C_string_69ADE0_keyName, keyName);
308 return static_sub_45AE2C_string_69ADE0_keyName;
312 strcpy(static_sub_45AE2C_string_69ADE0_keyName,
"-BAD KEY-");
313 return static_sub_45AE2C_string_69ADE0_keyName;
339 if (!
engine->config->always_run) {
354 for (
uint i = 0; i < 30; ++i) {
392 for (
uint i = 0; i < 30; ++i) {
399 switch (inputAction) {
579 if (!
engine->config->debug_all_magic)
585 engine->IsUnderwater() || !enoughMana) {
654 engine->ToggleAlwaysRun();