mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 22:15:34 +00:00
Initialize missing variables
This commit is contained in:
parent
c0bed0fde2
commit
12144de8ed
7 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,7 @@ namespace ESSImport
|
|||
item.mId = contItem.mItem.toString();
|
||||
item.mCount = contItem.mCount;
|
||||
item.mRelativeEquipmentSlot = -1;
|
||||
item.mLockLevel = 0;
|
||||
|
||||
unsigned int itemCount = std::abs(item.mCount);
|
||||
bool separateStacks = false;
|
||||
|
|
|
@ -198,6 +198,7 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager)
|
|||
: mWindow(NULL)
|
||||
, mEncoding(ToUTF8::WINDOWS_1252)
|
||||
, mEncoder(NULL)
|
||||
, mScreenCaptureOperation(nullptr)
|
||||
, mSkipMenu (false)
|
||||
, mUseSound (true)
|
||||
, mCompileAll (false)
|
||||
|
|
|
@ -37,6 +37,7 @@ namespace MWGui
|
|||
, mLastRenderTime(0.0)
|
||||
, mLoadingOnTime(0.0)
|
||||
, mImportantLabel(false)
|
||||
, mVisible(false)
|
||||
, mProgress(0)
|
||||
, mShowWallpaper(true)
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ namespace MWGui
|
|||
|
||||
Spell()
|
||||
: mType(Type_Spell)
|
||||
, mCount(0)
|
||||
, mSelected(false)
|
||||
, mActive(false)
|
||||
{
|
||||
|
|
|
@ -203,6 +203,7 @@ namespace MWRender
|
|||
, mNightEyeFactor(0.f)
|
||||
, mDistantFog(false)
|
||||
, mDistantTerrain(false)
|
||||
, mFieldOfViewOverridden(false)
|
||||
, mFieldOfViewOverride(0.f)
|
||||
, mBorders(false)
|
||||
{
|
||||
|
|
|
@ -1117,6 +1117,7 @@ SkyManager::SkyManager(osg::Group* parentNode, Resource::SceneManager* sceneMana
|
|||
, mWindSpeed(0.f)
|
||||
, mEnabled(true)
|
||||
, mSunEnabled(true)
|
||||
, mWeatherAlpha(0.f)
|
||||
{
|
||||
osg::ref_ptr<CameraRelativeTransform> skyroot (new CameraRelativeTransform);
|
||||
skyroot->setName("Sky Root");
|
||||
|
|
|
@ -37,6 +37,8 @@ namespace ESMTerrain
|
|||
}
|
||||
|
||||
LandObject::LandObject(const LandObject ©, const osg::CopyOp ©op)
|
||||
: mLand(nullptr)
|
||||
, mLoadFlags(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue