How jj0o0/slendermantheeightglstates works
This repository is a C++ OpenGL game application. Its visible runtime entry point initializes the window and debug UI, initializes the game, and runs an event/update/render loop. The tree indicates distinct gameplay, world, asset-loading, and graphics subsystems; the excerpts provide concrete links for application startup and model/tree creation. Many gameplay and rendering internals are unsampled, and the README is empty, so their connections are not inferred.
Main entry points: application.cpp Application Loop · tree_spawner.cpp Tree Spawner · model_loader.cpp Model Loader · game.cpp Game
Components 23
Application Runtime
- Program Entry
src/main.cpp - Application Loop
src/application.cpp
Gameplay and World
- Game
src/game.cpp - World
src/world.cpp - Player Controls
src/playable/player.cpp - Camera
src/playable/camera.cpp - Entities
src/playable/entity.cpp - Tree Spawner
src/playable/tree_spawner.cpp
Graphics and Assets
- Game Renderer
src/graphics/game_renderer.cpp - Model Loader
src/graphics/model_loader.cpp - PBR Materials
src/graphics/materials/pbr_material.cpp - Animation Clips
src/graphics/animation/animation_clip.cpp - Shadow Rendering
src/graphics/shadow_renderer.cpp - Skybox Rendering
src/graphics/skybox_renderer.cpp - Debug UI
src/graphics/ui/debug_ui.cpp
Platform Services
- Window
src/platform/window.cpp - Configuration
src/platform/config_file.cpp - System Info
src/platform/system_info.cpp - Asset Cache
include/platform/asset_manager.hpp
Embedded Libraries
- Dialog API
external/tinyfiledialogs/tinyfiledialogs.h - Dialog Implementation
src/external/tinyfiledialogs.c - Image Loader
external/stb/stb_image.h
Other components
- Player
Connections 15
- Player → Application Loop: starts
- Program Entry → Application Loop: runs
src/main.cpp - Application Loop → Configuration: loads
src/application.cpp - Application Loop → Window: initializes
src/application.cpp - Application Loop → System Info: initializes
src/application.cpp - Application Loop → Debug UI: initializes
src/application.cpp - Application Loop → Game: initializes
src/application.cpp - Application Loop → Game: updates
src/application.cpp - Application Loop → Game: renders
src/application.cpp - Application Loop → Debug UI: frames
src/application.cpp - Tree Spawner → Model Loader: loads species
src/playable/tree_spawner.cpp - Tree Spawner → World: creates entities
src/playable/tree_spawner.cpp - Tree Spawner → Game Renderer: adds batches
src/playable/tree_spawner.cpp - Model Loader → World: creates entities
src/graphics/model_loader.cpp - Model Loader → Asset Cache: caches assets
src/graphics/model_loader.cpp