ScummVM API documentation
cheater.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
* This file is dual-licensed.
22
* In addition to the GPLv3 license mentioned above, this code is also
23
* licensed under LGPL 2.1. See LICENSES/COPYING.LGPL file for the
24
* full text of the license.
25
*
26
*/
27
28
#ifndef GOB_CHEATER_H
29
#define GOB_CHEATER_H
30
31
namespace
GUI
{
32
class
Debugger;
33
}
34
35
namespace
Gob
{
36
37
namespace
Geisha {
38
class
Diving;
39
class
Penetration;
40
}
41
42
class
GobEngine;
43
44
class
Cheater
{
45
public
:
46
Cheater
(
GobEngine
*vm);
47
virtual
~
Cheater
();
48
49
virtual
bool
cheat(
GUI::Debugger
&console) = 0;
50
51
protected
:
52
GobEngine
*_vm;
53
};
54
55
class
Cheater_Geisha
:
public
Cheater
{
56
public
:
57
Cheater_Geisha
(
GobEngine
*vm,
Geisha::Diving
*diving,
Geisha::Penetration
*penetration);
58
~
Cheater_Geisha
()
override
;
59
60
bool
cheat(
GUI::Debugger
&console)
override
;
61
62
private
:
63
Geisha::Diving
*_diving;
64
Geisha::Penetration
*_penetration;
65
};
66
67
}
// End of namespace Gob
68
69
#endif // GOB_CHEATER_H
Gob::GobEngine
Definition:
gob.h:163
Gob::Cheater
Definition:
cheater.h:44
GUI::Debugger
Definition:
debugger.h:41
Gob::Geisha::Diving
Definition:
diving.h:52
Gob::Cheater_Geisha
Definition:
cheater.h:55
GUI
Definition:
system.h:46
Gob
Definition:
anifile.h:40
Gob::Geisha::Penetration
Definition:
penetration.h:51
engines
gob
cheater.h
Generated on Thu Nov 14 2024 09:12:58 for ScummVM API documentation by
1.8.13