ScummVM API documentation
palevent_scd.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 SNATCHER_PALEVENT_SCD_H
23
#define SNATCHER_PALEVENT_SCD_H
24
25
#include "common/scummsys.h"
26
27
namespace
Snatcher {
28
29
struct
PalEventSCD
{
30
PalEventSCD
() : cmd(0), delay(0), countDown(0), destOffset(0), destFlag(
false
), len(0), srcOffsetCur(0), srcOffsets(0), res(), progress(0) {}
31
void
clear() {
32
cmd = 0;
33
delay = 0;
34
countDown = 0;
35
destOffset = 0;
36
destFlag =
false
;
37
len = 0;
38
res =
ResourcePointer
();
39
srcOffsetCur = 0;
40
srcOffsets = 0;
41
progress = 0;
42
}
43
uint8 cmd;
44
uint8 delay;
45
uint8 countDown;
46
uint8 destOffset;
47
bool
destFlag;
48
uint8 len;
49
const
uint32 *srcOffsetCur;
50
const
uint32 *srcOffsets;
51
ResourcePointer
res;
52
uint8 progress;
53
};
54
55
}
// End of namespace Snatcher
56
57
#endif
// SNATCHER_PALEVENT_SCD_H
Snatcher::ResourcePointer
Definition:
resource.h:52
Snatcher::PalEventSCD
Definition:
palevent_scd.h:29
engines
snatcher
palevent_scd.h
Generated on Tue Nov 24 2026 09:34:52 for ScummVM API documentation by
1.9.4