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
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (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, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  * List of all process identifiers
22  */
23 
24 #ifndef TINSEL_PID_H	// prevent multiple includes
25 #define TINSEL_PID_H
26 
27 namespace Tinsel {
28 
29 #define	PID_DESTROY	0x8000			// process id of any process that is to be destroyed between scenes
30 
31 #define	PID_EFFECTS	(0x0010 | PID_DESTROY)	// generic special effects process id
32 #define	PID_FLASH	(PID_EFFECTS + 1)	// flash color process
33 #define	PID_CYCLE	(PID_EFFECTS + 2)	// cycle color range process
34 #define	PID_MORPH	(PID_EFFECTS + 3)	// morph process
35 #define	PID_FADER	(PID_EFFECTS + 4)	// fader process
36 #define	PID_FADE_BGND	(PID_EFFECTS + 5)	// fade background color process
37 
38 #define	PID_BACKGND	(0x0020 | PID_DESTROY)	// background update process id
39 
40 #define	PID_MOUSE	0x0030			// mouse button checking process id
41 
42 #define	PID_JOYSTICK	0x0040			// joystick button checking process id
43 
44 #define	PID_KEYBOARD	0x0050			// keyboard scanning process
45 
46 #define	PID_CURSOR	0x0060			// cursor process
47 #define	PID_CUR_TRAIL	(PID_CURSOR + 1)	// cursor trail process
48 
49 #define	PID_SCROLL	(0x0070 | PID_DESTROY)	// scroll process
50 
51 #define	PID_INVENTORY	0x0080			// inventory process
52 
53 #define	PID_POSITION	(0x0090 | PID_DESTROY)	// cursor position process
54 
55 #define	PID_TAG		(0x00A0 | PID_DESTROY)	// tag process
56 
57 #define	PID_TCODE	(0x00B0 | PID_DESTROY)	// tinsel code process
58 
59 #define	PID_MASTER_SCR	0x00C0			// tinsel master script process
60 
61 #define	PID_MOVER	(0x00D0 | PID_DESTROY)	// moving actor process
62 
63 #define	PID_REEL	(0x00E0 | PID_DESTROY)	// process for each film reel
64 
65 #define	PID_MIDI	(0x00F0 | PID_DESTROY)	// process to poll MIDI sound driver
66 
67 #define PID_BMV		0x0100				// Movie player process
68 
69 #define PID_BTN_CLICK 0x110				// process to handle mouse button clicks
70 
71 #define PID_PROCESS	(0x0110 | PID_DESTROY)	// Scene process base
72 
73 #define PID_GPROCESS	0x0120			// Global process base
74 
75 } // End of namespace Tinsel
76 
77 #endif	// TINSEL_PID_H
78