ScummVM API documentation
sequences_hof.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  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef KYRA_SEQUENCES_HOF_H
23 #define KYRA_SEQUENCES_HOF_H
24 
25 #include "kyra/engine/kyra_v2.h"
26 
27 namespace Kyra {
28 
29 struct HoFSequence {
30  const char *wsaFile;
31  const char *cpsFile;
32  uint16 flags;
33  uint8 fadeInTransitionType;
34  uint8 fadeOutTransitionType;
35  int16 stringIndex1;
36  int16 stringIndex2;
37  uint16 startFrame;
38  uint16 numFrames;
39  uint16 duration;
40  uint16 xPos;
41  uint16 yPos;
42  uint16 timeout;
43 };
44 
46  const char *wsaFile;
47  const FrameControl *wsaControl;
48  uint16 flags;
49  uint16 startframe;
50  uint16 endFrame;
51  uint16 frameDelay;
52  uint16 x;
53  uint16 y;
54  uint16 fadeInTransitionType;
55  uint16 fadeOutTransitionType;
56 };
57 
58 struct HoFSeqData {
59  const HoFSequence *seq;
60  int numSeq;
61  const HoFNestedSequence *nestedSeq;
62  int numNestedSeq;
63 };
64 
66  int16 itemIndex;
67  uint16 y;
68  const uint16 *frames;
69 };
70 
71 } // End of namespace Kyra
72 
73 #endif
Definition: kyra_v2.h:35
Definition: sequences_hof.h:58
Definition: sequences_hof.h:29
Definition: detection.h:27
Definition: sequences_hof.h:45
Definition: sequences_hof.h:65