Browse Source

The exporter is a single DLL.

So we don't need to __declspec(dllimport) ANYTHING. This stops more linker
warnings.
Adam Johnson 11 years ago
parent
commit
457f1ef5f6
  1. 2
      Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp
  2. 2
      Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h
  3. 10
      Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h

2
Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.cpp

@ -315,7 +315,7 @@ TSTR plClothingMtl::GetSubTexmapTVName(int i)
return GetSubTexmapSlotName(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); return fBasicPB->GetTexmap(ParamID(LayerToPBIdx[layer]), 0, index);
} }

2
Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h

@ -133,7 +133,7 @@ public:
plClothingElement *FindElementByName(char *name); plClothingElement *FindElementByName(char *name);
int GetTilesetIndex() { return fBasicPB->GetInt(ParamID(kTileset)); } 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)); } Texmap *GetThumbnail() { return fBasicPB->GetTexmap(ParamID(kThumbnail)); }
const char *GetDescription() { return fBasicPB->GetStr(ParamID(kDescription)); } const char *GetDescription() { return fBasicPB->GetStr(ParamID(kDescription)); }
const char *GetCustomText() { return fBasicPB->GetStr(ParamID(kCustomTextSpecs)); } const char *GetCustomText() { return fBasicPB->GetStr(ParamID(kCustomTextSpecs)); }

10
Sources/Tools/MaxPlasmaMtls/Materials/plParticleMtl.h

@ -167,11 +167,11 @@ public:
// void SetNumSubTexmaps(int num); // void SetNumSubTexmaps(int num);
DllExport Control *GetAmbColorController(); Control *GetAmbColorController();
DllExport Control *GetColorController(); Control *GetColorController();
DllExport Control *GetOpacityController(); Control *GetOpacityController();
DllExport Control *GetWidthController(); Control *GetWidthController();
DllExport Control *GetHeightController(); Control *GetHeightController();
// From MtlBase and Mtl // From MtlBase and Mtl
void SetAmbient(Color c, TimeValue t); void SetAmbient(Color c, TimeValue t);

Loading…
Cancel
Save