summaryrefslogtreecommitdiff
path: root/src/Plugins/Food
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Food')
-rw-r--r--src/Plugins/Food/Burger/Burger.cpp16
-rw-r--r--src/Plugins/Food/Burger/Burger.def4
-rw-r--r--src/Plugins/Food/Burger/Burger.dsp1
-rw-r--r--src/Plugins/Food/Burger/Burger.h2
-rw-r--r--src/Plugins/Food/Burger/Resource.h16
5 files changed, 28 insertions, 11 deletions
diff --git a/src/Plugins/Food/Burger/Burger.cpp b/src/Plugins/Food/Burger/Burger.cpp
index 2e9f301..45b8965 100644
--- a/src/Plugins/Food/Burger/Burger.cpp
+++ b/src/Plugins/Food/Burger/Burger.cpp
@@ -65,8 +65,7 @@ CBurgerApp theApp;
FoodPlugin *sFoodPlugin;
FoodDef *sFoodDef;
-#pragma comment(linker, "/export:ConstructProgramPlugin=_ConstructProgramPlugin@4")
-extern "C" void *CALLBACK ConstructProgramPlugin(T2PluginSpecifier *inSpecifier) {
+void *CALLBACK ConstructProgramPlugin(T2PluginSpecifier *inSpecifier) {
if (!sFoodPlugin) {
#line 88
sFoodPlugin = new FoodPlugin('TnPl', *inSpecifier);
@@ -75,8 +74,7 @@ extern "C" void *CALLBACK ConstructProgramPlugin(T2PluginSpecifier *inSpecifier)
return sFoodPlugin;
}
-#pragma comment(linker, "/export:ConstructTemplatePlugin=_ConstructTemplatePlugin@16")
-extern "C" void *CALLBACK ConstructTemplatePlugin(T2PluginSpecifier *inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin) {
+void *CALLBACK ConstructTemplatePlugin(T2PluginSpecifier *inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin) {
if (!sFoodDef) {
#line 101
sFoodDef = new FoodDef('TnDf', *inSpecifier, inResFile, inWorldDef, inPlugin);
@@ -85,8 +83,7 @@ extern "C" void *CALLBACK ConstructTemplatePlugin(T2PluginSpecifier *inSpecifier
return sFoodDef;
}
-#pragma comment(linker, "/export:DestructProgramPlugin=_DestructProgramPlugin@0")
-extern "C" void *CALLBACK DestructProgramPlugin() {
+void *CALLBACK DestructProgramPlugin() {
delete sFoodPlugin;
sFoodPlugin = NULL;
@@ -96,11 +93,10 @@ extern "C" void *CALLBACK DestructProgramPlugin() {
return NULL;
}
-#pragma comment(linker, "/export:GetAttr=_GetAttr@16")
-extern "C" T2PluginSpecifier *CALLBACK GetAttr(T2PluginSpecifier *inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin) {
-#line 120
+T2PluginSpecifier *CALLBACK GetAttr(T2PluginSpecifier *inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin) {
+#line 76
T2PluginSpecifier *specifier = new T2PluginSpecifier;
- specifier->mPluginName = "Burgar";
+ specifier->mPluginName = "Floor Ver1.3";
specifier->mType = 'TnPl';
specifier->mAttrib = 0xFFFFFFFF;
specifier->mGameLevel = 0;
diff --git a/src/Plugins/Food/Burger/Burger.def b/src/Plugins/Food/Burger/Burger.def
index c6ca96c..d8e0028 100644
--- a/src/Plugins/Food/Burger/Burger.def
+++ b/src/Plugins/Food/Burger/Burger.def
@@ -4,3 +4,7 @@ LIBRARY "Burger"
DESCRIPTION 'Burger Windows Dynamic Link Library'
EXPORTS
+ ConstructProgramPlugin
+ ConstructTemplatePlugin
+ DestructProgramPlugin
+ GetAttr
diff --git a/src/Plugins/Food/Burger/Burger.dsp b/src/Plugins/Food/Burger/Burger.dsp
index 4743baa..b7ed5a7 100644
--- a/src/Plugins/Food/Burger/Burger.dsp
+++ b/src/Plugins/Food/Burger/Burger.dsp
@@ -78,6 +78,7 @@ BSC32=bscmake.exe
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 ../../../T2DLL/Debug/T2DLL.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"..\..\Burger.t2p" /pdbtype:sept
+# SUBTRACT LINK32 /map /nodefaultlib
!ENDIF
diff --git a/src/Plugins/Food/Burger/Burger.h b/src/Plugins/Food/Burger/Burger.h
index eb21d60..6fe91a7 100644
--- a/src/Plugins/Food/Burger/Burger.h
+++ b/src/Plugins/Food/Burger/Burger.h
@@ -43,4 +43,4 @@ public:
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-#endif // !defined(AFX_BURGER2_H__81154B54_BBFC_4E61_A2BC_BB53B98894B3__INCLUDED_)
+#endif // !defined(AFX_BURGER_H__81154B54_BBFC_4E61_A2BC_BB53B98894B3__INCLUDED_)
diff --git a/src/Plugins/Food/Burger/Resource.h b/src/Plugins/Food/Burger/Resource.h
new file mode 100644
index 0000000..a09f2ba
--- /dev/null
+++ b/src/Plugins/Food/Burger/Resource.h
@@ -0,0 +1,16 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by BURGER.RC
+//
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+
+#define _APS_NEXT_RESOURCE_VALUE 129
+#define _APS_NEXT_COMMAND_VALUE 32771
+#define _APS_NEXT_CONTROL_VALUE 1000
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif