blob: c9a18b16fa1667ab139b661585ff9fcb39744069 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef T2DLL_T2SEASONPARAMDEF_H
#define T2DLL_T2SEASONPARAMDEF_H
#include "../common.h"
// unknown name
struct T2SeasonParamDefElem {
unsigned int a;
float mRate;
};
class T2SeasonParamDef {
public:
T2SeasonParamDef(CResFile &resFile);
virtual ~T2SeasonParamDef();
float GetRate(unsigned int index) const {
float result = 0.0f;
if (index < 12)
result = mElems[index].mRate;
return result;
}
protected:
T2SeasonParamDefElem mElems[12];
};
#endif
|