Skip to main content

Module dungeon

Module dungeon 

Source
Expand description

Procedural floor/dungeon generation for the Chaos RPG.

Provides full dungeon generation using BSP (Binary Space Partition), room population, enemy scaling, fog of war, minimap rendering, and floor progression across 100 floors of increasing difficulty and chaos.

Structs§

BaseStats
Base stats for an enemy before scaling.
BiomeProperties
Static properties for a biome.
DungeonCorridor
A corridor in the floor map.
DungeonManager
Top-level manager for dungeon exploration across multiple floors.
DungeonRoom
A room on the Chaos RPG floor.
EnemyScaler
Scales enemy stats based on floor depth and corruption.
EnemySpawn
An enemy to be spawned in a room.
Floor
A complete dungeon floor with map, fog, and metadata.
FloorConfig
Configuration for generating a single dungeon floor.
FloorGenerator
Generates complete dungeon floors using BSP subdivision.
FloorMap
The full tile map for a single floor.
FloorTheme
Defines the feel of each floor range.
FogOfWar
Fog of war tracking for a floor.
Minimap
Renders a compact minimap of the floor.
MinimapGlyph
A glyph for the minimap display.
RoomItem
An item placed in a room.
RoomPopulator
Populates rooms with enemies, items, and interactables based on type.
ScaledStats
Stats after floor/corruption scaling.
ThemePalette
Color palette hint for a theme.
TileProperties
Physical properties of a tile.

Enums§

CorridorStyle
How corridors are generated between rooms.
Element
Elemental affinity for tiles and attacks.
FloorBiome
Biome determines the visual theme, hazards, and ambient feel of a floor.
HazardType
Types of environmental hazards per biome.
RoomItemKind
Types of interactable items in rooms.
RoomShape
Shape of the room within its bounding rect.
RoomType
Room types in the Chaos RPG dungeon.
Tile
Extended tile types for the Chaos RPG floor map.
Visibility
Visibility state of a single tile.