OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
ESM Namespace Reference

ESM/ESP records. More...

Namespaces

 AiSequence
 

Classes

struct  StatState
 
struct  ActiveEffect
 
struct  ActiveSpells
 
struct  AIData
 
struct  AIWander
 
struct  AITravel
 
struct  AITarget
 
struct  AIActivate
 
struct  AIPackage
 
struct  AIPackageList
 
struct  AnimationState
 
struct  Attribute
 
struct  CellId
 
struct  RefNum
 
class  CellRef
 
struct  CellState
 
struct  ContainerState
 
struct  ControlsState
 
struct  CreatureLevListState
 
struct  CreatureState
 
struct  CreatureStats
 
struct  CustomMarker
 
struct  DebugProfile
 
struct  TimeStamp
 
struct  Position
 
struct  FourCC
 
struct  DialogueState
 
struct  DoorState
 
struct  ENAMstruct
 
struct  EffectList
 EffectList, ENAM subrecord. More...
 
class  FIXED_STRING_BASE
 
struct  FIXED_STRING
 
struct  FIXED_STRING< 4 >
 
struct  ESM_Context
 
class  ESMReader
 
class  ESMWriter
 
struct  Filter
 
struct  FogTexture
 
struct  FogState
 
struct  GlobalMap
 < More...
 
struct  GlobalScript
 Storage structure for global script state (only used in saved games) More...
 
struct  InventoryState
 State for inventories and containers. More...
 
struct  JournalEntry
 
struct  Activator
 
struct  Potion
 
struct  Apparatus
 
struct  PartReference
 
struct  PartReferenceList
 
struct  Armor
 
struct  BodyPart
 
struct  Book
 
struct  BirthSign
 
class  MovedCellRef
 
struct  CellRefTrackerPredicate
 
struct  Cell
 
struct  Class
 
struct  Clothing
 
struct  ContItem
 
struct  InventoryList
 InventoryList, NPCO subrecord. More...
 
struct  Container
 
struct  Creature
 
struct  Dialogue
 
struct  Door
 
struct  Enchantment
 
struct  RankData
 
struct  Faction
 
struct  Global
 
struct  GameSetting
 
struct  DialInfo
 
struct  Ingredient
 
struct  Land
 
struct  LevelledListBase
 
struct  CreatureLevList
 
struct  ItemLevList
 
struct  Light
 
struct  Lockpick
 
struct  LandTexture
 
class  FindSecond
 
struct  MagicEffect
 
struct  Miscellaneous
 
struct  NPC
 
struct  Pathgrid
 
struct  Probe
 
struct  Race
 
struct  Region
 
struct  Repair
 
class  Script
 
struct  Skill
 
struct  SoundGenerator
 
struct  SOUNstruct
 
struct  Sound
 
struct  Spell
 
struct  StartScript
 
struct  Static
 
struct  Header
 File header record. More...
 
struct  Weapon
 
struct  Locals
 Storage structure for local variables (only used in saved games) More...
 
struct  MagicEffects
 
struct  NpcState
 
struct  NpcStats
 
struct  ObjectState
 < More...
 
struct  Player
 
struct  BaseProjectileState
 
struct  MagicBoltState
 
struct  ProjectileState
 
struct  QuestState
 
struct  QuickKeys
 
struct  SavedGame
 
struct  SpellList
 
struct  SpellState
 
struct  StolenItems
 
struct  Transport
 List of travel service destination. Shared by CREA and NPC_ records. More...
 
struct  Quaternion
 
struct  Vector3
 
class  Variant
 
class  VariantDataBase
 
class  VariantStringData
 
class  VariantIntegerData
 
class  VariantFloatData
 
struct  RegionWeatherState
 
struct  WeatherState
 

Typedefs

typedef uint32_t Color
 
typedef FIXED_STRING< 4 > NAME
 
typedef FIXED_STRING< 32 > NAME32
 
typedef FIXED_STRING< 64 > NAME64
 
typedef FIXED_STRING< 256 > NAME256
 
typedef std::list< MovedCellRefMovedCellRefTracker
 
typedef std::list< std::pair
< CellRef, bool > > 
CellRefTracker
 

Enumerations

enum  {
  AI_Wander = 0x575f4941, AI_Travel = 0x545f4941, AI_Follow = 0x465f4941, AI_Escort = 0x455f4941,
  AI_Activate = 0x415f4941, AI_CNDT = 0x54444e43
}
 
enum  Specialization { SPC_Combat = 0, SPC_Magic = 1, SPC_Stealth = 2 }
 
enum  RangeType { RT_Self = 0, RT_Touch = 1, RT_Target = 2 }
 
