2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAMax.
6
Portions of the code are:
7
Copyright (c) 2005-2007 Feeling Software Inc.
8
Copyright (c) 2005-2007 Sony Computer Entertainment America
10
Based on the 3dsMax COLLADASW Tools:
11
Copyright (c) 2005-2006 Autodesk Media Entertainment
13
Licensed under the MIT Open Source License,
14
for details please see LICENSE file or the website
15
http://www.opensource.org/licenses/mit-license.php
19
#ifndef __COLLADAMAX_PREREQUISITES_H__
20
#define __COLLADAMAX_PREREQUISITES_H__
22
#define UNUSED(a) /**< Removes a piece of code during the pre-process. This macro is useful for these pesky unused variable warnings. */
24
#include "maxversion.h"
27
#if ( MAX_VERSION_MAJOR >= 7 )
28
# define MAX_7_OR_NEWER
30
#if ( MAX_VERSION_MAJOR == 7 )
34
#if ( MAX_VERSION_MAJOR >= 8 )
35
# define MAX_8_OR_NEWER
37
#if ( MAX_VERSION_MAJOR == 8 )
41
#if ( MAX_VERSION_MAJOR >= 9 )
42
# define MAX_9_OR_NEWER
44
#if ( MAX_VERSION_MAJOR == 9 )
48
#if ( MAX_VERSION_MAJOR >= 10 )
49
# define MAX_2008_OR_NEWER
51
#if ( MAX_VERSION_MAJOR == 10 )
55
#if ( MAX_VERSION_MAJOR >= 11 )
56
# define MAX_2009_OR_NEWER
58
#if ( MAX_VERSION_MAJOR == 11 )
62
#if ( MAX_VERSION_MAJOR >= 12 )
63
# define MAX_2010_OR_NEWER
65
#if ( MAX_VERSION_MAJOR == 12 )
69
#if ( MAX_VERSION_MAJOR >= 13 )
70
# define MAX_2011_OR_NEWER
72
#if ( MAX_VERSION_MAJOR == 13 )
76
#if ( MAX_VERSION_MAJOR >= 14 )
77
# define MAX_2012_OR_NEWER
79
#if ( MAX_VERSION_MAJOR == 14 )
83
#if ( MAX_VERSION_MAJOR >= 15 )
84
# define MAX_2013_OR_NEWER
86
#if ( MAX_VERSION_MAJOR == 15 )
91
// Max 2009 requires RTTI to be enabled
92
#ifdef MAX_2009_OR_NEWER
94
#error "Max 2009 or newer requires RTTI to be enabled. Please enable and try again..."
99
#define TIME_INITIAL_POSE 0
100
//#define TIME_EXPORT_START 0//OPTS->AnimStart()
104
#include "COLLADABUURI.h"
105
#include "COLLADABUStringUtils.h"
106
#include "COLLADABUNativeString.h"
107
#include "Math/COLLADABUMathUtils.h"
112
typedef COLLADABU::URI URI;
113
typedef COLLADABU::Utils Utils;
114
typedef COLLADABU::StringUtils StringUtils;
115
typedef COLLADABU::NativeString NativeString;
116
typedef COLLADABU::Math::Utils MathUtils;
118
typedef std::string String;
119
typedef std::wstring WideString;
124
#endif //__COLLADAMAX_PREREQUISITES_H__