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-04 08:43:34 +00:00
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class World;
|
|
|
|
|
|
|
|
///< Collection of script-accessable sub-systems
|
|
|
|
struct Environment
|
|
|
|
{
|
2010-07-06 10:06:50 +00:00
|
|
|
Environment() : mWorld (0), mSoundManager (0), mGlobalScripts (0), mFrameDuration (0) {}
|
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-06 10:06:50 +00:00
|
|
|
float mFrameDuration;
|
2010-07-04 08:43:34 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|