ScummVM API documentation
rte.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_RTE_H
23
#define DIRECTOR_RTE_H
24
25
#include "common/array.h"
26
#include "common/stream.h"
27
28
namespace
Common
{
29
class
SeekableReadStreamEndian;
30
}
31
32
namespace
Graphics
{
33
class
ManagedSurface;
34
}
35
36
namespace
Director
{
37
38
class
Cast;
39
40
class
RTE0
{
41
public
:
42
RTE0
(
Cast
*cast,
Common::SeekableReadStreamEndian
&stream);
43
44
Cast
*_cast;
45
Common::Array<byte>
data;
46
};
47
48
class
RTE1
{
49
public
:
50
RTE1
(
Cast
*cast,
Common::SeekableReadStreamEndian
&stream);
51
52
Cast
*_cast;
53
Common::Array<byte>
data;
54
};
55
56
class
RTE2
{
57
public
:
58
RTE2
(
Cast
*cast,
Common::SeekableReadStreamEndian
&stream);
59
~
RTE2
();
60
61
Graphics::ManagedSurface
*createSurface(uint32 foreColor, uint32 bgColor,
const
Graphics::PixelFormat
&pf)
const
;
62
63
Cast
*_cast;
64
uint16 _width;
65
uint16 _height;
66
uint32 _bpp;
67
Common::Array<byte>
_rle;
68
};
69
70
}
// End of namespace Director
71
72
#endif
Graphics::ManagedSurface
Definition:
managed_surface.h:51
Director::Cast
Definition:
cast.h:87
Common::Array< byte >
Graphics::PixelFormat
Definition:
pixelformat.h:138
Director::RTE0
Definition:
rte.h:40
Director
Definition:
archive.h:36
Common
Definition:
algorithm.h:29
Graphics
Definition:
formatinfo.h:28
Director::RTE1
Definition:
rte.h:48
Common::SeekableReadStreamEndian
Definition:
stream.h:944
Director::RTE2
Definition:
rte.h:56
engines
director
rte.h
Generated on Wed Sep 3 2025 09:09:02 for ScummVM API documentation by
1.8.13