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