#include "CResFile.h" #include "T2SeasonParamDef.h" T2SeasonParamDef::T2SeasonParamDef(CResFile &resFile) { float divisor = 100.0f; for (unsigned int i = 0; i < 12; i++) { resFile >> mElems[i].a; mElems[i].mRate = mElems[i].a / divisor; } } /*virtual*/ T2SeasonParamDef::~T2SeasonParamDef() { }