blob: ba3b75082486a00d2a12919c5b1c3963f698e5a5 (
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
27
28
29
30
31
32
33
34
|
#pragma once
#include "common.h"
#include "T2TemplatePlugin.h"
class AFX_CLASS_EXPORT T2SilhouetteDef : public T2TemplatePlugin {
public:
T2SilhouetteDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile);
virtual ~T2SilhouetteDef();
virtual void GetName(CString& outStr);
virtual int GetSortKey() { return mSilhouetteType; }
int GetSilhouetteType() { return mSilhouetteType; }
int GetSilhouette(int a, int b) { return (a * 3) + b; }
int GetWidth() const;
int GetRouteType() const;
protected:
T2BitImage *mImage;
BOOL mHasImage;
int mSilhouetteType;
int mWidth;
int mRouteType;
int mResID;
char mName[32];
};
inline int T2SilhouetteDef::GetWidth() const {
return mWidth;
}
inline int T2SilhouetteDef::GetRouteType() const {
return mRouteType;
}
|