blob: 35d2c4e2a7abb1249fbe51c7659faa5fffaa48c7 (
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
|
#include "StdAfx.h"
#include "CProgramPlugin.h"
CProgramPlugin::CProgramPlugin(DWORD type, T2PluginSpecifier& specifier)
: CFilePlugin(type, specifier)
{
mTemplatePlugin = NULL;
}
/*virtual*/ CProgramPlugin::~CProgramPlugin() {
}
/*virtual*/ void CProgramPlugin::GetInfoString(CString& outStr) {
outStr.Format("%d", mType);
outStr += " ";
CString name;
GetName(name);
outStr += name;
}
/*virtual*/ BOOL CProgramPlugin::LoadAllTemplatePlugin(HINSTANCE, T2WorldDef*, T2TemplatePluginDB*) {
return true;
}
/*virtual*/ void CProgramPlugin::DrawProc(T2HaveOutViewObject*, const RECT&, T2TowerDoc*) {
}
/*virtual*/ unsigned int CProgramPlugin::IdleProc(T2HaveOutViewObject*, T2TowerDoc*) {
return 0xFFFFFFFF;
}
|