summaryrefslogtreecommitdiff
path: root/src/Plugins/Food/Burger/Burger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Food/Burger/Burger.cpp')
-rw-r--r--src/Plugins/Food/Burger/Burger.cpp16
1 files changed, 6 insertions, 10 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;