ScummVM API documentation
px_camera_cube.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 #ifndef ICB_PX_CAMERA_CUBE
28 #define ICB_PX_CAMERA_CUBE
29 
30 #include "engines/icb/common/px_common.h"
31 
32 namespace ICB {
33 
34 typedef struct {
35  /*
36  (y)height
37  |
38  |
39  |
40  |
41  |
42  x1,y1,z1 |----------| y
43  \ \ |
44  \ \ |
45  \___________ (x)width \---x
46  (z)depth \ parallel to max model axis
47  z
48  */
49 
50  PXreal x1;
51  PXreal y1;
52  PXreal z1; // top left bottom corner point
53  PXreal width;
54  PXreal depth;
55  PXreal height;
56  uint32 script_name_offset; // IF this is set then we call a script
57  uint32 camera_name_offset; // ELSE offset from start of this file to ascii
58  // name of camera - and therefore set
59 } _camera_cube;
60 
61 } // End of namespace ICB
62 
63 #endif
Definition: px_camera_cube.h:34
Definition: actor.h:32