How martindew/featherengine works
Feather is an early-stage C++ game engine: the README describes an ECS-based engine, while sampled code shows a default runtime loop that indexes project resources, initializes a world, advances simulation, and updates rendering. The tree also exposes resource loading, reflection, rendering, and ECS-related subsystems. Edges are limited to relationships explicit in the sampled runtime excerpt or source index; many implementation links remain unverified because their source was not excerpted.
Main entry points: default_engine.cpp Default Engine · modifier_api.py Modifier API · generate_reflection.py Reflection Generator · ecs.py ECS Modifiers
Components 26
Engine Runtime
- Default Engine
main/default_engine.cpp - Engine State
core/engine.cpp - Engine Settings
core/engine_settings.cpp - Display Window
core/window.cpp - Display Server
core/display_server.cpp
World and ECS
- World Simulation
world/world_sim.cpp - Simulation
world/simulation.cpp - Scene Components
world/components/scene.cpp - ECS Module
world/ecs_module.cpp - World Modules
world/rendering_world_module.cpp
Rendering
- Rendering Server
rendering/rendering_server.cpp - Render Scene
rendering/render_scene.cpp - VEX Renderer
modules/vex_renderer/vex_renderer.cpp
Resources
- Resource Loader
resources/resource_loader.cpp - Format Loaders
resources/resource_format_loader.cpp - Mesh Resource
resources/mesh.cpp - Texture Loader
resources/texture_format_loader.cpp - Material Loader
resources/material_format_loader.cpp - Extension Loader
resources/extension_format_loader.cpp
Reflection
- Class Database
reflection/class_db.cpp - Variant Values
reflection/variant.cpp - Reflection Generator
tools/codegen/generate_reflection.py - Modifier API
tools/codegen/modifier_api.py - ECS Modifiers
tools/codegen/extensions/ecs.py - Core Modifiers
tools/codegen/extensions/core_modifiers.py
Other components
- Engine User
Connections 8
- Engine User → Default Engine: starts
- Default Engine → Resource Loader: indexes project
main/default_engine.cpp - Default Engine → World Simulation: initializes and updates
main/default_engine.cpp - Default Engine → Display Window: polls updates
main/default_engine.cpp - Default Engine → Rendering Server: initializes and updates
main/default_engine.cpp - Reflection Generator → Modifier API: uses API
tools/codegen/generate_reflection.py - ECS Modifiers → Modifier API: implements
tools/codegen/extensions/ecs.py - Core Modifiers → Modifier API: implements
tools/codegen/extensions/core_modifiers.py