mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
5d50b5861f
V3 discerns between the root scene process and other scene processes. It also lets global processes be destroyed between scenes and remaps PID_PROCESS.
66 lines
2.3 KiB
C++
66 lines
2.3 KiB
C++
/* ScummVM - Graphic Adventure Engine
|
|
*
|
|
* ScummVM is the legal property of its developers, whose names
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
* file distributed with this source distribution.
|
|
*
|
|
* 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 3 of the License, or
|
|
* (at your option) 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/>.
|
|
*
|
|
* List of all process identifiers
|
|
*/
|
|
|
|
#ifndef TINSEL_PID_H // prevent multiple includes
|
|
#define TINSEL_PID_H
|
|
|
|
namespace Tinsel {
|
|
|
|
#define PID_DESTROY 0x8000 // process id of any process that is to be destroyed between scenes
|
|
|
|
#define PID_EFFECTS (0x0010 | PID_DESTROY) // generic special effects process id
|
|
#define PID_FADER (PID_EFFECTS + 4) // fader process
|
|
|
|
#define PID_MOUSE 0x0030 // mouse button checking process id
|
|
|
|
#define PID_KEYBOARD 0x0050 // keyboard scanning process
|
|
|
|
#define PID_CURSOR 0x0060 // cursor process
|
|
|
|
#define PID_SCROLL (0x0070 | PID_DESTROY) // scroll process
|
|
|
|
#define PID_INVENTORY 0x0080 // inventory process
|
|
|
|
#define PID_POSITION (0x0090 | PID_DESTROY) // cursor position process
|
|
|
|
#define PID_TAG (0x00A0 | PID_DESTROY) // tag process
|
|
|
|
#define PID_TCODE (0x00B0 | PID_DESTROY) // tinsel code process
|
|
|
|
#define PID_MASTER_SCR 0x00C0 // tinsel master script process
|
|
|
|
#define PID_MOVER (0x00D0 | PID_DESTROY) // moving actor process
|
|
|
|
#define PID_REEL (0x00E0 | PID_DESTROY) // process for each film reel
|
|
|
|
#define PID_BTN_CLICK 0x110 // process to handle mouse button clicks
|
|
|
|
#define PID_PROCESS (((TinselVersion == 3) ? 0x0100 : 0x0110) | PID_DESTROY) // Scene process base
|
|
|
|
#define PID_GPROCESS ((TinselVersion == 3) ? ( 0x110 | PID_DESTROY) : 0x0120) // Global process base
|
|
|
|
// distinction introduced by noir
|
|
#define PID_SCENE ((TinselVersion == 3) ? (0x0001 | PID_TCODE) : PID_TCODE) // Root scene process
|
|
} // End of namespace Tinsel
|
|
|
|
#endif // TINSEL_PID_H
|