ScummVM API documentation
low_level_game_setup.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 /*
23  * Copyright (C) 2006-2010 - Frictional Games
24  *
25  * This file is part of HPL1 Engine.
26  */
27 
28 #ifndef HPL_LOWLEVELGAMESETUP_H
29 #define HPL_LOWLEVELGAMESETUP_H
30 
31 #include "hpl1/engine/ai/AI.h"
32 #include "hpl1/engine/graphics/Graphics.h"
33 #include "hpl1/engine/input/Input.h"
34 #include "hpl1/engine/physics/Physics.h"
35 #include "hpl1/engine/resources/Resources.h"
36 #include "hpl1/engine/scene/Scene.h"
37 #include "hpl1/engine/sound/Sound.h"
38 #include "hpl1/engine/system/System.h"
39 
40 namespace hpl {
41 
43 public:
46 
47  cInput *createInput(cGraphics *graphics);
48  cSystem *createSystem();
49  cGraphics *createGraphics();
50  cResources *createResources(cGraphics *graphics);
51  cScene *createScene(cGraphics *graphics, cResources *resources, cSound *sound,
52  cPhysics *physics, cSystem *system, cAI *ai);
53  cSound *createSound();
54  cPhysics *createPhysics();
55  cAI *createAi();
56 
57 private:
58  LowLevelSystem *_lowLevelSystem;
59  iLowLevelGraphics *_lowLevelGraphics;
60  LowLevelInput *_lowLevelInput;
61  LowLevelResources *_lowLevelResources;
62  iLowLevelSound *_lowLevelSound;
63  iLowLevelPhysics *_lowLevelPhysics;
64 };
65 
66 } // namespace hpl
67 
68 #endif // HPL_LOWLEVELGAMESETUP_H
Definition: AI.h:36
Definition: LowLevelPhysics.h:38
Definition: AI.h:40
Definition: LowLevelInput.h:40
Definition: Sound.h:40
Definition: low_level_resources.h:40
Definition: low_level_game_setup.h:42
Definition: Physics.h:67
Definition: Input.h:55
Definition: low_level_system.h:95
Definition: Resources.h:160
Definition: System.h:36
Definition: LowLevelSound.h:45
Definition: Scene.h:61
Definition: Graphics.h:46
Definition: LowLevelGraphics.h:200