From 457f1ef5f633de7484761ae5db00bdd2da9fb910 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 3 Jan 2014 19:12:25 -0500 Subject: [PATCH] The exporter is a single DLL. So we don't need to __declspec(dllimport) ANYTHING. This stops more linker warnings. --- .../Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp | 2 +- Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h | 2 +- Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp b/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp index 686af313..2e3435f4 100644 --- a/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp +++ b/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp @@ -315,7 +315,7 @@ TSTR plClothingMtl::GetSubTexmapTVName(int i) return GetSubTexmapSlotName(i); } -DllExport Texmap *plClothingMtl::GetTexmap(int index, int layer) +Texmap *plClothingMtl::GetTexmap(int index, int layer) { return fBasicPB->GetTexmap(ParamID(LayerToPBIdx[layer]), 0, index); } diff --git a/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h b/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h index 5d9bf4a4..2685e10e 100644 --- a/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h +++ b/Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h @@ -133,7 +133,7 @@ public: plClothingElement *FindElementByName(char *name); int GetTilesetIndex() { return fBasicPB->GetInt(ParamID(kTileset)); } - DllExport Texmap *GetTexmap(int index, int layer); + Texmap *GetTexmap(int index, int layer); Texmap *GetThumbnail() { return fBasicPB->GetTexmap(ParamID(kThumbnail)); } const char *GetDescription() { return fBasicPB->GetStr(ParamID(kDescription)); } const char *GetCustomText() { return fBasicPB->GetStr(ParamID(kCustomTextSpecs)); } diff --git a/Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h b/Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h index ee130462..a5423f9b 100644 --- a/Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h +++ b/Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h @@ -167,11 +167,11 @@ public: // void SetNumSubTexmaps(int num); - DllExport Control *GetAmbColorController(); - DllExport Control *GetColorController(); - DllExport Control *GetOpacityController(); - DllExport Control *GetWidthController(); - DllExport Control *GetHeightController(); + Control *GetAmbColorController(); + Control *GetColorController(); + Control *GetOpacityController(); + Control *GetWidthController(); + Control *GetHeightController(); // From MtlBase and Mtl void SetAmbient(Color c, TimeValue t);