mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 12:40:25 +00:00
Fix(CS): Enum name in accordance with current standards
This commit is contained in:
parent
6f2ae4a33b
commit
89bce6f678
2 changed files with 7 additions and 7 deletions
|
@ -202,7 +202,7 @@ namespace CSMWorld
|
||||||
copy.getLandData()->mHeights[i] = values[i];
|
copy.getLandData()->mHeights[i] = values[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
copy.mFlags |= Land::FLAG_HEIGHT;
|
copy.mFlags |= Land::Flag_HeightsNormals;
|
||||||
|
|
||||||
record.setModified(copy);
|
record.setModified(copy);
|
||||||
}
|
}
|
||||||
|
@ -251,7 +251,7 @@ namespace CSMWorld
|
||||||
copy.getLandData()->mColours[i] = values[i];
|
copy.getLandData()->mColours[i] = values[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
copy.mFlags |= Land::FLAG_COLOR;
|
copy.mFlags |= Land::Flag_Colors;
|
||||||
|
|
||||||
record.setModified(copy);
|
record.setModified(copy);
|
||||||
}
|
}
|
||||||
|
@ -300,7 +300,7 @@ namespace CSMWorld
|
||||||
copy.getLandData()->mTextures[i] = values[i];
|
copy.getLandData()->mTextures[i] = values[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
copy.mFlags |= Land::FLAG_TEXTURE;
|
copy.mFlags |= Land::Flag_Textures;
|
||||||
|
|
||||||
record.setModified(copy);
|
record.setModified(copy);
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,11 +66,11 @@ namespace ESM
|
||||||
DATA_VTEX = 16
|
DATA_VTEX = 16
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum Flags
|
||||||
{
|
{
|
||||||
FLAG_HEIGHT = 1,
|
Flag_HeightsNormals = 0x1,
|
||||||
FLAG_COLOR = 2,
|
Flag_Colors = 0x2,
|
||||||
FLAG_TEXTURE = 4
|
Flag_Textures = 0x4
|
||||||
};
|
};
|
||||||
|
|
||||||
// default height to use in case there is no Land record
|
// default height to use in case there is no Land record
|
||||||
|
|
Loading…
Reference in a new issue