manuel.gysin Posted January 18, 2013 Posted January 18, 2013 Hello Currently there are a few pre-defined preprocessor: __VERSION__—interpreter version, for example, "1.82". NDEBUG—the binary does not contain debugging information (release build). _WIN32—target operation system is 32-bit Windows. _WIN64—target operation system is 64-bit Windows. HAS_OPENGL—the binary is built with OpenGL rendering system. HAS_DIRECT3D9—the binary is built with Direct3D9 rendering system. HAS_OPENAL—Unigine is built with OpenAL sound system. HAS_FMOD—Unigine is built with FMOD sound system. It is possible to add some more for the different platforms directly in the engine? (I know I can do this manually) Or maybe they are already there but not documented? _LIN32—target operation system is 32-bit Linux. _LIN64—target operation system is 64-bit Linux. .... .... .... Thanks Manuel
frustum Posted January 18, 2013 Posted January 18, 2013 // buildNDEBUGHAS_MEMORY USE_DOUBLE// platforms_WIN32_LINUX_MACOS_CELLOS_LV2_WINRT_ANDROID_IOS// interpreter__FILE____LINE____VERSION__HAS_SOCKETHAS_BUFFERHAS_XMLHAS_IMAGEHAS_REGEXP// renderHAS_OPENGLHAS_OPENGLESHAS_DIRECT3D9HAS_DIRECT3D11HAS_DIRECT3D119HAS_PLAYSTATION3// soundHAS_OPENALHAS_XAUDIO2// controlsHAS_SIXAXISHAS_XPAD360HAS_JOYSTICK
Recommended Posts