1 #ifndef OPENMW_ESM_MGEF_H
2 #define OPENMW_ESM_MGEF_H
67 static const std::map<short,std::string>
sNames;
258 static std::string
indexToId (
int index);
Definition: loadmgef.hpp:142
std::string mHit
Definition: loadmgef.hpp:83
Definition: loadmgef.hpp:190
Definition: loadmgef.hpp:116
MagnitudeDisplayType
Definition: loadmgef.hpp:44
std::string mCasting
Definition: loadmgef.hpp:83
void load(ESMReader &esm, bool &isDeleted)
Definition: loadmgef.cpp:192
Definition: loadmgef.hpp:191
Definition: loadmgef.hpp:236
Definition: loadmgef.hpp:179
Definition: loadmgef.hpp:49
Definition: loadmgef.hpp:27
Definition: loadmgef.hpp:215
Definition: loadmgef.hpp:151
Definition: loadmgef.hpp:31
Definition: loadmgef.hpp:199
int mRed
Definition: loadmgef.hpp:60
Definition: loadmgef.hpp:181
std::string mId
Definition: loadmgef.hpp:19
Definition: loadmgef.hpp:141
Definition: loadmgef.hpp:129
Definition: loadmgef.hpp:195
Definition: loadmgef.hpp:123
Definition: esmreader.hpp:21
float mBaseCost
Definition: loadmgef.hpp:57
Definition: loadmgef.hpp:46
Definition: loadmgef.hpp:174
Definition: loadmgef.hpp:167
int mIndex
Definition: loadmgef.hpp:97
Definition: loadmgef.hpp:125
void blank()
Set record to default state (does not touch the ID/index).
Definition: loadmgef.cpp:576
Definition: loadmgef.hpp:161
Definition: loadmgef.hpp:162
Definition: loadmgef.hpp:211
Definition: loadmgef.hpp:223
Definition: loadmgef.hpp:239
Definition: loadmgef.hpp:224
Definition: loadmgef.hpp:147
Definition: loadmgef.hpp:227
Definition: loadmgef.hpp:120
Definition: loadmgef.hpp:237
Definition: loadmgef.hpp:205
int mBlue
Definition: loadmgef.hpp:60
Definition: loadmgef.hpp:108
Definition: loadmgef.hpp:149
Definition: loadmgef.hpp:121
Definition: loadmgef.hpp:172
Definition: loadmgef.hpp:218
Definition: loadmgef.hpp:175
Definition: loadmgef.hpp:128
Definition: loadmgef.hpp:137
Definition: loadmgef.hpp:50
Definition: loadmgef.hpp:157
Definition: loadmgef.hpp:26
Definition: loadmgef.hpp:230
Definition: loadmgef.hpp:119
Definition: loadmgef.hpp:180
Definition: loadmgef.hpp:115
Definition: loadmgef.hpp:234
Definition: loadmgef.hpp:233
Definition: loadmgef.hpp:113
Definition: loadmgef.hpp:186
Definition: loadmgef.hpp:48
Definition: loadmgef.hpp:243
Definition: loadmgef.hpp:152
Definition: loadmgef.hpp:229
Definition: loadmgef.hpp:221
Definition: loadmgef.hpp:213
float mUnknown2
Definition: loadmgef.hpp:64
Definition: loadmgef.hpp:238
float mSpeed
Definition: loadmgef.hpp:63
Definition: loadmgef.hpp:29
Definition: loadmgef.hpp:30
Definition: loadmgef.hpp:163
Definition: loadmgef.hpp:193
Definition: loadmgef.hpp:188
Definition: loadmgef.hpp:255
MagnitudeDisplayType getMagnitudeDisplayType() const
Definition: loadmgef.cpp:557
Definition: loadmgef.hpp:177
Definition: loadmgef.hpp:240
Definition: esmwriter.hpp:17
Definition: loadmgef.hpp:178
Definition: loadmgef.hpp:202
static std::string indexToId(int index)
Definition: loadmgef.cpp:599
Definition: loadmgef.hpp:228
float mUnknown1
Definition: loadmgef.hpp:62
Definition: loadmgef.hpp:241
int mGreen
Definition: loadmgef.hpp:60
Definition: loadmgef.hpp:166
Definition: loadmgef.hpp:219
Definition: loadmgef.hpp:183
Definition: loadmgef.hpp:164
Definition: loadmgef.hpp:143
Definition: loadmgef.hpp:226
Definition: loadmgef.hpp:35
Definition: loadmgef.hpp:222
static const std::string & effectIdToString(short effectID)
Definition: loadmgef.cpp:523
Definition: loadmgef.hpp:139
Definition: loadmgef.hpp:253
Definition: loadmgef.hpp:207
Definition: loadmgef.hpp:200
Definition: loadmgef.hpp:133
Definition: loadmgef.hpp:24
Definition: loadmgef.hpp:114
Definition: loadmgef.hpp:118
Definition: loadmgef.hpp:112
Definition: loadmgef.hpp:153
Definition: loadmgef.hpp:216
Definition: loadmgef.hpp:41
std::string mArea
Definition: loadmgef.hpp:83
Definition: loadmgef.hpp:156
Definition: loadmgef.hpp:135
int mSchool
Definition: loadmgef.hpp:56
Definition: loadmgef.hpp:140
Definition: loadmgef.hpp:36
Definition: loadmgef.hpp:110
std::string mBoltSound
Definition: loadmgef.hpp:85
std::string mHitSound
Definition: loadmgef.hpp:85
Definition: loadmgef.hpp:201
Definition: loadmgef.hpp:40
Definition: loadmgef.hpp:32
int mFlags
Definition: loadmgef.hpp:58
Definition: loadmgef.hpp:192
Definition: loadmgef.hpp:168
Definition: loadmgef.hpp:231
Definition: loadmgef.hpp:13
Definition: loadsoun.hpp:17
Definition: loadmgef.hpp:194
Definition: loadmgef.hpp:197
Flags
Definition: loadmgef.hpp:21
Definition: loadmgef.hpp:182
static short effectStringToId(const std::string &effect)
Definition: loadmgef.cpp:546
Definition: loadmgef.hpp:25
Definition: loadmgef.hpp:249
Definition: loadmgef.hpp:185
static short getWeaknessEffect(short effect)
Returns the effect that induces weakness against effect (or -1 if there's none)
Definition: loadmgef.cpp:323
std::string mParticle
Definition: loadmgef.hpp:82
Definition: loadmgef.hpp:176
std::string mBolt
Definition: loadmgef.hpp:84
Definition: loadmgef.hpp:150
Definition: loadmgef.hpp:51
Definition: loadmgef.hpp:203
Definition: loadmgef.hpp:154
Definition: loadmgef.hpp:208
std::string mDescription
Definition: loadmgef.hpp:86
Definition: loadmgef.hpp:242
static short getResistanceEffect(short effect)
Returns the effect that provides resistance against effect (or -1 if there's none) ...
Definition: loadmgef.cpp:275
Definition: loadmgef.hpp:173
Definition: loadmgef.hpp:209
Definition: loadmgef.hpp:252
Definition: loadmgef.hpp:204
Definition: loadmgef.hpp:146
Definition: loadmgef.hpp:130
Definition: loadmgef.hpp:126
Definition: loadmgef.hpp:28
Definition: loadmgef.hpp:165
Definition: loadmgef.hpp:206
Definition: loadmgef.hpp:158
Definition: loadmgef.hpp:198
Definition: loadmgef.hpp:138
void save(ESMWriter &esm, bool isDeleted=false) const
Definition: loadmgef.cpp:254
Definition: loadmgef.hpp:189
Definition: loadmgef.hpp:54
Definition: loadmgef.hpp:210
Definition: loadmgef.hpp:33
Definition: loadmgef.hpp:250
Definition: loadmgef.hpp:127
Definition: loadmgef.hpp:131
Effects
Definition: loadmgef.hpp:105
Definition: loadmgef.hpp:246
std::string mAreaSound
Definition: loadmgef.hpp:85
Definition: loadmgef.hpp:235
Definition: loadmgef.hpp:124
std::string mIcon
Definition: loadmgef.hpp:82
Definition: loadmgef.hpp:160
Definition: loadmgef.hpp:134
Definition: loadmgef.hpp:109
Definition: loadmgef.hpp:132
Definition: loadmgef.hpp:159
Definition: loadmgef.hpp:217
Definition: loadmgef.hpp:220
Definition: loadmgef.hpp:170
Definition: loadmgef.hpp:187
Definition: loadmgef.hpp:145
std::string mCastSound
Definition: loadmgef.hpp:85
Definition: loadmgef.hpp:171
Definition: loadmgef.hpp:144
Definition: loadmgef.hpp:136
Definition: loadmgef.hpp:117
Definition: loadmgef.hpp:225
Definition: loadmgef.hpp:169
static const std::map< short, std::string > sNames
Definition: loadmgef.hpp:67
static unsigned int sRecordId
Definition: loadmgef.hpp:15
Definition: loadmgef.hpp:196
Definition: loadmgef.hpp:107
static std::string getRecordType()
Return a string descriptor for this record type. Currently used for debugging / error logs only...
Definition: loadmgef.hpp:17
MEDTstruct mData
Definition: loadmgef.hpp:80
Definition: loadmgef.hpp:47
Definition: loadmgef.hpp:251
Definition: loadmgef.hpp:212
Definition: loadmgef.hpp:111
Definition: loadligh.hpp:17
Definition: loadmgef.hpp:122
Definition: loadmgef.hpp:39
Definition: loadmgef.hpp:232
Definition: loadmgef.hpp:214
Definition: loadmgef.hpp:34
Definition: loadmgef.hpp:184