mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
1907aeb6c6
At some point the gui mode code should be moved to a class that handles all game mode (engine?).
62 lines
1.1 KiB
C++
62 lines
1.1 KiB
C++
#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
|
|
{
|
|
class DialogueManager;
|
|
}
|
|
|
|
namespace MWInput
|
|
{
|
|
struct MWInputManager;
|
|
}
|
|
|
|
namespace MWWorld
|
|
{
|
|
class World;
|
|
|
|
///< Collection of script-accessable sub-systems
|
|
class Environment
|
|
{
|
|
public:
|
|
Environment()
|
|
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mWindowManager (0),
|
|
mMechanicsManager (0), mDialogueManager (0), mFrameDuration (0),
|
|
mInputManager (0)
|
|
{}
|
|
|
|
World *mWorld;
|
|
MWSound::SoundManager *mSoundManager;
|
|
MWScript::GlobalScripts *mGlobalScripts;
|
|
MWGui::WindowManager *mWindowManager;
|
|
MWMechanics::MechanicsManager *mMechanicsManager;
|
|
MWDialogue::DialogueManager *mDialogueManager;
|
|
float mFrameDuration;
|
|
|
|
// For setting GUI mode
|
|
MWInput::MWInputManager *mInputManager;
|
|
};
|
|
}
|
|
|
|
#endif
|