How etjump/etjump works
Main Components Identification
• Game Module (src/game)
• Client Game Module (src/cgame)
• UI Module (src/ui)
Architecture Overview
a) Core Layer:
• Game Engine Integration (syscalls)
• Shared Components (q_shared, bg_*)
• Database System (etj_database*)
b) Game Logic Layer:
• Timerun System (etj_timerun*)
• Save System (etj_save_system)
• RTV System (etj_rtv)
• Player Management (etj_user)
• Command System (etj_command*)
c) Client Layer:
• HUD Components
• Visual Feedback Systems
• Input Handling
• Demo Recording
d) UI Layer:
• Menu System
• Settings Interface
• Custom UI Components
Key Relationships to Highlight
• Data flow between modules
• Component dependencies
• Client-server communication
• Event handling paths
External Dependencies
Integration with:
• SQLite (deps/sqlite)
• JSON processing (deps/json)
• Format library (deps/fmt)
• Testing framework (deps/gtest)
Additional Elements
Include:
• Version control integration
• Build system components
• Asset management
• Testing framework integration
• Component types
• Data flow indicators
• Module boundaries
• Integration points
• Dependency types
Keep the abstraction level high enough to show the overall architecture while including sufficient detail to understand the relationships between major components and the flow of data through the system.