ScummVM API documentation
custom_logics.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  * Additional copyright for this file:
8  * Copyright (C) 1999-2000 Revolution Software Ltd.
9  * This code is based on source code created by Revolution Software,
10  * used with permission.
11  *
12  * This program is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program. If not, see <http://www.gnu.org/licenses/>.
24  *
25  */
26 
27 namespace ICB {
28 
29 #define SA_INDEX L->list[0]
30 
31 #define BOD_OPENING 1
32 #define BOD_CLOSING 2
33 #define BOD_WAITING 3
34 #define BOD_WAIT_COUNT L->list[4]
35 #define BOD_STATE L->list[5]
36 #define BOD_STATE_INDEX 5
37 #define BOD_CONTROL L->list[6]
38 // animation index
39 #define BOD_INDEX L->list[7]
40 #define BOD_OPEN_NO L->list[8]
41 #define BOD_CLOSE_NO L->list[9]
42 
43 #define CAD_OPEN 0
44 #define CAD_CLOSED 1
45 #define CAD_OPENING 2
46 #define CAD_CLOSING 3
47 
48 #define EXT_CAD_STATE list[0]
49 #define CAD_STATE L->list[0]
50 #define CAD_STATE_INDEX 0
51 
52 #define CAD_DIST L->list[1]
53 
54 // animation index
55 #define CAD_INDEX L->list[2]
56 #define CAD_OPEN_NO L->list[3]
57 #define CAD_CLOSE_NO L->list[4]
58 #define CAD_LOCKED L->list[5]
59 #define CAD_WAIT L->list[6]
60 
61 #define CAD_TIMER 48
62 
63 } // End of namespace ICB
Definition: actor.h:32