blob: a89b4e18498e909d7de3f630c2d7dda071145467 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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() {
}
|