1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwworld/environment.hpp

62 lines
1.1 KiB
C++
Raw Normal View History

2010-07-04 08:43:34 +00:00
#ifndef GAME_WORLD_INVIRONMENT_H
#define GAME_WORLD_INVIRONMENT_H
namespace MWSound
{
class SoundManager;
}
namespace MWScript
{
class GlobalScripts;
}
namespace MWGui
{
class WindowManager;
}
namespace MWMechanics
{
class MechanicsManager;
}
namespace MWDialogue
2010-08-06 16:01:34 +00:00
{
class DialogueManager;
2010-08-06 16:01:34 +00:00
}
namespace MWInput
{
struct MWInputManager;
}
2010-07-04 08:43:34 +00:00
namespace MWWorld
{
class World;
///< Collection of script-accessable sub-systems
class Environment
2010-08-06 16:01:34 +00:00
{
public:
Environment()
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mWindowManager (0),
mMechanicsManager (0), mDialogueManager (0), mFrameDuration (0),
mInputManager (0)
{}
2010-07-07 07:46:11 +00:00
2010-07-04 08:43:34 +00:00
World *mWorld;
MWSound::SoundManager *mSoundManager;
MWScript::GlobalScripts *mGlobalScripts;
MWGui::WindowManager *mWindowManager;
MWMechanics::MechanicsManager *mMechanicsManager;
MWDialogue::DialogueManager *mDialogueManager;
2010-07-06 10:06:50 +00:00
float mFrameDuration;
// For setting GUI mode
MWInput::MWInputManager *mInputManager;
2010-07-04 08:43:34 +00:00
};
}
#endif