ScummVM API documentation
pid.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 * List of all process identifiers
21 */
22
23#ifndef TINSEL_PID_H // prevent multiple includes
24#define TINSEL_PID_H
25
26namespace Tinsel {
27
28#define PID_DESTROY 0x8000 // process id of any process that is to be destroyed between scenes
29
30#define PID_EFFECTS (0x0010 | PID_DESTROY) // generic special effects process id
31#define PID_FADER (PID_EFFECTS + 4) // fader process
32
33#define PID_MOUSE 0x0030 // mouse button checking process id
34
35#define PID_KEYBOARD 0x0050 // keyboard scanning process
36
37#define PID_CURSOR 0x0060 // cursor process
38
39#define PID_SCROLL (0x0070 | PID_DESTROY) // scroll process
40
41#define PID_INVENTORY 0x0080 // inventory process
42
43#define PID_POSITION (0x0090 | PID_DESTROY) // cursor position process
44
45#define PID_TAG (0x00A0 | PID_DESTROY) // tag process
46
47#define PID_TCODE (0x00B0 | PID_DESTROY) // tinsel code process
48
49#define PID_MASTER_SCR 0x00C0 // tinsel master script process
50
51#define PID_MOVER (0x00D0 | PID_DESTROY) // moving actor process
52
53#define PID_REEL (0x00E0 | PID_DESTROY) // process for each film reel
54
55#define PID_BTN_CLICK 0x110 // process to handle mouse button clicks
56
57#define PID_PROCESS (((TinselVersion == 3) ? 0x0100 : 0x0110) | PID_DESTROY) // Scene process base
58
59#define PID_GPROCESS ((TinselVersion == 3) ? ( 0x110 | PID_DESTROY) : 0x0120) // Global process base
60
61// distinction introduced by noir
62#define PID_SCENE ((TinselVersion == 3) ? (0x0001 | PID_TCODE) : PID_TCODE) // Root scene process
63} // End of namespace Tinsel
64
65#endif // TINSEL_PID_H
Definition: actors.h:36