ScummVM API documentation
navdata.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) 1995 Presto Studios, Inc.
9
*
10
* This program is free software: you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation, either version 3 of the License, or
13
* (at your option) any later version.
14
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
20
* You should have received a copy of the GNU General Public License
21
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*
23
*/
24
25
#ifndef BURIED_NAVDATA_H
26
#define BURIED_NAVDATA_H
27
28
#include "common/scummsys.h"
29
30
namespace
Buried
{
31
32
struct
Location
{
33
Location
() : timeZone(-1), environment(-1), node(-1), facing(-1), orientation(-1), depth(-1) {}
34
Location
(int16 tz, int16 e, int16 n, int16 f, int16 o, int16 d) : timeZone(tz), environment(e), node(n), facing(f), orientation(o), depth(d) {}
35
36
int16 timeZone;
37
int16 environment;
38
int16 node;
39
int16 facing;
40
int16 orientation;
41
int16 depth;
42
};
43
44
enum
{
45
TRANSITION_NONE = 0,
46
TRANSITION_PUSH = 1,
47
TRANSITION_WALK = 2,
48
TRANSITION_VIDEO = 3,
49
TRANSITION_FADE = 4
50
};
51
52
enum
{
53
TF_PUSH_UP = 0,
54
TF_PUSH_LEFT = 1,
55
TF_PUSH_RIGHT = 2,
56
TF_PUSH_DOWN = 3
57
};
58
59
struct
DestinationScene
{
60
Location
destinationScene;
61
int16 transitionType;
62
63
// Data specific to each type of transition:
64
// TRANSITION_VIDEO: video clip ID
65
// TRANSITION_PUSH: identifies direction
66
int16 transitionData;
67
68
int32 transitionStartFrame;
// Unused for video
69
int32 transitionLength;
// Unused for video
70
};
71
72
struct
LocationStaticData
{
73
Location
location;
74
DestinationScene
destUp;
75
DestinationScene
destLeft;
76
DestinationScene
destRight;
77
DestinationScene
destDown;
78
DestinationScene
destForward;
79
int16 classID;
80
int32 navFrameIndex;
81
int32 miscFrameIndex;
82
int32 miscFrameCount;
83
int32 cycleStartFrame;
84
int32 cycleFrameCount;
85
};
86
87
}
// End of namespace Buried
88
89
#endif
Buried::LocationStaticData
Definition:
navdata.h:72
Buried::DestinationScene
Definition:
navdata.h:59
Buried
Definition:
agent_evaluation.h:31
Buried::Location
Definition:
navdata.h:32
engines
buried
navdata.h
Generated on Thu Nov 21 2024 09:10:08 for ScummVM API documentation by
1.8.13