blob: ca4186195d60a88609ed6b25796754f8758da2be (
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
35
36
|
#ifndef T2DLL_T2SILHOUETTEDEF_H
#define T2DLL_T2SILHOUETTEDEF_H
#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;
}
#endif
|