1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 02:49:55 +00:00
openmw-tes3mp/apps/openmw/mwworld/environment.hpp

41 lines
677 B
C++
Raw Normal View History

2010-07-04 08:43:34 +00:00
#ifndef GAME_WORLD_INVIRONMENT_H
#define GAME_WORLD_INVIRONMENT_H
namespace MWSound
{
class SoundManager;
}
namespace MWScript
{
class GlobalScripts;
}
namespace MWGui
{
class GuiManager;
}
2010-07-04 08:43:34 +00:00
namespace MWWorld
{
class World;
///< Collection of script-accessable sub-systems
class Environment
2010-07-04 08:43:34 +00:00
{
public:
Environment()
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mGuiManager (0), mFrameDuration (0)
{}
2010-07-07 07:46:11 +00:00
2010-07-04 08:43:34 +00:00
World *mWorld;
MWSound::SoundManager *mSoundManager;
MWScript::GlobalScripts *mGlobalScripts;
MWGui::GuiManager *mGuiManager;
2010-07-06 10:06:50 +00:00
float mFrameDuration;
2010-07-04 08:43:34 +00:00
};
}
#endif