/*
* The ManaPlus Client
* Copyright (C) 2007 Joshua Langley <joshlangley@optusnet.com.au>
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2014 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INPUT_INPUTACTION_H
#define INPUT_INPUTACTION_H
namespace InputAction
{
/**
* All the key functions.
* KEY_NO_VALUE is used in initialization, and should be unchanged.
* KEY_TOTAL should always be last (used as a conditional in loops).
* The key assignment view gets arranged according to the order of
* these values.
*/
enum Type
{
NO_VALUE = -1,
MOVE_UP,
MOVE_DOWN,
MOVE_LEFT,
MOVE_RIGHT,
ATTACK,
TARGET_ATTACK,
MOVE_TO_TARGET,
CHANGE_MOVE_TO_TARGET,
MOVE_TO_HOME,
SET_HOME,
MOVE_TO_POINT,
TALK,
STOP_ATTACK,
UNTARGET,
TARGET_MONSTER,
TARGET_NPC,
TARGET_PLAYER,
PICKUP,
CHANGE_PICKUP_TYPE,
HIDE_WINDOWS,
SIT,
SCREENSHOT,
TRADE,
PATHFIND,
OK,
QUIT,
SHORTCUTS_KEY,
SHORTCUT_1,
SHORTCUT_2,
SHORTCUT_3,
SHORTCUT_4,
SHORTCUT_5,
SHORTCUT_6,
SHORTCUT_7,
SHORTCUT_8,
SHORTCUT_9,
SHORTCUT_10,
SHORTCUT_11,
SHORTCUT_12,
SHORTCUT_13,
SHORTCUT_14,
SHORTCUT_15,
SHORTCUT_16,
SHORTCUT_17,
SHORTCUT_18,
SHORTCUT_19,
SHORTCUT_20,
WINDOW_HELP,
WINDOW_STATUS,
WINDOW_IN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
OUTFIT_26,
OUTFIT_27,
OUTFIT_28,
OUTFIT_29,
OUTFIT_30,
OUTFIT_31,
OUTFIT_32,
OUTFIT_33,
OUTFIT_34,
OUTFIT_35,
OUTFIT_36,
OUTFIT_37,
OUTFIT_38,
OUTFIT_39,
OUTFIT_40,
OUTFIT_41,
OUTFIT_42,
OUTFIT_43,
OUTFIT_44,
OUTFIT_45,
OUTFIT_46,
OUTFIT_47,
OUTFIT_48,
MOVE_TO_POINT_1,
MOVE_TO_POINT_2,
MOVE_TO_POINT_3,
MOVE_TO_POINT_4,
MOVE_TO_POINT_5,
MOVE_TO_POINT_6,
MOVE_TO_POINT_7,
MOVE_TO_POINT_8,
MOVE_TO_POINT_9,
MOVE_TO_POINT_10,
MOVE_TO_POINT_11,
MOVE_TO_POINT_12,
MOVE_TO_POINT_13,
MOVE_TO_POINT_14,
MOVE_TO_POINT_15,
MOVE_TO_POINT_16,
MOVE_TO_POINT_17,
MOVE_TO_POINT_18,
MOVE_TO_POINT_19,
MOVE_TO_POINT_20,
MOVE_TO_POINT_21,
MOVE_TO_POINT_22,
MOVE_TO_POINT_23,
MOVE_TO_POINT_24,
MOVE_TO_POINT_25,
MOVE_TO_POINT_26,
MOVE_TO_POINT_27,
MOVE_TO_POINT_28,
MOVE_TO_POINT_29,
MOVE_TO_POINT_30,
MOVE_TO_POINT_31,
MOVE_TO_POINT_32,
MOVE_TO_POINT_33,
MOVE_TO_POINT_34,
MOVE_TO_POINT_35,
MOVE_TO_POINT_36,
MOVE_TO_POINT_37,
MOVE_TO_POINT_38,
MOVE_TO_POINT_39,
MOVE_TO_POINT_40,
MOVE_TO_POINT_41,
MOVE_TO_POINT_42,
MOVE_TO_POINT_43,
MOVE_TO_POINT_44,
MOVE_TO_POINT_45,
MOVE_TO_POINT_46,
MOVE_TO_POINT_47,
MOVE_TO_POINT_48,
TOGGLE_CHAT,
SCROLL_CHAT_UP,
SCROLL_CHAT_DOWN,
PREV_CHAT_TAB,
NEXT_CHAT_TAB,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OGGLE,
WHERE,
WHO,
WHISPER,
QUERY,
CLEAR_CHAT_TAB,
IGNORE,
UNIGNORE,
FRIEND,
DISREGARD,
NEUTRAL,
BLACKLIST,
ENEMY,
ERASE,
CLEAN_GRAPHICS,
CLEAN_FONTS,
CREATE_PARTY,
CREATE_GUILD,
PARTY,
ME,
TOGGLE,
PRESENT,
PRINT_ALL,
MOVE,
TARGET,
ATTACK_HUMAN,
COMMAMD_OUTFIT,
COMMAMD_EMOTE,
COMMAND_EMOTE_PET,
AWAY_MESSAGE,
PSEUDO_AWAY,
FOLLOW,
NAVIGATE,
IMITATION,
SEND_MAIL,
TOTAL
};
} // namespace InputAction
#endif // INPUT_INPUTACTION_H