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