#include "CResFile.h" #include "T2PlaceParamDef.h" T2PlaceParamDef::T2PlaceParamDef(CResFile& resFile) { float divisor = 100.0f; for (unsigned int i = 0; i < kMaxPlace; i++) { resFile >> mEntries[i].mPercent; resFile >> mEntries[i].mScore; mEntries[i].mRate = mEntries[i].mPercent / divisor; } } /*virtual*/ T2PlaceParamDef::~T2PlaceParamDef() { }