ScummVM API documentation
keys_enum.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef NUVIE_KEYBINDING_KEYS_ENUM_H
23#define NUVIE_KEYBINDING_KEYS_ENUM_H
24
25namespace Ultima {
26namespace Nuvie {
27
28// FIXME - I needed to reduce includes. Maybe use C++11 enum class in the future
29enum ActionKeyType {
30 WEST_KEY = 0,
31 EAST_KEY,
32 NORTH_KEY,
33 SOUTH_KEY,
34 NORTH_EAST_KEY,
35 SOUTH_EAST_KEY,
36 NORTH_WEST_KEY,
37 SOUTH_WEST_KEY,
38 TOGGLE_CURSOR_KEY,
39 DO_ACTION_KEY, // don't change the order before this without checking MsgScroll.cpp, MapEditorView.cpp and MapWindow.cpp
40 CANCEL_ACTION_KEY,
41 NEW_COMMAND_BAR_KEY,
42 NEXT_PARTY_MEMBER_KEY,
43 PREVIOUS_PARTY_MEMBER_KEY,
44 MSGSCROLL_UP_KEY,
45 MSGSCROLL_DOWN_KEY,
46 TOGGLE_AUDIO_KEY,
47 TOGGLE_MUSIC_KEY,
48 TOGGLE_SFX_KEY,
49 TOGGLE_FPS_KEY,
50 TOGGLE_FULLSCREEN_KEY,
51 DECREASE_DEBUG_KEY,
52 INCREASE_DEBUG_KEY,
53 QUIT_KEY,
54 HOME_KEY,
55 END_KEY,
56 OTHER_KEY
57};
58
59} // End of namespace Nuvie
60} // End of namespace Ultima
61
62#endif