OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
components
esm
fogstate.hpp
Go to the documentation of this file.
1
#ifndef OPENMW_ESM_FOGSTATE_H
2
#define OPENMW_ESM_FOGSTATE_H
3
4
#include <vector>
5
6
namespace
ESM
7
{
8
class
ESMReader;
9
class
ESMWriter;
10
11
struct
FogTexture
12
{
13
int
mX
,
mY
;
// Only used for interior cells
14
std::vector<char>
mImageData
;
15
};
16
17
// format 0, saved games only
18
// Fog of war state
19
struct
FogState
20
{
21
// Only used for interior cells
22
float
mNorthMarkerAngle
;
23
struct
Bounds
24
{
25
float
mMinX
;
26
float
mMinY
;
27
float
mMaxX
;
28
float
mMaxY
;
29
}
mBounds
;
30
31
std::vector<FogTexture>
mFogTextures
;
32
33
void
load
(
ESMReader
&esm);
34
void
save
(
ESMWriter
&esm,
bool
interiorCell)
const
;
35
};
36
}
37
38
#endif
ESM::FogState::load
void load(ESMReader &esm)
Definition:
fogstate.cpp:6
ESM::ESMReader
Definition:
esmreader.hpp:21
ESM::FogState::Bounds::mMaxY
float mMaxY
Definition:
fogstate.hpp:28
ESM::FogState
Definition:
fogstate.hpp:19
ESM::FogState::Bounds
Definition:
fogstate.hpp:23
ESM::FogTexture::mY
int mY
Definition:
fogstate.hpp:13
ESM::FogState::save
void save(ESMWriter &esm, bool interiorCell) const
Definition:
fogstate.cpp:25
ESM::FogState::Bounds::mMinX
float mMinX
Definition:
fogstate.hpp:25
ESM::FogState::mFogTextures
std::vector< FogTexture > mFogTextures
Definition:
fogstate.hpp:31
ESM::ESMWriter
Definition:
esmwriter.hpp:17
ESM::FogState::Bounds::mMaxX
float mMaxX
Definition:
fogstate.hpp:27
ESM::FogTexture
Definition:
fogstate.hpp:11
ESM::FogTexture::mImageData
std::vector< char > mImageData
Definition:
fogstate.hpp:14
ESM::FogState::mNorthMarkerAngle
float mNorthMarkerAngle
Definition:
fogstate.hpp:22
ESM::FogState::mBounds
struct ESM::FogState::Bounds mBounds
ESM::FogState::Bounds::mMinY
float mMinY
Definition:
fogstate.hpp:26
ESM::FogTexture::mX
int mX
Definition:
fogstate.hpp:13
Generated on Tue Jan 24 2017 02:05:52 for OpenMW by
1.8.6