#pragma once #include "flecs.h" #include "render_api.h" // Component: Position (2D) typedef struct Position { float x; float y; } Position; // Initialize core ECS types and systems (idempotent) void ecs_core_init(ecs_world_t* world); // Spawn a couple of test entities with Position void ecs_spawn_test_entities(ecs_world_t* world); // Provide rendering callbacks used by render systems void ecs_core_set_draw_api(draw_square_fn draw_square);