# floyreq/impulse-universal-pc-game-trainer architecture

> Architecture diagram of the GitHub repository floyreq/impulse-universal-pc-game-trainer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/floyreq/impulse-universal-pc-game-trainer
- Repository: https://github.com/floyreq/impulse-universal-pc-game-trainer

## Overview

The repository’s implemented runtime is a small Windows hotkey loop: it polls Insert to toggle menu state and End to stop, then exits. The README also advertises scanning, overlay, input-smoothing, and profile features, which are represented as documented capabilities rather than verified implementations. The sampled C++ does not show those subsystems or a user-visible result beyond loop termination; README feature relationships are therefore kept distinct from the implemented path.

Main entry points: [`src/impulse_universal_pc_game_tr_core.cpp`](https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/src/impulse_universal_pc_game_tr_core.cpp) (Runtime Loop), [`src`](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src) (Offset Scanner)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime"]
  node_loop["Runtime Loop"]
  node_hotkeys["Hotkey Polling"]
end

subgraph group_features["Advertised Features"]
  node_scanner["Offset Scanner"]
  node_overlay["External Overlay"]
  node_render["Capture Exclusion"]
  node_smoothing["Input Smoothing"]
  node_profiles["JSON Profiles"]
  node_unload["Panic Unload"]
end

subgraph group_config["Configuration"]
  node_config_values["Runtime Defaults"]
end

node_user(("User"))
node_windows["Windows Input API"]

node_user -->|"launches"| node_loop
node_loop -->|"polls"| node_hotkeys
node_hotkeys -->|"reads keys"| node_windows
node_user -.->|"presses End"| node_unload
node_loop -.->|"advertises"| node_scanner
node_loop -.->|"advertises"| node_overlay
node_loop -.->|"advertises"| node_render
node_loop -.->|"advertises"| node_smoothing
node_loop -.->|"advertises"| node_profiles

click node_loop "https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/src/impulse_universal_pc_game_tr_core.cpp"
click node_hotkeys "https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/src/impulse_universal_pc_game_tr_core.cpp"
click node_config_values "https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/include/impulse_universal_pc_game_tr_runtime.hpp"
click node_scanner "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"
click node_overlay "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"
click node_render "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"
click node_smoothing "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"
click node_profiles "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"
click node_unload "https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_loop,node_hotkeys,node_user toneBlue
class node_scanner,node_overlay,node_render,node_smoothing,node_profiles,node_unload toneAmber
class node_config_values,node_windows toneMint
```

## Components

### Runtime

- [Runtime Loop](https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/src/impulse_universal_pc_game_tr_core.cpp): `src/impulse_universal_pc_game_tr_core.cpp`
- [Hotkey Polling](https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/src/impulse_universal_pc_game_tr_core.cpp): `src/impulse_universal_pc_game_tr_core.cpp`

### Advertised Features

- [Offset Scanner](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`
- [External Overlay](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`
- [Capture Exclusion](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`
- [Input Smoothing](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`
- [JSON Profiles](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`
- [Panic Unload](https://github.com/floyreq/impulse-universal-pc-game-trainer/tree/main/src): `src`

### Configuration

- [Runtime Defaults](https://github.com/floyreq/impulse-universal-pc-game-trainer/blob/main/include/impulse_universal_pc_game_tr_runtime.hpp): `include/impulse_universal_pc_game_tr_runtime.hpp`

### Other components

- **User**
- **Windows Input API**

## Connections

- User → Runtime Loop: launches (evidence: `README.md`)
- Runtime Loop → Hotkey Polling: polls (evidence: `src/impulse_universal_pc_game_tr_core.cpp`)
- Hotkey Polling → Windows Input API: reads keys (evidence: `src/impulse_universal_pc_game_tr_core.cpp`)
- User → Panic Unload: presses End (evidence: `README.md`)
- Runtime Loop → Offset Scanner: advertises (evidence: `README.md`)
- Runtime Loop → External Overlay: advertises (evidence: `README.md`)
- Runtime Loop → Capture Exclusion: advertises (evidence: `README.md`)
- Runtime Loop → Input Smoothing: advertises (evidence: `README.md`)
- Runtime Loop → JSON Profiles: advertises (evidence: `README.md`)