enum  RecNameInts {
  REC_ACTI = 0x49544341, REC_ALCH = 0x48434c41, REC_APPA = 0x41505041, REC_ARMO = 0x4f4d5241,
  REC_BODY = 0x59444f42, REC_BOOK = 0x4b4f4f42, REC_BSGN = 0x4e475342, REC_CELL = 0x4c4c4543,
  REC_CLAS = 0x53414c43, REC_CLOT = 0x544f4c43, REC_CNTC = 0x43544e43, REC_CONT = 0x544e4f43,
  REC_CREA = 0x41455243, REC_CREC = 0x43455243, REC_DIAL = 0x4c414944, REC_DOOR = 0x524f4f44,
  REC_ENCH = 0x48434e45, REC_FACT = 0x54434146, REC_GLOB = 0x424f4c47, REC_GMST = 0x54534d47,
  REC_INFO = 0x4f464e49, REC_INGR = 0x52474e49, REC_LAND = 0x444e414c, REC_LEVC = 0x4356454c,
  REC_LEVI = 0x4956454c, REC_LIGH = 0x4847494c, REC_LOCK = 0x4b434f4c, REC_LTEX = 0x5845544c,
  REC_MGEF = 0x4645474d, REC_MISC = 0x4353494d, REC_NPC_ = 0x5f43504e, REC_NPCC = 0x4343504e,
  REC_PGRD = 0x44524750, REC_PROB = 0x424f5250, REC_RACE = 0x45434152, REC_REGN = 0x4e474552,
  REC_REPA = 0x41504552, REC_SCPT = 0x54504353, REC_SKIL = 0x4c494b53, REC_SNDG = 0x47444e53,
  REC_SOUN = 0x4e554f53, REC_SPEL = 0x4c455053, REC_SSCR = 0x52435353, REC_STAT = 0x54415453,
  REC_WEAP = 0x50414557, REC_SAVE = FourCC<'S','A','V','E'>::value, REC_JOUR_LEGACY = FourCC<0xa4,'U','O','R'>::value, REC_JOUR = FourCC<'J','O','U','R'>::value,
  REC_QUES = FourCC<'Q','U','E','S'>::value, REC_GSCR = FourCC<'G','S','C','R'>::value, REC_PLAY = FourCC<'P','L','A','Y'>::value, REC_CSTA = FourCC<'C','S','T','A'>::value,
  REC_GMAP = FourCC<'G','M','A','P'>::value, REC_DIAS = FourCC<'D','I','A','S'>::value, REC_WTHR = FourCC<'W','T','H','R'>::value, REC_KEYS = FourCC<'K','E','Y','S'>::value,
  REC_DYNA = FourCC<'D','Y','N','A'>::value, REC_ASPL = FourCC<'A','S','P','L'>::value, REC_ACTC = FourCC<'A','C','T','C'>::value, REC_MPRJ = FourCC<'M','P','R','J'>::value,
  REC_PROJ = FourCC<'P','R','O','J'>::value, REC_DCOU = FourCC<'D','C','O','U'>::value, REC_MARK = FourCC<'M','A','R','K'>::value, REC_ENAB = FourCC<'E','N','A','B'>::value,
  REC_CAM_ = FourCC<'C','A','M','_'>::value, REC_STLN = FourCC<'S','T','L','N'>::value, REC_INPU = FourCC<'I','N','P','U'>::value, REC_FILT = FourCC<'F','I','L','T'>::value,
  REC_DBGP = FourCC<'D','B','G','P'>::value
}
 
enum  SubRecNameInts { SREC_DELE = ESM::FourCC<'D','E','L','E'>::value, SREC_NAME = ESM::FourCC<'N','A','M','E'>::value }
 Common subrecords. More...
 
enum  Version { VER_12 = 0x3f99999a, VER_13 = 0x3fa66666 }
 
enum  PartReferenceType {
  PRT_Head = 0, PRT_Hair = 1, PRT_Neck = 2, PRT_Cuirass = 3,
  PRT_Groin = 4, PRT_Skirt = 5, PRT_RHand = 6, PRT_LHand = 7,
  PRT_RWrist = 8, PRT_LWrist = 9, PRT_Shield = 10, PRT_RForearm = 11,
  PRT_LForearm = 12, PRT_RUpperarm = 13, PRT_LUpperarm = 14, PRT_RFoot = 15,
  PRT_LFoot = 16, PRT_RAnkle = 17, PRT_LAnkle = 18, PRT_RKnee = 19,
  PRT_LKnee = 20, PRT_RLeg = 21, PRT_LLeg = 22, PRT_RPauldron = 23,
  PRT_LPauldron = 24, PRT_Weapon = 25, PRT_Tail = 26, PRT_Count = 27
}
 
enum  VarType {
  VT_Unknown = 0, VT_None, VT_Short, VT_Int,
  VT_Long, VT_Float, VT_String
}
 

Functions

bool operator== (const CellId &left, const CellId &right)
 
bool operator!= (const CellId &left, const CellId &right)
 
bool operator< (const CellId &left, const CellId &right)
 
bool operator== (const RefNum &left, const RefNum &right)
 
bool operator< (const RefNum &left, const RefNum &right)
 
