ScummVM API documentation
room902.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 M4_BURGER_ROOMS_SECTION9_ROOM902_H
23
#define M4_BURGER_ROOMS_SECTION9_ROOM902_H
24
25
#include "m4/burger/rooms/room.h"
26
27
namespace
M4
{
28
namespace
Burger {
29
namespace
Rooms {
30
31
struct
Entry
{
32
const
char
*_name;
33
int
_duration;
34
};
35
36
class
Room902
:
public
Rooms::Room
{
37
private
:
38
int
_vol = 255;
39
const
Entry
*_entries =
nullptr
;
40
int
_index = 0;
41
const
char
*_name =
nullptr
;
42
int
_duration = 0;
43
int
_seriesIndex = -1;
44
45
public
:
46
Room902
() :
Rooms::Room
() {}
47
~
Room902
()
override
{}
48
49
void
preload()
override
;
50
void
init()
override
;
51
void
daemon()
override
;
52
};
53
54
}
// namespace Rooms
55
}
// namespace Burger
56
}
// namespace M4
57
58
#endif
M4::Burger::Rooms::Room
Definition:
room.h:38
M4
Definition:
database.h:28
M4::Burger::Rooms::Room902
Definition:
room902.h:36
M4::Burger::Rooms::Entry
Definition:
room902.h:31
engines
m4
burger
rooms
section9
room902.h
Generated on Fri Nov 22 2024 09:19:58 for ScummVM API documentation by
1.8.13