mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
66 lines
1.3 KiB
C++
66 lines
1.3 KiB
C++
#ifndef GAME_WORLD_INVIRONMENT_H
|
|
#define GAME_WORLD_INVIRONMENT_H
|
|
|
|
namespace MWSound
|
|
{
|
|
class SoundManager;
|
|
}
|
|
|
|
namespace MWScript
|
|
{
|
|
class GlobalScripts;
|
|
class ScriptManager;
|
|
}
|
|
|
|
namespace MWGui
|
|
{
|
|
class WindowManager;
|
|
}
|
|
|
|
namespace MWMechanics
|
|
{
|
|
class MechanicsManager;
|
|
}
|
|
|
|
namespace MWDialogue
|
|
{
|
|
class DialogueManager;
|
|
class Journal;
|
|
}
|
|
|
|
namespace MWInput
|
|
{
|
|
struct MWInputManager;
|
|
}
|
|
|
|
namespace MWWorld
|
|
{
|
|
class World;
|
|
|
|
///< Collection of script-accessable sub-systems
|
|
class Environment
|
|
{
|
|
public:
|
|
Environment()
|
|
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mScriptManager (0), mWindowManager (0),
|
|
mMechanicsManager (0), mDialogueManager (0), mJournal (0), mFrameDuration (0),
|
|
mInputManager (0)
|
|
{}
|
|
|
|
World *mWorld;
|
|
MWSound::SoundManager *mSoundManager;
|
|
MWScript::GlobalScripts *mGlobalScripts;
|
|
MWScript::ScriptManager *mScriptManager;
|
|
MWGui::WindowManager *mWindowManager;
|
|
MWMechanics::MechanicsManager *mMechanicsManager;
|
|
MWDialogue::DialogueManager *mDialogueManager;
|
|
MWDialogue::Journal *mJournal;
|
|
float mFrameDuration;
|
|
|
|
// For setting GUI mode
|
|
MWInput::MWInputManager *mInputManager;
|
|
};
|
|
}
|
|
|
|
#endif
|