How 4133947859823749823749834768970802/gdmania works
GD!Mania adds a rhythm lane to Geometry Dash when a replay matching the current level is available. The user places a supported replay in the mod’s Replays folder; the play-layer hook finds and loads it, parsing input events into replay data that the lane renders and updates against game time and button input. The README documents scroll speed, direction, and lane opacity settings; their implementation is not shown in the excerpts. Format parsers are grouped because they share a directory and are dispatched by the parser. Some internal relationships are omitted where source excerpts do not establish the call.
Main entry points: Lane.cpp Lane Renderer · PlayLayer.h Play Layer Hook · Replay.cpp Replay Matching · Storage.cpp Replay Folder
Components 14
Mod and Storage
- Mod Startup
src/main.cpp - Replay Folder
src/Storage/Storage.cpp
Replay Processing
- Replay Matching
src/Replay/Replay.cpp - Format Dispatch
src/Replay/Parser/Parser.h - Format Parsers
src/Replay/Parser/Formats - Replay Data
src/Replay/Replay.h
Rhythm Lane
- Lane Renderer
src/Overlay/Lane.cpp - Note Pool
src/Overlay/Pool/Pool.cpp - Note Visuals
src/Overlay/Object/Object.cpp - Lane Settings
src/Overlay/Lane.cpp
Game Integration
- Play Layer Hook
src/Hooks/PlayLayer.h
Other components
- Player
- Replay Files
- Geometry Dash
Connections 15
- Player → Replay Files: places replay
README.md - Mod Startup → Replay Folder: initializes
src/main.cpp - Replay Folder → Replay Files: creates folder
src/Storage/Storage.cpp - Replay Files → Replay Matching: provides matching file
README.md - Play Layer Hook → Replay Matching: finds and loads
src/Hooks/PlayLayer.h - Replay Matching → Format Dispatch: parses replay
src/Replay/Replay.cpp - Format Dispatch → Format Parsers: dispatches formats
src/Replay/Parser/Parser.h - Replay Matching → Replay Folder: uses replay folder
src/Replay/Replay.cpp - Play Layer Hook → Lane Renderer: creates and attaches
src/Hooks/PlayLayer.h - Lane Renderer → Replay Data: reads replay
- Lane Renderer → Note Pool: uses pool
- Note Pool → Note Visuals: manages objects
- Play Layer Hook → Lane Renderer: updates time and input
src/Hooks/PlayLayer.h - Play Layer Hook → Geometry Dash: hooks gameplay
src/Hooks/PlayLayer.h - Lane Settings → Lane Renderer: configures display
src/Overlay/Lane.cpp