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);
}
DllExport Texmap *plClothingMtl::GetTexmap(int index, int layer)
Texmap *plClothingMtl::GetTexmap(int index, int layer)
{
return fBasicPB->GetTexmap(ParamID(LayerToPBIdx[layer]), 0, index);
}

2
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)); }

10
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);

Loading…
Cancel
Save