ScummVM API documentation
transition.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 DIRECTOR_CASTMEMBER_TRANSITION_H
23
#define DIRECTOR_CASTMEMBER_TRANSITION_H
24
25
#include "director/castmember/castmember.h"
26
27
namespace
Director
{
28
29
class
TransitionCastMember
:
public
CastMember
{
30
public
:
31
TransitionCastMember
(
Cast
*cast, uint16 castId,
Common::SeekableReadStreamEndian
&stream, uint16 version);
32
TransitionCastMember
(
Cast
*cast, uint16 castId,
TransitionCastMember
&source);
33
34
CastMember
*duplicate(
Cast
*cast, uint16 castId)
override
{
return
(
CastMember
*)(
new
TransitionCastMember
(cast, castId, *
this
)); }
35
36
bool
hasField(
int
field)
override
;
37
Datum
getField(
int
field)
override
;
38
bool
setField(
int
field,
const
Datum
&value)
override
;
39
40
Common::String
formatInfo()
override
;
41
42
uint32 getCastDataSize()
override
;
43
void
writeCastData(
Common::SeekableWriteStream
*writeStream)
override
;
44
45
TransitionType _transType;
46
uint16 _durationMillis;
47
uint8 _flags;
48
uint8 _chunkSize;
49
bool
_area;
50
};
51
52
}
// End of namespace Director
53
54
#endif
Director::Cast
Definition:
cast.h:87
Common::String
Definition:
str.h:59
Director
Definition:
archive.h:36
Director::Datum
Definition:
lingo.h:130
Common::SeekableWriteStream
Definition:
stream.h:351
Common::SeekableReadStreamEndian
Definition:
stream.h:944
Director::TransitionCastMember
Definition:
transition.h:29
Director::CastMember
Definition:
castmember.h:48
engines
director
castmember
transition.h
Generated on Wed Sep 3 2025 09:08:50 for ScummVM API documentation by
1.8.13