Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __SP_COMPILATION_OPTIONS_H__
00009 #define __SP_COMPILATION_OPTIONS_H__
00010
00011
00012
00013
00014 #define SP_COMPILE_WITH_RENDERSYSTEMS // Render Systems
00015 #define SP_COMPILE_WITH_SCENEGRAPHS // Scene Graphs
00016 #define SP_COMPILE_WITH_NETWORKSYSTEM // Network System
00017 #define SP_COMPILE_WITH_SOUNDSYSTEM // Sound System (effects each sound device)
00018 #define SP_COMPILE_WITH_UTILITIES // Tools (effects each tool)
00019 #define SP_COMPILE_WITH_PRIMITIVES // Standard Primitive Objects (Cube, Sphere etc.)
00020 #define SP_COMPILE_WITH_GUI // Graphics User Interface (GUI)
00021 #define SP_COMPILE_WITH_FORMATHANDLERS // File Format Handlers (Image-, Mesh- and Scene loaders/ savers)
00022 #define SP_COMPILE_WITH_PHYSICS // Physics systems
00023 #define SP_COMPILE_WITH_CG // Cg Toolkit by NVIDIA
00024 #define SP_COMPILE_WITH_OPENCL // OpenCL Toolkit for GPGPU
00025 #define SP_COMPILE_WITH_XBOX360GAMEPAD // XBox360 gamepad
00026
00027 #ifdef SP_COMPILE_WITH_RENDERSYSTEMS
00028 # define SP_COMPILE_WITH_OPENGL // OpenGL 1.1 - 4.1
00029 # define SP_COMPILE_WITH_OPENGLES1 // OpenGL|ES 1.0 - 1.1
00030 # define SP_COMPILE_WITH_OPENGLES2 // OpenGL|ES 2.0
00031 # define SP_COMPILE_WITH_DIRECT3D9 // Direct3D 9
00032 # define SP_COMPILE_WITH_DIRECT3D11 // Direct3D 11
00033 # define SP_COMPILE_WITH_DEFERREDRENDERER // DeferredRenderer
00034 # define SP_COMPILE_WITH_POSTPROCESSING // Post processing effects
00035 #endif
00036
00037 #ifdef SP_COMPILE_WITH_SCENEGRAPHS
00038 # define SP_COMPILE_WITH_SCENEGRAPH_SIMPLE // Simple scene graph
00039 # define SP_COMPILE_WITH_SCENEGRAPH_SIMPLE_STREAM // Simple scene graph with streaming (for multi-threading)
00040 # define SP_COMPILE_WITH_SCENEGRAPH_FAMILY_TREE // Simple scene graph with child tree hierarchy
00041 # define SP_COMPILE_WITH_SCENEGRAPH_PORTAL_BASED // Portal-based scene graph
00042 #endif
00043
00044 #ifdef SP_COMPILE_WITH_SOUNDSYSTEM
00045 # define SP_COMPILE_WITH_WINMM // Windows Multi Media system
00046 # define SP_COMPILE_WITH_OPENAL // OpenAL sound device
00047
00048 # define SP_COMPILE_WITH_OPENSLES // OpenSL|ES 1.0
00049
00050 # define SP_COMPILE_WITH_SOUNDLOADER_WAV // Sound loader WAV (RIFF Wave)
00051 #endif
00052
00053 #ifdef SP_COMPILE_WITH_PHYSICS
00054 # define SP_COMPILE_WITH_NEWTON // Newton Game Dynamics
00055
00056
00057 #endif
00058
00059 #ifdef SP_COMPILE_WITH_UTILITIES
00060 # define SP_COMPILE_WITH_LIGHTMAPGENERATOR // Lightmap generator
00061 # define SP_COMPILE_WITH_MESHBOOLEANOPERATOR // Mesh boolean operator
00062 # define SP_COMPILE_WITH_SCRIPTLOADER // Script loader
00063 # define SP_COMPILE_WITH_PARTICLEANIMATOR // Particle animator
00064 # define SP_COMPILE_WITH_IMAGEMODIFIER // Image modifier
00065 # define SP_COMPILE_WITH_XMLPARSER // XML parser
00066 # define SP_COMPILE_WITH_PATHFINDER // Path finder
00067 # define SP_COMPILE_WITH_INPUTSERVICE // Input service
00068 # define SP_COMPILE_WITH_MATRIXTEXTURE // Matrix texture
00069 # define SP_COMPILE_WITH_STORYBOARD // Storyboard
00070 # define SP_COMPILE_WITH_TOKENPARSER // Token parser
00071 # define SP_COMPILE_WITH_COMMANDLINE // Command line
00072 # define SP_COMPILE_WITH_WEBPAGERENDERER // Web page renderer
00073 #endif
00074
00075 #ifdef SP_COMPILE_WITH_PRIMITIVES
00076 # define SP_COMPILE_WITH_PRIMITIVE_CUBE // Cube
00077 # define SP_COMPILE_WITH_PRIMITIVE_CONE // Cone
00078 # define SP_COMPILE_WITH_PRIMITIVE_CYLINDER // Cylinder
00079 # define SP_COMPILE_WITH_PRIMITIVE_SPHERE // Sphere
00080 # define SP_COMPILE_WITH_PRIMITIVE_ICOSPHERE // Ico Sphere
00081 # define SP_COMPILE_WITH_PRIMITIVE_TORUS // Torus
00082 # define SP_COMPILE_WITH_PRIMITIVE_TORUSKNOT // Torus Knot
00083 # define SP_COMPILE_WITH_PRIMITIVE_SPIRAL // Spiral
00084 # define SP_COMPILE_WITH_PRIMITIVE_PIPE // Pipe
00085 # define SP_COMPILE_WITH_PRIMITIVE_PLANE // Plane
00086 # define SP_COMPILE_WITH_PRIMITIVE_DISK // Disk
00087 # define SP_COMPILE_WITH_PRIMITIVE_CUBOCTAHEDRON // Cuboctahedron
00088 # define SP_COMPILE_WITH_PRIMITIVE_TETRAHEDRON // Tetrahedron
00089 # define SP_COMPILE_WITH_PRIMITIVE_OCTAHEDRON // Octahedron
00090 # define SP_COMPILE_WITH_PRIMITIVE_DODECAHEDRON // Dodecahedron
00091 # define SP_COMPILE_WITH_PRIMITIVE_ICOSAHEDRON // Icosahedron
00092 # define SP_COMPILE_WITH_PRIMITIVE_TEAPOT // Utah Teapot
00093 # define SP_COMPILE_WITH_PRIMITIVE_WIRE_CUBE // Wire Cube
00094 # ifdef SP_COMPILE_WITH_PRIMITIVE_TEAPOT
00095
00096 # endif
00097 # define SP_COMPILE_WITH_PRIMITIVE_SUPERSHAPE // Super shape
00098 #endif
00099
00100 #ifdef SP_COMPILE_WITH_FORMATHANDLERS
00101 # define SP_COMPILE_WITH_TEXLOADER_BMP // Texture loader BMP (Windows Bitmaps)
00102 # define SP_COMPILE_WITH_TEXLOADER_JPG // Texture loader JPG (Joint Photographics Experts)
00103 # define SP_COMPILE_WITH_TEXLOADER_PCX // Texture loader PCX (Pixture Exchange)
00104 # define SP_COMPILE_WITH_TEXLOADER_PNG // Texture loader PNG (Portable Network Graphics)
00105 # define SP_COMPILE_WITH_TEXLOADER_TGA // Texture loader TGA (Targa True Image)
00106 # define SP_COMPILE_WITH_TEXLOADER_DDS // Texture loader DDS (Direct Draw Surface)
00107 # define SP_COMPILE_WITH_TEXLOADER_WAD // Texture loader WAD (Where is All the Data)
00108 # define SP_COMPILE_WITH_TEXSAVER_BMP // Texture saver BMP
00109
00110 # define SP_COMPILE_WITH_MESHLOADER_3DS // Mesh loader 3DS (3D Studio)
00111 # define SP_COMPILE_WITH_MESHLOADER_B3D // Mesh loader B3D (Blitz3D)
00112 # define SP_COMPILE_WITH_MESHLOADER_X // Mesh loader X (DirectX)
00113 # define SP_COMPILE_WITH_MESHLOADER_MD2 // Mesh loader MD2 (Quake 2)
00114 # define SP_COMPILE_WITH_MESHLOADER_MD3 // Mesh loader MD3 (Quake III)
00115 # define SP_COMPILE_WITH_MESHLOADER_MS3D // Mesh loader MS3D (Milkshape 3D)
00116 # define SP_COMPILE_WITH_MESHLOADER_OBJ // Mesh loader OBJ (Wavefront Object)
00117 # define SP_COMPILE_WITH_MESHLOADER_SPM // Mesh loader SPM (SoftPixel Mesh)
00118 # define SP_COMPILE_WITH_MESHSAVER_B3D // Mesh saver B3D
00119 # define SP_COMPILE_WITH_MESHSAVER_OBJ // Mesh saver OBJ
00120 # define SP_COMPILE_WITH_MESHSAVER_SPM // Mesh saver SPM
00121
00122 # define SP_COMPILE_WITH_SCENELOADER_BSP1 // Quake 1 BSP loader
00123 # define SP_COMPILE_WITH_SCENELOADER_BSP3 // Quake 3 BSP loader
00124 # define SP_COMPILE_WITH_SCENELOADER_SPSB // Scene loader SPS (SoftPixel Scene)
00125 #endif
00126
00127
00128
00129 #if defined(SP_COMPILER_VC)
00130 # pragma warning(disable : 4250) // Warning occurs when a class inherits from several base-classes and a virtual inheritance is used.
00131 # pragma warning(disable : 4251) // Warning occurs when a class has a member of another class which is not declared for dll-export.
00132 # pragma warning(disable : 4290) // Warning occurs when a function is declared to throw a specified exception.
00133 # pragma warning(disable : 4267) // x64: Warning occur when converting size_t to u32.
00134 #endif
00135
00136
00137 #endif
00138
00139
00140
00141