bool operator== (const MovedCellRef &ref, const RefNum &refNum)
 Overloaded compare operator used to search inside a list of cell refs. More...
 
bool operator== (const CellRef &ref, const RefNum &refNum)
 
bool operator== (const Global &left, const Global &right)
 
bool operator== (const GameSetting &left, const GameSetting &right)
 
static std::map< short,
std::string > 
genNameMap ()
 
std::ostream & operator<< (std::ostream &stream, const Variant &value)
 
bool operator== (const Variant &left, const Variant &right)
 
bool operator!= (const Variant &left, const Variant &right)
 

Detailed Description

ESM/ESP records.

Typedef Documentation

typedef std::list<std::pair<CellRef, bool> > ESM::CellRefTracker
typedef uint32_t ESM::Color
typedef FIXED_STRING<4> ESM::NAME
typedef FIXED_STRING<256> ESM::NAME256

Enumeration Type Documentation

anonymous enum
Enumerator
AI_Wander 
AI_Travel 
AI_Follow 
AI_Escort 
AI_Activate 
AI_CNDT 
Enumerator
PRT_Head 
PRT_Hair 
PRT_Neck 
PRT_Cuirass 
PRT_Groin 
PRT_Skirt 
PRT_RHand 
PRT_LHand 
PRT_RWrist 
PRT_LWrist 
PRT_Shield 
PRT_RForearm 
PRT_LForearm 
PRT_RUpperarm 
PRT_LUpperarm 
PRT_RFoot 
PRT_LFoot 
PRT_RAnkle 
PRT_LAnkle 
PRT_RKnee 
PRT_LKnee 
PRT_RLeg 
PRT_LLeg 
PRT_RPauldron 
PRT_LPauldron 
PRT_Weapon 
PRT_Tail 
PRT_Count 
Enumerator
RT_Self 
RT_Touch 
RT_Target 
Enumerator
REC_ACTI 
REC_ALCH 
REC_APPA 
REC_ARMO 
REC_BODY 
REC_BOOK 
REC_BSGN 
REC_CELL 
REC_CLAS 
REC_CLOT 
REC_CNTC 
REC_CONT 
REC_CREA 
REC_CREC 
REC_DIAL 
REC_DOOR 
REC_ENCH 
REC_FACT 
REC_GLOB 
REC_GMST 
REC_INFO 
REC_INGR 
REC_LAND 
REC_LEVC 
REC_LEVI 
REC_LIGH 
REC_LOCK 
REC_LTEX 
REC_MGEF 
REC_MISC 
REC_NPC_ 
REC_NPCC 
REC_PGRD 
REC_PROB 
REC_RACE 
REC_REGN 
REC_REPA 
REC_SCPT 
REC_SKIL 
REC_SNDG 
REC_SOUN 
REC_SPEL 
REC_SSCR 
REC_STAT 
REC_WEAP 
REC_SAVE 
REC_JOUR_LEGACY 
REC_JOUR 
REC_QUES 
REC_GSCR 
REC_PLAY 
REC_CSTA 
REC_GMAP 
REC_DIAS 
REC_WTHR 
REC_KEYS 
REC_DYNA 
REC_ASPL 
REC_ACTC 
REC_MPRJ 
REC_PROJ 
REC_DCOU 
REC_MARK 
REC_ENAB 
REC_CAM_ 
REC_STLN 
REC_INPU 
REC_FILT 
REC_DBGP 

only used in project files

Enumerator
SPC_Combat 
SPC_Magic 
SPC_Stealth 

Common subrecords.

Enumerator
SREC_DELE 
SREC_NAME 
Enumerator
VT_Unknown 
VT_None 
VT_Short 
VT_Int 
VT_Long 
VT_Float 
VT_String 
Enumerator
VER_12 
VER_13 

Function Documentation

static std::map<short,std::string> ESM::genNameMap ( )
static
bool ESM::operator!= ( const CellId &  left,
const CellId &  right 
)
bool ESM::operator!= ( const Variant &  left,
const Variant &  right 
)
bool ESM::operator< ( const CellId &  left,
const CellId &  right 
)
bool ESM::operator< ( const RefNum &  left,
const RefNum &  right 
)
std::ostream & ESM::operator<< ( std::ostream &  stream,
const Variant &  value 
)

Here is the call graph for this function:

bool ESM::operator== ( const CellId &  left,
const CellId &  right 
)
bool ESM::operator== ( const GameSetting &  left,
const GameSetting &  right 
)
bool ESM::operator== ( const MovedCellRef &  ref,
const RefNum &  refNum 
)

Overloaded compare operator used to search inside a list of cell refs.

bool ESM::operator== ( const Global &  left,
const Global &  right 
)
bool ESM::operator== ( const CellRef &  ref,
const RefNum &  refNum 
)
bool ESM::operator== ( const Variant &  left,
const Variant &  right 
)

Here is the call graph for this function:

bool ESM::operator== ( const RefNum &  left,
const RefNum &  right 
)