ScummVM API documentation
px_features.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_FEATURES_H_INCLUDED
28
#define ICB_PX_FEATURES_H_INCLUDED
29
30
#include "engines/icb/common/px_common.h"
31
32
namespace
ICB
{
33
34
// These define the filenames for files containing floor maps.
35
#define PX_FILENAME_FEATURES_INFO "pxwgfeatures"
36
#ifndef PX_EXT_LINKED
37
#define PX_EXT_LINKED "linked"
38
#endif
39
40
#ifndef PSX_EXT_LINKED
41
#define PSX_EXT_LINKED "PSXlinked"
42
#endif
43
44
// This is the version for these files. The engine checks this runtime to know that it is running with
45
// the correct version of file.
46
#define VERSION_PXWGFEATURES 200
47
48
// enum _feature_type
49
// Not entirely sure what these will be yet. But here are a couple of suggestions.
50
enum
_feature_type { ANIMATING = 0, FEATURE, OTHER };
51
52
// struct _feature_info
53
// This holds information about one prop.
54
typedef
struct
{
55
PXreal x, y, z;
// Reference point for the prop.
56
PXreal floor_y;
// Y projected down to the floor the prop is on.
57
_feature_type type;
// The type of the prop.
58
PXfloat direction;
// 0 - 99 (maybe use -1 to indicate no direction).
59
}
_feature_info
;
60
61
}
// End of namespace ICB
62
63
#endif // #ifndef _PX_FEATURES_H_INCLUDED
ICB
Definition:
actor.h:32
ICB::_feature_info
Definition:
px_features.h:54
engines
icb
common
px_features.h
Generated on Sat Aug 31 2024 09:12:59 for ScummVM API documentation by
1.8.13