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