Module Index

Major code modules in GalaxyEggbertCNA and the shared Worlds data model.

Module Responsibilities

ModuleFilesNotes
Application lifecyclemain.cpp, GalaxyEggbertCnaGame.hpp/.cppEntry point; owns all CNA-side subsystems
World loading & animationGame/GEWorldRuntime.hpp/.cpp.vwr default, .txt secondary; 6 fps anim phase
Terrain renderingGame/GETerrainRenderer.hpp/.cppOne cube per non-air block, static + animated split
Texture mappingGame/GETileAtlas.hpp/.cppBlock type → CnaEngine::Graphics::UvRect via BlockTypes::tileUV()
Player movementGame/GEBlupiController.hpp/.cppEngine-agnostic; collision-only, no rendering
Voxel data modelinclude/GalaxyEggbert/Worlds/*.hpp, src/GalaxyEggbert/Worlds/*.cppEngine-agnostic; shared with Simple3D; unit tested
Game definitionsinclude/GalaxyEggbert/def/All enums: GamePhase, ObjectType, SoundChannel, etc.
Mesh building & drawing (cna-engine)../cna-engine (CnaEngine::Graphics): MeshBuilder, GpuMesh, Camera, UvRect; game helpers in src/GalaxyEggbert/Game/TexturedMesh.hppGeneric helpers beside CNA, no Eggbert-specific knowledge; replaced easy-3d on 2026-10-20