ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
messages.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 NEVERHOOD_MESSAGES_H
23 #define NEVERHOOD_MESSAGES_H
24 
25 namespace Neverhood {
26 
27 enum NeverhoodMessage {
28  NM_MOUSE_MOVE = 0x0000,
29  NM_MOUSE_CLICK = 0x0001,
30  NM_MOUSE_RELEASE = 0x0002,
31  NM_MOUSE_HIDE = 0x101D,
32  NM_MOUSE_SHOW = 0x101E,
33  NM_KEYPRESS_SPACE = 0x0009,
34  NM_KEYPRESS_ESC = 0x000C,
35  NM_CHEAT = 0x000D,
36  NM_ANIMATION_START = 0x100D,
37  NM_SCENE_LEAVE = 0x1019,
38  NM_PRIORITY_CHANGE = 0x1022,
39  NM_ANIMATION_UPDATE = 0x2000,
40  NM_POSITION_CHANGE = 0x2002,
41  NM_KLAYMEN_CLIMB_LADDER = 0x2005,
42  NM_KLAYMEN_STOP_CLIMBING = 0x2006,
43 
44  NM_CAR_MOVE_TO_PREV_POINT = 0x2007,
45  NM_CAR_MOVE_TO_NEXT_POINT = 0x2008,
46  NM_CAR_ENTER = 0x2009,
47  NM_CAR_LEAVE = 0x200A,
48  NM_CAR_TURN = 0x200E,
49  NM_CAR_AT_HOME = 0x200F,
50 
51  NM_ANIMATION_STOP = 0x3002,
52 
53  NM_KLAYMEN_STAND_IDLE = 0x4004,
54  NM_KLAYMEN_USE_OBJECT = 0x4806,
55  NM_KLAYMEN_RAISE_LEVER = 0x4807,
56  NM_KLAYMEN_OPEN_DOOR = 0x4808,
57  NM_KLAYMEN_CLOSE_DOOR = 0x4809,
58  NM_KLAYMEN_MOVE_OBJECT = 0x480A,
59  NM_KLAYMEN_LOWER_LEVER = 0x480F,
60  NM_KLAYMEN_PICKUP = 0x4812,
61  NM_KLAYMEN_PRESS_BUTTON = 0x4816,
62  NM_KLAYMEN_INSERT_DISK = 0x481A,
63  NM_KLAYMEN_TURN_TO_USE = 0x481D,
64  NM_KLAYMEN_RETURN_FROM_USE = 0x481E,
65  NM_KLAYMEN_RELEASE_LEVER = 0x4827,
66 
67  NM_MOVE_TO_BACK = 0x482A,
68  NM_MOVE_TO_FRONT = 0x482B,
69 
70  // New to ScummVM
71  NM_MOUSE_WHEELUP = 0xF000,
72  NM_MOUSE_WHEELDOWN = 0xF001
73 };
74 
75 } // End of namespace Neverhood
76 
77 #endif /* NEVERHOOD_MESSAGES_H */
Definition: background.h:30