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-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-07-04 08:43:34 +00:00
|
|
|
{
|
2010-07-05 03:17:10 +00:00
|
|
|
public:
|
2010-07-07 16:48:06 +00:00
|
|
|
Environment()
|
2010-07-17 12:01:47 +00:00
|
|
|
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mWindowManager (0), mFrameDuration (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-06 10:06:50 +00:00
|
|
|
float mFrameDuration;
|
2010-07-04 08:43:34 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|