ScummVM API documentation
vcr.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 LASTEXPRESS_VCR_H
23
#define LASTEXPRESS_VCR_H
24
25
#include "lastexpress/lastexpress.h"
26
#include "lastexpress/data/cvcrfile.h"
27
28
namespace
LastExpress
{
29
30
class
LastExpressEngine;
31
class
CVCRFile;
32
33
struct
SVCRFileHeader;
34
struct
SVCRSavePointHeader;
35
36
class
VCR
{
37
38
public
:
39
VCR
(
LastExpressEngine
*engine);
40
~
VCR
() {}
41
42
void
virginSaveFile();
43
void
writeSavePoint(
int
type,
int
entity,
int
event);
44
void
selectFromName(
const
char
*filename);
45
void
shuffleGames();
46
void
setCurrentGameColor(
int
index);
47
void
init(
bool
doSaveGameFlag,
int
saveType, int32 time);
48
void
autoRewind(
int
saveType, int32 time);
49
void
free();
50
bool
isVirgin(
int
savegameIndex);
51
bool
currentEndsGame();
52
bool
makePermanent();
53
int
switchGames();
54
void
storeSettings();
55
void
loadSettings();
56
void
rewind();
57
void
forward();
58
void
stop();
59
void
seekToTime(int32 time);
60
void
updateCurGame(int32 fromTime, int32 toTime,
bool
searchEntry);
61
void
go();
62
63
protected
:
64
LastExpressEngine
*_engine;
65
66
int32 _currentSavePointInVCR = 0;
67
68
};
69
70
}
// End of namespace LastExpress
71
72
#endif // LASTEXPRESS_VCR_H
LastExpress::LastExpressEngine
Definition:
lastexpress.h:523
LastExpress
Definition:
archive.h:29
LastExpress::VCR
Definition:
vcr.h:36
engines
lastexpress
game
vcr.h
Generated on Wed Sep 3 2025 09:07:52 for ScummVM API documentation by
1.8.13