OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
controlsstate.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_CONTROLSSTATE_H
2 #define OPENMW_ESM_CONTROLSSTATE_H
3 
4 namespace ESM
5 {
6  class ESMReader;
7  class ESMWriter;
8 
9  // format 0, saved games only
10 
12  {
13  ControlsState();
14 
15  enum Flags
16  {
19  JumpingDisabled = 0x1000,
20  LookingDisabled = 0x2000,
24  };
25 
33 
34  void load (ESMReader &esm);
35  void save (ESMWriter &esm) const;
36  };
37 }
38 
39 #endif
bool mSpellDrawingDisabled
Definition: controlsstate.hpp:32
bool mJumpingDisabled
Definition: controlsstate.hpp:28
Definition: esmreader.hpp:21
Definition: controlsstate.hpp:18
Flags
Definition: controlsstate.hpp:15
bool mViewSwitchDisabled
Definition: controlsstate.hpp:26
Definition: controlsstate.hpp:21
bool mVanityModeDisabled
Definition: controlsstate.hpp:30
Definition: esmwriter.hpp:17
void save(ESMWriter &esm) const
Definition: controlsstate.cpp:31
ControlsState()
Definition: controlsstate.cpp:6
Definition: controlsstate.hpp:17
bool mWeaponDrawingDisabled
Definition: controlsstate.hpp:31
Definition: controlsstate.hpp:23
Definition: controlsstate.hpp:22
bool mControlsDisabled
Definition: controlsstate.hpp:27
void load(ESMReader &esm)
Definition: controlsstate.cpp:17
bool mLookingDisabled
Definition: controlsstate.hpp:29
Definition: controlsstate.hpp:11
Definition: controlsstate.hpp:20
Definition: controlsstate.hpp:19