Browse Source

Fix max plugin compile

Always include HeadSpin.h before Max.h--Max.h brings in Winsocks 1, for
some reason. This creates symbol clash hell.
Adam Johnson 13 years ago
parent
commit
5d30f69957
  1. 1
      Sources/Tools/MaxComponent/plCAnimParamBlock.h
  2. 1
      Sources/Tools/MaxComponent/plComponentBase.h
  3. 1
      Sources/Tools/MaxComponent/plPickNodeBase.h
  4. 1
      Sources/Tools/MaxConvert/plLayerConverter.cpp
  5. 1
      Sources/Tools/MaxPlasmaMtls/Materials/plClothingMtl.h

1
Sources/Tools/MaxComponent/plCAnimParamBlock.h

@ -61,6 +61,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef _plCAnimParamBlock_h
#define _plCAnimParamBlock_h
#include "HeadSpin.h"
#include "Max.h"
#include "iparamb2.h"
#include "iparamm2.h"

1
Sources/Tools/MaxComponent/plComponentBase.h

@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef PL_COMPONENT_BASE_H
#define PL_COMPONENT_BASE_H
#include "HeadSpin.h"
#include "Max.h"
#include "iparamb2.h"
#include "iparamm2.h"

1
Sources/Tools/MaxComponent/plPickNodeBase.h

@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef plPickNodeBase_h_inc
#define plPickNodeBase_h_inc
#include "HeadSpin.h"
#include "max.h"
#include <vector>

1
Sources/Tools/MaxConvert/plLayerConverter.cpp

@ -59,6 +59,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
///////////////////////////////////////////////////////////////////////////////
#include "HeadSpin.h"
#include "Max.h"
#include "stdmat.h"
#include "istdplug.h"

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

@ -42,6 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef PL_CLOTHINGMTL_H
#define PL_CLOTHINGMTL_H
#include "HeadSpin.h"
#include "Max.h"
#include "iparamb2.h"
#include "../resource.h"

Loading…
Cancel
Save