OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
importgame.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESSIMPORT_GAME_H
2 #define OPENMW_ESSIMPORT_GAME_H
3 
4 namespace ESM
5 {
6  class ESMReader;
7 }
8 
9 namespace ESSImport
10 {
11 
13  struct GAME
14  {
15  struct GMDT
16  {
17  char mCellName[64];
19  float mFogDensity;
21  int mWeatherTransition; // 0-100 transition between weathers, top 3 bytes may be garbage
22  float mTimeOfNextTransition; // weather changes when gamehour == timeOfNextTransition
23  int mMasserPhase, mSecundaPhase; // top 3 bytes may be garbage
24  };
25 
27 
28  void load(ESM::ESMReader& esm);
29  };
30 
31 }
32 
33 #endif
float mFogDensity
Definition: importgame.hpp:19
float mTimeOfNextTransition
Definition: importgame.hpp:22
void load(ESM::ESMReader &esm)
Definition: importgame.cpp:8
Definition: esmreader.hpp:21
int mNextWeather
Definition: importgame.hpp:20
Definition: importgame.hpp:15
int mMasserPhase
Definition: importgame.hpp:23
int mWeatherTransition
Definition: importgame.hpp:21
int mSecundaPhase
Definition: importgame.hpp:23
int mCurrentWeather
Definition: importgame.hpp:20
int mFogColour
Definition: importgame.hpp:18
char mCellName[64]
Definition: importgame.hpp:17
Weather data.
Definition: importgame.hpp:13
GMDT mGMDT
Definition: importgame.hpp:26