66 lines
2.0 KiB
C++
66 lines
2.0 KiB
C++
/*
|
|
Nazara Development Kit ("NDK"), also called Nazara Engine - SDK ("Software Development Kit")
|
|
|
|
Copyright (C) 2015 Jérôme "Lynix" Leclercq (Lynix680@gmail.com)
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
the Software without restriction, including without limitation the rights to
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
*/
|
|
|
|
#ifndef NDK_PREREQUESITES_HPP
|
|
#define NDK_PREREQUESITES_HPP
|
|
|
|
#include <Nazara/Prerequesites.hpp>
|
|
|
|
// Version du SDK
|
|
#define NDK_VERSION_MAJOR 0
|
|
#define NDK_VERSION_MINOR 1
|
|
|
|
// Importation/Exportation de l'API
|
|
#if defined(NAZARA_PLATFORM_WINDOWS)
|
|
#if !defined(NDK_STATIC)
|
|
#ifdef NDK_BUILD
|
|
#define NDK_API NAZARA_EXPORT
|
|
#else
|
|
#define NDK_API NAZARA_IMPORT
|
|
#endif
|
|
#else
|
|
#define NDK_API
|
|
#endif
|
|
#elif defined(NAZARA_PLATFORM_LINUX)
|
|
#if !defined(NDK_STATIC) && defined(NAZARA_COMPILER_GCC)
|
|
#define NDK_API NAZARA_EXPORT
|
|
#else
|
|
#define NDK_API
|
|
#endif
|
|
#else
|
|
// À commenter pour tenter quand même une compilation
|
|
#error This operating system is not fully supported by the Nazara Development Kit
|
|
|
|
#define NDK_API
|
|
#endif
|
|
|
|
namespace Ndk
|
|
{
|
|
using ComponentId = nzUInt32;
|
|
using EntityId = nzUInt32;
|
|
using SystemId = nzUInt32;
|
|
}
|
|
|
|
#endif // NDK_PREREQUESITES_HPP
|