1 /* ResidualVM - A 3D game interpreter
2  *
3  * ResidualVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the AUTHORS
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
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (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, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25  *
26  */
27 
28 namespace ICB {
29 
30 #define SA_INDEX L->list[0]
31 
32 #define BOD_OPENING 1
33 #define BOD_CLOSING 2
34 #define BOD_WAITING 3
35 #define BOD_WAIT_COUNT L->list[4]
36 #define BOD_STATE L->list[5]
37 #define BOD_STATE_INDEX 5
38 #define BOD_CONTROL L->list[6]
39 // animation index
40 #define BOD_INDEX L->list[7]
41 #define BOD_OPEN_NO L->list[8]
42 #define BOD_CLOSE_NO L->list[9]
43 
44 #define CAD_OPEN 0
45 #define CAD_CLOSED 1
46 #define CAD_OPENING 2
47 #define CAD_CLOSING 3
48 
49 #define EXT_CAD_STATE list[0]
50 #define CAD_STATE L->list[0]
51 #define CAD_STATE_INDEX 0
52 
53 #define CAD_DIST L->list[1]
54 
55 // animation index
56 #define CAD_INDEX L->list[2]
57 #define CAD_OPEN_NO L->list[3]
58 #define CAD_CLOSE_NO L->list[4]
59 #define CAD_LOCKED L->list[5]
60 #define CAD_WAIT L->list[6]
61 
62 #define CAD_TIMER 48
63 
64 } // End of namespace ICB
65