private void Initialize(int count)
{
mIsFluid = new bool[count];
mIsWater = new bool[count];
mIsTransparent = new bool[count];
mIsValid = new bool[count];
mIsTransparentForLight = new bool[count];
mIsTransparentFully = new bool[count];
mIsEmptyForPhysics = new bool[count];
mTextureId = new int[count, 6];
mTextureIdForInventory = new int[count];
mIsBuildable = new bool[count];
mWhenPlayerPlacesGetsConvertedTo = new int[count];
mIsFlower = new bool[count];
mRail = new RailDirectionFlags[count];
mName = new string[count];
mWalkSpeed = new float[count];
for (int i = 0; i < count; i++)
{
mWalkSpeed[i] = 1;
}
mIsSlipperyWalk = new bool[count];
mWalkSound = new string[count][];
for (int i = 0; i < count; i++)
{
mWalkSound[i] = new string[0];
}
mBreakSound = new string[count][];
for (int i = 0; i < count; i++)
{
mBreakSound[i] = new string[0];
}
mBuildSound = new string[count][];
for (int i = 0; i < count; i++)
{
mBuildSound[i] = new string[0];
}
mCloneSound = new string[count][];
for (int i = 0; i < count; i++)
{
mCloneSound[i] = new string[0];
}
mLightRadius = new int[count];
mStartInventoryAmount = new int[count];
mStrength = new float[count];
mDefaultMaterialSlots = new int[10];
mLightLevels = new float[16];
mIsValid[0] = true;
mIsEmptyForPhysics[0] = true;
}