summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleDef.cpp
blob: 3b62df349f88fa72f80d3abee0c9709f84b83631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "StdAfx.h"
#include "CResFile.h"
#include "T2PeopleDef.h"

T2PeopleDef::T2PeopleDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile)
    : T2MatterDef(type, specifier, resFile)
{
    *resFile >> mStressMax;
    *resFile >> mStressBlueLimit;
    *resFile >> mStressYellowLimit;
}

/*virtual*/ T2PeopleDef::~T2PeopleDef() {
}

/*virtual*/ void T2PeopleDef::GetName(CString& outStr) {
    outStr.Format("%d", mSortKey);
}