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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
/* GENERATED by @estella/compiler — do not edit. */
/* The static half: what this module is, for a host that reads it out of
the artifact rather than out of a manifest beside it. Separate because
a wasm module sharing the ENGINE's memory must carry no data section —
its bytes would land at a link-time address the engine already owns. */
#include "estella_abi.h"
/* What this module baked in about the engine it was built for. A
host compares before it maps anything — a mismatch is not a wrong
answer, it is a read of a different field. The address width belongs
to the MACHINE, so it mixes in here rather than in the compiler and a
32-bit artifact cannot load into a 64-bit host. */
#define ES_ABI_ENGINE_DIGEST 0x96474bc81a301acbULL
ES_EXPORT const uint64_t es_abi_hash =
ES_ABI_ENGINE_DIGEST ^ (0x9e3779b97f4a7c15ULL * (uint64_t)sizeof(es_addr_t));
ES_EXPORT void es_sys_MoveSystem(es_addr_t es_ctx);
/* The systems in this file, and what each one needs filled in. */
static const char *const es_sys_MoveSystem_q0_comps[] = { "Transform", "Mover" };
static const unsigned char es_sys_MoveSystem_q0_mut[] = { 1u, 0u };
static const EsQueryDecl es_sys_MoveSystem_queries[] = { { es_sys_MoveSystem_q0_comps, es_sys_MoveSystem_q0_mut, 2u } };
static const char *const es_sys_MoveSystem_resources[] = { "Time" };
static const unsigned char es_sys_MoveSystem_resources_mut[] = { 0u };
ES_EXPORT const EsSystemDecl es_systems[] = {
{ "MoveSystem", es_sys_MoveSystem, es_sys_MoveSystem_queries, es_sys_MoveSystem_resources, es_sys_MoveSystem_resources_mut, 1u, 1u },
};
ES_EXPORT const uint32_t es_system_count = 1u;