summaryrefslogtreecommitdiff
path: root/src/T2DLL/CProgramPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/CProgramPlugin.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/T2DLL/CProgramPlugin.cpp b/src/T2DLL/CProgramPlugin.cpp
new file mode 100644
index 0000000..e3c28aa
--- /dev/null
+++ b/src/T2DLL/CProgramPlugin.cpp
@@ -0,0 +1,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;
+}