| 10 | } |
| 11 | |
| 12 | void LaserTrailTypeClass::LoadFromINI(CCINIClass* pINI) |
| 13 | { |
| 14 | const char* section = this->Name; |
| 15 | |
| 16 | if (!pINI->GetSection(section)) |
| 17 | return; |
| 18 | |
| 19 | INI_EX exINI(pINI); |
| 20 | |
| 21 | this->IsHouseColor.Read(exINI, section, "IsHouseColor"); |
| 22 | this->Color.Read(exINI, section, "Color"); |
| 23 | |
| 24 | this->FadeDuration.Read(exINI, section, "FadeDuration"); |
| 25 | this->Thickness.Read(exINI, section, "Thickness"); |
| 26 | this->SegmentLength.Read(exINI, section, "SegmentLength"); |
| 27 | this->IgnoreVertical.Read(exINI, section, "IgnoreVertical"); |
| 28 | this->IsIntense.Read(exINI, section, "IsIntense"); |
| 29 | this->CloakVisible.Read(exINI, section, "CloakVisible"); |
| 30 | this->CloakVisible_DetectedOnly.Read(exINI, section, "CloakVisible.DetectedOnly"); |
| 31 | this->DroppodOnly.Read(exINI, section, "DropPodOnly"); |
| 32 | } |
| 33 | |
| 34 | template <typename T> |
| 35 | void LaserTrailTypeClass::Serialize(T& Stm) |