Skip to content

Commit

Permalink
Implements RadarColor for TerrainTypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
CCHyper committed Apr 30, 2022
1 parent 6734a06 commit 6207764
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/extensions/terraintype/terraintypeext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ bool TerrainTypeClassExtension::Read_INI(CCINIClass &ini)
return false;
}

/**
* #issue-570
*
* Implements RadarColor reading support to TerrainTypes.
*/
ThisPtr->RadarColor = ini.Get_RGB(ini_name, "RadarColor", ThisPtr->RadarColor);

IsLightEnabled = ini.Get_Bool(ini_name, "IsLightEnabled", IsLightEnabled);
LightVisibility = ini.Get_Int(ini_name, "LightVisibility", LightVisibility);
LightIntensity = ini.Get_Double(ini_name, "LightIntensity", (LightIntensity / 1000)) * 1000.0 + 0.1;
Expand Down

0 comments on commit 6207764

Please sign in to comment.