ScummVM API documentation
section4.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_SECTION4_H
23
#define M4_BURGER_ROOMS_SECTION4_H
24
25
#include "m4/burger/rooms/room.h"
26
#include "m4/burger/rooms/section.h"
27
#include "m4/burger/rooms/section4/room401.h"
28
#include "m4/burger/rooms/section4/room402.h"
29
#include "m4/burger/rooms/section4/room404.h"
30
#include "m4/burger/rooms/section4/room405.h"
31
#include "m4/burger/rooms/section4/room406.h"
32
#include "m4/burger/rooms/section4/room407.h"
33
34
namespace
M4
{
35
namespace
Burger {
36
namespace
Rooms {
37
38
class
Section4
:
public
Rooms::Section
{
39
struct
TeleportEntry {
40
int
_room;
41
int
_newRoom1;
42
int
_newRoom2;
43
};
44
private
:
45
static
const
char
*PARSER[];
46
static
const
TeleportEntry TELEPORTS[];
47
48
private
:
49
Room401
_room401;
50
Room402
_room402;
51
Room404
_room404;
52
Room405
_room405;
53
Room406
_room406;
54
Room407
_room407;
55
56
bool
teleport();
57
58
public
:
59
static
void
poof(
int
trigger);
60
static
bool
checkOrderWindow();
61
62
public
:
63
Section4
();
64
virtual
~
Section4
() {}
65
66
void
init
()
override
;
67
void
daemon()
override
;
68
void
parser()
override
;
69
};
70
71
}
// namespace Rooms
72
}
// namespace Burger
73
}
// namespace M4
74
75
#endif
M4::Burger::Rooms::Section
Definition:
section.h:31
M4::Burger::Rooms::Section4
Definition:
section4.h:38
M4::Burger::Rooms::Room407
Definition:
room407.h:32
M4::Burger::Rooms::Room404
Definition:
room404.h:34
M4::Burger::Rooms::Room401
Definition:
room401.h:31
M4
Definition:
database.h:28
M4::Burger::Rooms::Room405
Definition:
room405.h:31
M4::Burger::Rooms::Room402
Definition:
room402.h:31
M4::Burger::Rooms::Section4::init
void init() override
M4::Burger::Rooms::Room406
Definition:
room406.h:32
engines
m4
burger
rooms
section4
section4.h
Generated on Sat Aug 31 2024 09:13:50 for ScummVM API documentation by
1.8.13