ScummVM API documentation
script_v1.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 PHOENIXVR_SCRIPT_V1_H
23
#define PHOENIXVR_SCRIPT_V1_H
24
25
#include "phoenixvr/script.h"
26
27
namespace
PhoenixVR {
28
class
ScriptV1
:
public
Script
{
29
public
:
30
struct
Conditional
:
public
Command
{
31
Common::Array<Common::String>
vars;
32
CommandPtr
target;
33
Conditional
(
Common::Array<Common::String>
args) : vars(
Common::move
(args)) {}
34
};
35
using
ConditionalPtr
=
Common::SharedPtr<Conditional>
;
36
37
private
:
38
WarpPtr
_currentWarp;
39
TestPtr
_currentTest;
40
ScopePtr
_pluginScope;
41
ConditionalPtr
_conditional;
42
43
private
:
44
void
parseLine(
const
Common::String
&line, uint lineno)
override
;
45
};
46
}
// namespace PhoenixVR
47
48
#endif
Common::Array< Common::String >
Common::SharedPtr< Command >
Common::String
Definition:
str.h:59
PhoenixVR::Script
Definition:
script.h:37
PhoenixVR::ScriptV1
Definition:
script_v1.h:28
Common::move
Out move(In first, In last, Out dst)
Definition:
algorithm.h:109
PhoenixVR::Command
Definition:
commands.h:40
PhoenixVR::ScriptV1::Conditional
Definition:
script_v1.h:30
engines
phoenixvr
script_v1.h
Generated on Sat Oct 24 2026 09:22:44 for ScummVM API documentation by
1.9.4