void LodConfigSerializer::writeLodAdvancedInfo() { writeChunkHeader(LCCID_ADVANCED_INFO, calcLodAdvancedInfoSize()); writeBools(&mLodConfig->advanced.useCompression, 1); writeBools(&mLodConfig->advanced.useVertexNormals, 1); writeBools(&mLodConfig->advanced.useBackgroundQueue, 1); writeFloats(&mLodConfig->advanced.outsideWeight, 1); writeFloats(&mLodConfig->advanced.outsideWalkAngle, 1); }
void Configuration::save() { writeColors(); writeBools(); writeUints(); writeFonts(); writeShortcuts(); }