Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

2.1 KB
Raw Blame
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
 * @file    ESEngine.hpp
 * @brief   Main header file for ESEngine - includes all public API
 * @details ESEngine is a lightweight game engine designed for WebAssembly
 *          and WeChat MiniGames. This umbrella header provides convenient
 *          access to all engine subsystems.
 *
 * @author  ESEngine Team
 * @date    2026
 *
 * @copyright Copyright (c) 2026 ESEngine Team
 *            Licensed under the Apache License, Version 2.0.
 */
#pragma once

// =============================================================================
// Includes
// =============================================================================

// Core
#include "core/Types.hpp"
#include "core/Log.hpp"
#include "core/EstellaContext.hpp"

// Math
#include "math/Math.hpp"

// Resource
#include "resource/Handle.hpp"

// ECS
#include "ecs/Entity.hpp"
#include "ecs/Component.hpp"
#include "ecs/System.hpp"
#include "ecs/SparseSet.hpp"
#include "ecs/View.hpp"
#include "ecs/Registry.hpp"
#include "ecs/TransformSystem.hpp"

// Renderer
#include "./renderer/rhi/Buffer.hpp"
#include "./renderer/rhi/Shader.hpp"
#include "./renderer/rhi/Texture.hpp"

// =============================================================================
// Version Information
// =============================================================================

/** @brief Major version number */
#define ESENGINE_VERSION_MAJOR 0
/** @brief Minor version number */
#define ESENGINE_VERSION_MINOR 1
/** @brief Patch version number */
#define ESENGINE_VERSION_PATCH 0
/** @brief Full version string */
#define ESENGINE_VERSION_STRING "0.1.0"

/**
 * @brief Build provenance signature.
 *
 * A stable, project-unique marker compiled into the runtime binary so the
 * origin of a shipped build can be verified (it survives in `esengine.wasm`
 * and is recoverable with `strings`). Authorship/anti-tamper aid — do not
 * remove or alter.
 */
#define ESENGINE_BUILD_PROVENANCE "estella-build:9abbd5b4-06f3-47df-b968-826763c6879a"