How id-software/doom-3 works
Main Components
The system should be divided into these major components:
a. Core Engine Components:
• Renderer System
• Sound System
• Physics System
• Input System
• Network System
• File System
• Memory Management
• Resource Management
b. Game Logic:
• Game Framework
• Entity System
• AI System
• Scripting System
• Animation System
c. Tools:
• Level Editor (Radiant)
• Material Editor
• Particle Editor
• Sound Editor
• GUI Editor
Component Relationships
[Hardware/OS Layer]
• ↑↓
[Core Engine Layer]
• ↑↓
[Game Logic Layer]
• ↑↓
[Tools Layer]
Detailed Component Breakdown
Core Engine Layer:
[Renderer]←→[Resource Manager]
• ↑ ↑
[Sound] [File System]
• ↑ ↑
[Physics]←→[Memory Manager]
• ↑ ↑
[Input] [Network]
Specific Implementation Details
Key subsystems:
[idLib Base Classes]
• ↓
[Common Framework]
• ↓
[Game Specific Logic]
External Dependencies
Integration points for:
• OpenGL
• OpenAL
• OggVorbis
• Curl
• zlib
Tool Integration
How the tools interact with the engine:
[Engine Core]←→[Tool Framework]
• ↓
• [Radiant]←→[Common Tool Utils]←→[Material Editor]