# earok/gloomamiga architecture

> Architecture diagram of the GitHub repository earok/gloomamiga, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/earok/gloomamiga
- Repository: https://github.com/earok/gloomamiga

## Overview

GloomAmiga is source and game data for Black Magic’s Amiga first-person shooter. The evident product workflow is a player using the game, with maps, object assets, graphics, and sound represented in the repository. The tree also contains assembly sources and a game executable. No source excerpts or README workflow details were provided, so the graph groups these components by their apparent product role but omits unverified runtime connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Game runtime"]
  node_game["Gloom executable"]
  node_game_source["Game source<br/>[gloom.s]"]
  node_display_source["Display source<br/>[display.s]"]
end

subgraph group_world["World content"]
  node_maps[("Level maps")]
  node_object_assets[("Game objects")]
  node_scripts["Game scripts"]
end

subgraph group_presentation["Visual assets"]
  node_textures[("Textures")]
  node_pictures[("Pictures")]
  node_fonts[("Fonts")]
end

subgraph group_audio["Sound assets"]
  node_sound_effects[("Sound effects")]
  node_music_source["Audio source<br/>[med.s]"]
end

node_player(("Player"))

click node_game "https://github.com/earok/gloomamiga/blob/master/gloom"
click node_game_source "https://github.com/earok/gloomamiga/blob/master/gloom.s"
click node_display_source "https://github.com/earok/gloomamiga/blob/master/display.s"
click node_maps "https://github.com/earok/gloomamiga/tree/master/maps"
click node_object_assets "https://github.com/earok/gloomamiga/tree/master/objs"
click node_scripts "https://github.com/earok/gloomamiga/blob/master/misc/script"
click node_textures "https://github.com/earok/gloomamiga/tree/master/txts"
click node_pictures "https://github.com/earok/gloomamiga/tree/master/pics"
click node_fonts "https://github.com/earok/gloomamiga/tree/master/fonts"
click node_sound_effects "https://github.com/earok/gloomamiga/tree/master/sfxs"
click node_music_source "https://github.com/earok/gloomamiga/blob/master/med.s"

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_game,node_game_source,node_display_source toneBlue
class node_maps,node_object_assets,node_scripts toneAmber
class node_textures,node_pictures,node_fonts toneMint
class node_sound_effects,node_music_source toneRose
class node_player toneIndigo
```

## Components

### Game runtime

- [Gloom executable](https://github.com/earok/gloomamiga/blob/master/gloom): `gloom`
- [Game source](https://github.com/earok/gloomamiga/blob/master/gloom.s): `gloom.s`
- [Display source](https://github.com/earok/gloomamiga/blob/master/display.s): `display.s`

### World content

- [Level maps](https://github.com/earok/gloomamiga/tree/master/maps): `maps`
- [Game objects](https://github.com/earok/gloomamiga/tree/master/objs): `objs`
- [Game scripts](https://github.com/earok/gloomamiga/blob/master/misc/script): `misc/script`

### Visual assets

- [Textures](https://github.com/earok/gloomamiga/tree/master/txts): `txts`
- [Pictures](https://github.com/earok/gloomamiga/tree/master/pics): `pics`
- [Fonts](https://github.com/earok/gloomamiga/tree/master/fonts): `fonts`

### Sound assets

- [Sound effects](https://github.com/earok/gloomamiga/tree/master/sfxs): `sfxs`
- [Audio source](https://github.com/earok/gloomamiga/blob/master/med.s): `med.s`

### Other components

- **Player**
