ScummVM API documentation
init.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_INIT_H
29
#define GOB_INIT_H
30
31
#include "gob/gob.h"
32
#include "gob/video.h"
33
34
namespace
Gob
{
35
36
class
Init
{
37
public
:
38
Init
(
GobEngine
*vm);
39
virtual
~
Init
();
40
41
virtual
void
initGame();
42
43
virtual
void
initVideo() = 0;
44
45
virtual
void
updateConfig();
46
47
protected
:
48
Video::PalDesc
*_palDesc;
49
static
const
char
*
const
_fontNames[4];
50
GobEngine
*_vm;
51
52
void
cleanup();
53
void
doDemo();
54
};
55
56
class
Init_v1
:
public
Init
{
57
public
:
58
Init_v1
(
GobEngine
*vm);
59
~
Init_v1
()
override
;
60
61
void
initVideo()
override
;
62
};
63
64
class
Init_Geisha
:
public
Init_v1
{
65
public
:
66
Init_Geisha
(
GobEngine
*vm);
67
~
Init_Geisha
()
override
;
68
69
void
initVideo()
override
;
70
};
71
72
class
Init_v2
:
public
Init_v1
{
73
public
:
74
Init_v2
(
GobEngine
*vm);
75
~
Init_v2
()
override
;
76
77
void
initVideo()
override
;
78
};
79
80
class
Init_v3
:
public
Init_v2
{
81
public
:
82
Init_v3
(
GobEngine
*vm);
83
~
Init_v3
()
override
;
84
85
void
initVideo()
override
;
86
void
updateConfig()
override
;
87
};
88
89
class
Init_v4
:
public
Init_v3
{
90
public
:
91
Init_v4
(
GobEngine
*vm);
92
~
Init_v4
()
override
;
93
94
void
updateConfig()
override
;
95
};
96
97
class
Init_v6
:
public
Init_v3
{
98
public
:
99
Init_v6
(
GobEngine
*vm);
100
~
Init_v6
()
override
;
101
102
void
initGame()
override
;
103
};
104
105
class
Init_Fascination
:
public
Init_v2
{
106
public
:
107
Init_Fascination
(
GobEngine
*vm);
108
~
Init_Fascination
()
override
;
109
110
void
updateConfig()
override
;
111
void
initGame()
override
;
112
};
113
114
class
Init_v7
:
public
Init_v2
{
115
public
:
116
Init_v7
(
GobEngine
*vm);
117
~
Init_v7
()
override
;
118
119
void
initGame()
override
;
120
};
121
122
}
// End of namespace Gob
123
124
#endif // GOB_INIT_H
Gob::Init_v6
Definition:
init.h:97
Gob::GobEngine
Definition:
gob.h:163
Gob::Init_v2
Definition:
init.h:72
Gob::Init
Definition:
init.h:36
Gob::Init_v1
Definition:
init.h:56
Gob
Definition:
anifile.h:40
Gob::Init_Geisha
Definition:
init.h:64
Gob::Init_Fascination
Definition:
init.h:105
Gob::Init_v4
Definition:
init.h:89
Gob::Init_v7
Definition:
init.h:114
Gob::Video::PalDesc
Definition:
video.h:94
Gob::Init_v3
Definition:
init.h:80
engines
gob
init.h
Generated on Thu Nov 14 2024 09:13:15 for ScummVM API documentation by
1.8.13