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