How clovernoah/balloon_range works
BalloonRange is a native Windows first-person balloon-target training game. The main user workflow is to choose a preset and tune settings, play by moving and aiming at targets, then view the session result and recent history. The graph preserves documented settings, gameplay, rendering, audio, and persistence capabilities. Some source was not sampled; links without direct call evidence are omitted or marked dashed with null evidence.
Main entry points: app.cpp Game Application · render.cpp 3D and HUD Rendering · main.cpp Program Entry · input.cpp Input Handling
Components 17
Application Runtime
- Input Handling
src/input.cpp - Game Application
src/app.cpp - Program Entry
src/main.cpp
Training Gameplay
- Player
src/player.cpp - Balloon Pool
src/balloon.cpp - Range Scene
src/scene.cpp - Scoring
src/score.cpp - Game Effects
src/effect.cpp
Interface and Graphics
- HUD and Panels
src/hud.cpp - 3D and HUD Rendering
src/render.cpp - Generated Textures
src/texture.cpp
Settings and Records
- Presets and Parameters
src/config.cpp - Session History
src/history.cpp
Platform Services
- Synthesized Audio
src/audio.cpp - Math and Timing
src/core.cpp - PNG Output
src/png.cpp
Other components
- Player
Connections 20
- Player → Input Handling: provides input
README.md - Input Handling → Game Application: updates controls
- Program Entry → Game Application: starts and settles
src/main.cpp - Game Application → Presets and Parameters: uses parameters
- Game Application → Player: maintains player
- Game Application → Balloon Pool: maintains pool
- Game Application → Range Scene: maintains scene
- Game Application → Scoring: maintains score
- Game Application → Session History: maintains history
- Game Application → Game Effects: maintains effects
- Game Application → Synthesized Audio: maintains audio
- Game Application → 3D and HUD Rendering: renders frames
- Balloon Pool → Range Scene: uses field geometry
- 3D and HUD Rendering → HUD and Panels: draws interface
- 3D and HUD Rendering → Generated Textures: uses textures
- Player → Game Application: plays sessions
README.md - Game Application → Session History: records results
README.md - Game Application → Presets and Parameters: loads and saves
README.md - Program Entry → PNG Output: writes screenshots
src/main.cpp - Player → Math and Timing: uses math