summaryrefslogtreecommitdiff
path: root/src/T2DLL/CProgramPlugin.cpp
blob: e3c28aaea52fdb9269eb6d4ff09858ec4f200599 (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
#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;
}