2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Now we can compile on Max 8 as well as 2011

This commit is contained in:
2011-04-16 20:30:12 -04:00
parent 16192eb7b7
commit 1cf8500e4a
11 changed files with 78 additions and 15 deletions

View File

@ -27,6 +27,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsTypes.h"
#include "hsConverterUtils.h"
#include "hsResMgr.h"
#include "MaxMain/MaxCompat.h"
#if HS_BUILD_FOR_WIN32
@ -419,7 +420,7 @@ hsBool hsConverterUtils::IsInstanced(Object* maxObject)
}
ObjectInstancedEnumProc instProc;
maxObject->DoEnumDependents(&instProc);
ENUMDEPENDENTS(maxObject, &instProc);
return (instProc.GetInstanceCount() > 1);
hsGuardEnd;

View File

@ -51,6 +51,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsConverterUtils.h"
#include "hsControlConverter.h"
#include "MaxMain/plMaxNode.h"
#include "MaxMain/MaxCompat.h"
#include "plInterp/plController.h"
#include "hsExceptionStack.h"
@ -3932,7 +3933,7 @@ hsBool hsMaterialConverter::IClearDoneMaterial(Mtl* mtl, plMaxNode* node)
#define VIEW_BK 5
static BMM_Color_64 green64 = BMM_Color_64(0, (1<<16)-1, 0, (1<<16)-1);
static BMM_Color_64 green64 = BMMCOLOR(0, (1<<16)-1, 0, (1<<16)-1)
BMM_Color_64 hsMaterialConverter::ICubeSample(Bitmap *bitmap[6], double phi, double theta)
{