How doqin/dx9gf works
This is a DirectX 9 game framework: a game runs through the application and scene abstractions, with input, rendering, audio, and optional game-object facilities supporting runtime behavior. The tree also bundles Taskflow, tmxlite, and nlohmann/json headers. The README describes the framework and demo at a high level but not their detailed runtime wiring; several core implementations were not sampled, so only directly supported relationships are shown.
Main entry points: pipeline.hpp Task pipelines · taskflow.hpp Taskflow API · DX9GFApplication.cpp Application · DX9GFSceneManager.cpp Scene manager
Components 25
Framework runtime
- Application
core/DX9GFApplication.cpp - Game interface
core/DX9GFIGame.h - Scene manager
core/DX9GFSceneManager.cpp - Scene interface
core/DX9GFIScene.h - Audio manager
core/DX9GFAudioManager.cpp
Graphics and input
- Input manager
core/DX9GFInputManager.cpp - Graphics device
core/DX9GFGraphicsDevice.cpp - Sprites and fonts
core/DX9GFSprites.cpp - Camera
core/DX9GFCamera.cpp - Texture
core/DX9GFTexture.cpp
Game extras
- Collider manager
core/DX9GFExtras/DX9GFColliderManager.cpp - Collider types
core/DX9GFExtras/DX9GFICollider.cpp - Transform manager
core/DX9GFExtras/DX9GFTransformManager.cpp - Game objects
core/DX9GFExtras/DX9GFIGameObject.cpp - Command system
core/DX9GFExtras/DX9GFCommandBuffer.cpp - Maps and layers
core/DX9GFExtras/DX9GFMap.cpp - Particle system
core/DX9GFExtras/DX9GFParticleSystem.cpp - Save manager
core/DX9GFExtras/DX9GFSaveManager.cpp
Bundled libraries
- Taskflow API
includes/taskflow/taskflow.hpp - Task executor
includes/taskflow/core/executor.hpp - Task pipelines
includes/taskflow/algorithm/pipeline.hpp - Data pipelines
includes/taskflow/algorithm/data_pipeline.hpp - TMX map types
includes/tmxlite/Map.hpp - JSON library
includes/nlohmann/json.hpp
Other components
- Game developer
Connections 12
- Game developer → Application: implements game with
- Application → Game interface: uses interface
- Scene manager → Scene interface: manages scenes
core/DX9GFSceneManager.cpp - Scene manager → Application: references application
core/DX9GFSceneManager.cpp - Input manager → Sprites and fonts: draws cursor
core/DX9GFInputManager.cpp - Input manager → Camera: converts coordinates
core/DX9GFInputManager.cpp - Collider manager → Collider types: uses colliders
- Taskflow API → Task executor: includes
includes/taskflow/taskflow.hpp - Taskflow API → Task pipelines: exposes algorithms
includes/taskflow/taskflow.hpp - Task pipelines → Taskflow API: builds task graph
includes/taskflow/algorithm/pipeline.hpp - Data pipelines → Task pipelines: uses pipeline types
includes/taskflow/algorithm/data_pipeline.hpp - Task pipelines → Task executor: runs taskflow
includes/taskflow/algorithm/pipeline.hpp