diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-11 17:52:00 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-11 17:52:00 +0100 |
commit | 024306ccab5f6d51f3fce269fb1984fd02f3bb02 (patch) | |
tree | 8d359495d72bf4e7295c7eab4cb220edc2d4b60c /src/Plugins/Food/Burger/Burger.cpp | |
parent | 0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be (diff) | |
download | t2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.tar.gz t2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.zip |
add Floor, add DefaultToolPalettemain
Diffstat (limited to 'src/Plugins/Food/Burger/Burger.cpp')
-rw-r--r-- | src/Plugins/Food/Burger/Burger.cpp | 16 |
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; |