How dhewm/dhewm3 works
dhewm3 is a cross-platform Doom 3 source port. Its principal workflow is launching the engine, running game frames and game logic, and producing rendered and audio output; it also supports multiplayer, game-data declarations, and in-engine editing tools. The README documents SDL-based platform support, OpenGL, OpenAL, gamepad and widescreen support, and a settings menu. Edges are limited to relationships visible in excerpts or the source index; several runtime connections are therefore omitted rather than inferred.
Main entry points: Game_local.h Game runtime · DeclManager.cpp Game declarations · RenderWorld.h Render world · sound.h Sound system
Components 20
Platform and framework
- Platform entry
neo/sys/linux/main.cpp - System services
neo/sys/sys_local.h - Engine common
neo/framework/Common.h - Settings and CVars
neo/framework/CVarSystem.h - File system
neo/framework/FileSystem.h - Session
neo/framework/Session.h - Network client
neo/framework/async/AsyncClient.cpp
Game runtime
- Game runtime
neo/d3xp/Game_local.h - Entities and player
neo/d3xp/Entity.cpp - AI navigation
neo/d3xp/ai/AAS_routing.cpp - Physics
neo/d3xp/physics/Physics.h - Game scripting
neo/d3xp/script/Script_Interpreter.cpp
Rendering and audio
- Render world
neo/renderer/RenderWorld.h - Model manager
neo/renderer/ModelManager.cpp - Materials
neo/renderer/Material.h - Sound system
neo/sound/sound.h
Content and tools
- Game declarations
neo/framework/DeclManager.cpp - Material editor
neo/tools/materialeditor/MaterialDocManager.cpp - Navigation compiler
neo/tools/compilers/aas/AASFileManager.cpp
Other components
- Player
Connections 20
- Player → Platform entry: launches
- Platform entry → Engine common: runs frames
neo/sys/linux/main.cpp - System services → Sound system: exposes service
neo/sys/sys_local.h - System services → Render world: exposes service
- Engine common → Settings and CVars: uses settings
neo/framework/Common.h - Game declarations → File system: loads content
neo/framework/DeclManager.cpp - Game declarations → Settings and CVars: reads settings
neo/framework/DeclManager.cpp - Game declarations → Materials: registers type
neo/framework/DeclManager.cpp - Game declarations → Sound system: registers type
neo/framework/DeclManager.cpp - Network client → Session: changes map
neo/framework/async/AsyncClient.cpp - Game runtime → Session: game interface
neo/d3xp/Game_local.h - Game runtime → Entities and player: manages entities
- Game runtime → AI navigation: uses navigation
neo/d3xp/Game_local.h - Game runtime → Physics: uses physics
neo/d3xp/Game_local.h - Game runtime → Game scripting: uses scripts
neo/d3xp/Game_local.h - Model manager → Render world: registers models
neo/renderer/ModelManager.cpp - Material editor → Materials: edits materials
- Navigation compiler → AI navigation: builds navigation data
- Game runtime → Render world: submits scene
- Game runtime → Sound system: emits audio