mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Change the Max Plugin defines so that CWaveFile is still available
This commit is contained in:
@ -86,4 +86,4 @@ endif(MSVC)
|
|||||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
|
||||||
add_subdirectory(Sources/Plasma)
|
add_subdirectory(Sources/Plasma)
|
||||||
add_subdirectory(Sources/Tools)
|
add_subdirectory(Sources/Tools)
|
@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "plWavFile.h"
|
#include "plWavFile.h"
|
||||||
|
|
||||||
#ifdef MAXPLUGINCODE
|
#ifdef BUILDING_MAXPLUGIN
|
||||||
|
|
||||||
#ifdef DX_OLD_SDK
|
#ifdef DX_OLD_SDK
|
||||||
#include <dxerr9.h>
|
#include <dxerr9.h>
|
||||||
@ -1094,4 +1094,4 @@ public:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //MAXPLUGINCODE
|
#endif // BUILDING_MAXPLUGIN
|
||||||
|
@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#ifndef plWavFile_H
|
#ifndef plWavFile_H
|
||||||
#define plWavFile_H
|
#define plWavFile_H
|
||||||
|
|
||||||
#ifdef MAXPLUGINCODE
|
#ifdef BUILDING_MAXPLUGIN
|
||||||
#define WAVEFILE_READ 1
|
#define WAVEFILE_READ 1
|
||||||
#define WAVEFILE_WRITE 2
|
#define WAVEFILE_WRITE 2
|
||||||
|
|
||||||
@ -111,6 +111,6 @@ protected:
|
|||||||
HRESULT WriteMMIO( WAVEFORMATEX *pwfxDest );
|
HRESULT WriteMMIO( WAVEFORMATEX *pwfxDest );
|
||||||
HRESULT IClose();
|
HRESULT IClose();
|
||||||
};
|
};
|
||||||
#endif //MAXPLUGINCODE
|
#endif // BUILDING_MAXPLUGIN
|
||||||
|
|
||||||
#endif // plWavFile_H
|
#endif // plWavFile_H
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
#add_subdirectory(plResBrowser)
|
#add_subdirectory(plResBrowser)
|
||||||
|
|
||||||
# Max Stuff goes below here...
|
# Max Stuff goes below here...
|
||||||
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
|
|
||||||
|
|
||||||
if(3dsm_BUILD_PLUGIN)
|
if(3dsm_BUILD_PLUGIN)
|
||||||
add_definitions(-DMAXPLUGINCODE)
|
add_definitions(-DMAXPLUGINCODE)
|
||||||
|
|
||||||
|
@ -87,4 +87,9 @@ if (3dsm_FOUND)
|
|||||||
if(NOT 3dsm_FIND_QUIETLY)
|
if(NOT 3dsm_FIND_QUIETLY)
|
||||||
message(STATUS "Found 3ds Max SDK: ${3dsm_PATH}")
|
message(STATUS "Found 3ds Max SDK: ${3dsm_PATH}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
|
||||||
|
if (3dsm_BUILD_PLUGIN)
|
||||||
|
add_definitions(-DBUILDING_MAXPLUGIN)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
Reference in New Issue
Block a user