nitro-engine/include/NEMain.h
2025-03-26 18:08:47 +00:00

72 lines
1.4 KiB
C

// SPDX-License-Identifier: MIT
//
// Copyright (c) 2008-2023 Antonio Niño Díaz
//
// This file is part of Nitro Engine
#ifndef NE_MAIN_H__
#define NE_MAIN_H__
/// @file NEMain.h
/// @brief Main header of Nitro Engine.
/// @defgroup global_defines Global definitions
///
/// Definitions related to debug features and version number of the library.
///
/// @{
#include <nds.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NE_BLOCKSDS
# ifndef ARM_CODE
# define ARM_CODE __attribute__((target("arm")))
# endif
#endif
#include "NE2D.h"
#include "NEAnimation.h"
#include "NECamera.h"
#include "NEDisplayList.h"
#include "NEFAT.h"
#include "NEFormats.h"
#include "NEGeneral.h"
#include "NEGUI.h"
#include "NEModel.h"
#include "NEPalette.h"
#include "NEPhysics.h"
#include "NEPolygon.h"
#include "NERichText.h"
#include "NEText.h"
#include "NETexture.h"
/// Major version of Nitro Engine
#define NITRO_ENGINE_MAJOR (0)
/// Minor version of Nitro Engine
#define NITRO_ENGINE_MINOR (15)
/// Patch version of Nitro Engine
#define NITRO_ENGINE_PATCH (3)
/// Full version of Nitro Engine
#define NITRO_ENGINE_VERSION ((NITRO_ENGINE_MAJOR << 16) | \
(NITRO_ENGINE_MINOR << 8) | \
(NITRO_ENGINE_PATCH))
/// String with the version of Nitro Engine
#define NITRO_ENGINE_VERSION_STRING "0.15.3"
/// @}
#ifdef __cplusplus
}
#endif
#endif // NE_MAIN_H__