The gamebox-dgen Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The gamebox-dgen Reference Manual

This is the gamebox-dgen Reference Manual, version 1.0.0, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:48:46 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

gamebox-dgen

A procedural dungeon generation library.

Example

Overview

This library can be used to generate a random dungeon for use in game development.

Install

(ql:quickload :gamebox-dgen)

Usage

If you just want to generate the map data:

(box.dgen:make-stage)

If you want to preview the generated map, drawing it with unicode characters in your REPL:

(box.dgen:print-stage (box.dgen:make-stage))

The result will look something like this:

Example

MAKE-STAGE takes several optional arguments to influence the generator.

:SEED specifies the random seed integer to use. This makes it possible to regenerate the same dungeon at a later time. If this is not specified, it will be chosen randomly.

:WIDTH specifies the width of the stage in cells.

:HEIGHT specifies the height of the stage in cells.

:CORRIDOR-WINDINESS specifies how windy corridors will be, as a range from 0.0 to 1.0. This has minimal effect for densely packed rooms - see :ROOM-DENSITY below to control this. Default value is 0.0.

:ROOM-DENSITY specifies how densely rooms should be packed in the stage, as a range from 0.1 (10%) to 1.0 (100%). Note: This is only an estimation. Default value is 0.65.

:ROOM-SIZE-MIN specifies the minimum size in cells the width or height of a room is allowed to be, within the range 3 to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 3.

:ROOM-SIZE-MAX specifies the maximum size in cells the width or height of a room is allowed to be, within the range ROOM-SIZE-MIN to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 11.

:DOOR-RATE specified the percentage of junctions that should be doors, as a range from 0.0 to 1.0. A junction is an intersection between a room and a corridor. Default value is 0.5.

All of the data you need to render a map is located in the GRID slot of the returned stage data object. This is an array of CELL objects, each having the following slots:

X: The X location in the map.

Y: The Y location in the map.

CARVED: Determines whether this cell is ground that can be walked upon.

REGION-ID: An integer representing the region. A region is a group of adjacent cells. Each room's cells are of the same REGION-ID. Likewise, a corridor between two rooms (or more, in the case of branching) is of the same REGION-ID. You can think of a REGION-ID as belonging to a set of cells as if it was flood-filled, stopping at junctions (what this library calls doors or whatever your game may define them as).

FEATURES: A list of symbols identifying a special cell property, if any. Currently, this can be one or more of the following:

License

Copyright © 2015-2018 Michael Fiano.

Licensed under the MIT License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 gamebox-dgen

Maintainer

Michael Fiano <mail@michaelfiano.com>

Author

Michael Fiano <mail@michaelfiano.com>

Home Page

https://www.michaelfiano.com/projects/gamebox-dgen

Source Control

(:git "git@github.com:mfiano/gamebox-dgen.git")

Bug Tracker

https://github.com/mfiano/gamebox-dgen/issues

License

MIT

Description

A procedural dungeon generator.

Long Description

# gamebox-dgen

A procedural dungeon generation library.

![Example](https://files.lispcoder.net/images/projects/gamebox-dgen/example1.png)

## Overview

This library can be used to generate a random dungeon for use in game development.

## Install

“‘ lisp
(ql:quickload :gamebox-dgen)
“‘

## Usage

If you just want to generate the map data:

“‘ lisp
(box.dgen:make-stage)
“‘

If you want to preview the generated map, drawing it with unicode characters in your REPL:

“‘ lisp
(box.dgen:print-stage (box.dgen:make-stage))
“‘

The result will look something like this:

![Example](https://files.lispcoder.net/images/projects/gamebox-dgen/example2.png)

‘MAKE-STAGE‘ takes several optional arguments to influence the generator.

‘:SEED‘ specifies the random seed integer to use. This makes it possible to regenerate the same dungeon at a later time. If this is not specified, it will be chosen randomly.

‘:WIDTH‘ specifies the width of the stage in cells.

‘:HEIGHT‘ specifies the height of the stage in cells.

‘:CORRIDOR-WINDINESS‘ specifies how windy corridors will be, as a range from 0.0 to 1.0. This has minimal effect for densely packed rooms - see ‘:ROOM-DENSITY‘ below to control this. Default value is 0.0.

‘:ROOM-DENSITY‘ specifies how densely rooms should be packed in the stage, as a range from 0.1 (10%) to 1.0 (100%). Note: This is only an estimation. Default value is 0.65.

‘:ROOM-SIZE-MIN‘ specifies the minimum size in cells the width or height of a room is allowed to be, within the range 3 to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 3.

‘:ROOM-SIZE-MAX‘ specifies the maximum size in cells the width or height of a room is allowed to be, within the range ‘ROOM-SIZE-MIN‘ to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 11.

‘:DOOR-RATE‘ specified the percentage of junctions that should be doors, as a range from 0.0 to 1.0. A junction is an intersection between a room and a corridor. Default value is 0.5.

All of the data you need to render a map is located in the ‘GRID‘ slot of the returned stage data object. This is an array of ‘CELL‘ objects, each having the following slots:

‘X‘: The X location in the map.

‘Y‘: The Y location in the map.

‘CARVED‘: Determines whether this cell is ground that can be walked upon.

‘REGION-ID‘: An integer representing the region. A region is a group of adjacent cells. Each room’s cells are of the same ‘REGION-ID‘. Likewise, a corridor between two rooms (or more, in the case of branching) is of the same ‘REGION-ID‘. You can think of a ‘REGION-ID‘ as belonging to a set of cells as if it was flood-filled, stopping at junctions (what this library calls doors or whatever your game may define them as).

‘FEATURES‘: A list of symbols identifying a special cell property, if any. Currently, this can be one or more of the following:

* ‘:JUNCTION‘: The cell joins 2 unique regions.
* ‘:DOOR‘: A junction has a chance of becoming a door.
* ‘:STAIRS-UP‘: The cell with an entrance staircase.
* ‘:STAIRS-DOWN‘: The cell with an exit staircase.
* ‘:ROOM‘: The cell is part of a room.
* ‘:CORRIDOR‘: The cell is part of a corridor.
* ‘:WALL‘: The cell is part of a wall.

## License

Copyright © 2015-2018 [Michael Fiano](mailto:mail@michaelfiano.com).

Licensed under the MIT License.

Version

1.0.0

Dependencies
Source

gamebox-dgen.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 gamebox-dgen.asd

Location

/home/quickref/quicklisp/dists/quicklisp/software/gamebox-dgen-20180430-git/gamebox-dgen.asd

Systems

gamebox-dgen (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 gamebox-dgen/package.lisp

Parent

gamebox-dgen (system)

Location

package.lisp

Packages

box.dgen


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 gamebox-dgen/neighborhood.lisp

Dependency

package.lisp (file)

Parent

gamebox-dgen (system)

Location

neighborhood.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 gamebox-dgen/region.lisp

Dependency

neighborhood.lisp (file)

Parent

gamebox-dgen (system)

Location

region.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 gamebox-dgen/stage.lisp

Dependency

region.lisp (file)

Parent

gamebox-dgen (system)

Location

stage.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 gamebox-dgen/cell.lisp

Dependency

stage.lisp (file)

Parent

gamebox-dgen (system)

Location

cell.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 gamebox-dgen/graph.lisp

Dependency

cell.lisp (file)

Parent

gamebox-dgen (system)

Location

graph.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 gamebox-dgen/corridor.lisp

Dependency

graph.lisp (file)

Parent

gamebox-dgen (system)

Location

corridor.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 gamebox-dgen/room.lisp

Dependency

corridor.lisp (file)

Parent

gamebox-dgen (system)

Location

room.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 gamebox-dgen/junction.lisp

Dependency

room.lisp (file)

Parent

gamebox-dgen (system)

Location

junction.lisp

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.11 gamebox-dgen/stairs.lisp

Dependency

junction.lisp (file)

Parent

gamebox-dgen (system)

Location

stairs.lisp

Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 box.dgen

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: cell STAGE X Y

Get a cell in STAGE using the coordinates X and Y.

Package

box.dgen

Source

cell.lisp (file)

Writer

(setf cell) (function)

Function: (setf cell) VALUE STAGE X Y

Set a cell in STAGE to VALUE at the coordinates given by X and Y.

Package

box.dgen

Source

cell.lisp (file)

Reader

cell (function)

Function: cell-index STAGE CELL

Get the cell index in STAGE, given the cell object, CELL.

Package

box.dgen

Source

cell.lisp (file)

Function: make-stage &rest ATTRS

Generate the stage.

Accepts several optional arguments to influence the generator:

:SEED specifies the random seed integer to use. This makes it possible to regenerate the same dungeon at a later time. If this is not specified, it will be chosen randomly.

:WIDTH specifies the width of the stage in cells.

:HEIGHT specifies the height of the stage in cells.

:CORRIDOR-WINDINESS specifies how windy corridors will be, as a range from 0.0 to 1.0. This has minimal effect for densely packed rooms - see :ROOM-DENSITY below to control this. Default value is 0.0.

:ROOM-DENSITY specifies how densely rooms should be packed in the stage, as a range from 0.1 (10%) to 1.0 (100%). Note: This is only an estimation. Default value is 0.65.

:ROOM-SIZE-MIN specifies the minimum size in cells the width or height of a room is allowed to be, within the range 3 to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 3.

:ROOM-SIZE-MAX specifies the maximum size in cells the width or height of a room is allowed to be, within the range ROOM-SIZE-MIN to 99. Note: This should be supplied as an odd integer value, else it will be incremented by 1. Default value is 11.

:DOOR-RATE specified the percentage of junctions that should be doors, as a range from 0.0 to 1.0. A junction is an intersection between a room and a corridor. Default value is 0.5.

Package

box.dgen

Source

stage.lisp (file)

Function: print-stage STAGE

Print the generated stage using Unicode line drawing characters.

Package

box.dgen

Source

stage.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Generic functions

Generic Function: carved OBJECT
Generic Function: (setf carved) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: carved (CELL cell)

automatically generated reader method

Source

cell.lisp (file)

Method: (setf carved) NEW-VALUE (CELL cell)

automatically generated writer method

Source

cell.lisp (file)

Generic Function: grid OBJECT
Package

box.dgen

Methods
Method: grid (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: height OBJECT
Package

box.dgen

Methods
Method: height (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)

Method: height (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: region-id OBJECT
Generic Function: (setf region-id) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: region-id (CELL cell)

automatically generated reader method

Source

cell.lisp (file)

Method: (setf region-id) NEW-VALUE (CELL cell)

automatically generated writer method

Source

cell.lisp (file)

Generic Function: seed OBJECT
Package

box.dgen

Methods
Method: seed (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: width OBJECT
Package

box.dgen

Methods
Method: width (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)

Method: width (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: x OBJECT
Package

box.dgen

Methods
Method: x (CELL cell)

automatically generated reader method

Source

cell.lisp (file)

Generic Function: y OBJECT
Package

box.dgen

Methods
Method: y (CELL cell)

automatically generated reader method

Source

cell.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Classes

Class: cell ()

A cell represents a single unit in the stage grid which can contain various features.

Package

box.dgen

Source

cell.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • print-object (method)
  • distance (method)
  • distance (method)
  • features (method)
  • features (method)
  • region-id (method)
  • region-id (method)
  • carved (method)
  • carved (method)
  • y (method)
  • x (method)
Direct slots
Slot: %x
Initargs

:x

Readers

x (generic function)

Slot: %y
Initargs

:y

Readers

y (generic function)

Slot: %carved
Readers

carved (generic function)

Writers

(setf carved) (generic function)

Slot: %region-id
Readers

region-id (generic function)

Writers

(setf region-id) (generic function)

Slot: %features
Initform

(quote (:wall))

Readers

features (generic function)

Writers

(setf features) (generic function)

Slot: %distance
Initform

-1

Readers

distance (generic function)

Writers

(setf distance) (generic function)

Class: stage ()

A stage represents the generated grid of cells and the data used to render it.

Package

box.dgen

Source

stage.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %width
Initargs

:width

Initform

49

Readers

width (generic function)

Slot: %height
Initargs

:height

Initform

49

Readers

height (generic function)

Slot: %grid
Readers

grid (generic function)

Slot: %generator
Readers
Writers

(setf %generator) (generic function)

Slot: %seed
Initargs

:seed

Initform

(genie:make-seed)

Readers

seed (generic function)

Slot: %regions
Initform

(make-hash-table)

Readers

regions (generic function)

Writers

(setf regions) (generic function)

Slot: %graphs
Readers
Writers

(setf %graphs) (generic function)

Slot: %corridor-windiness
Initargs

:corridor-windiness

Initform

0

Readers

corridor-windiness (generic function)

Writers

(setf corridor-windiness) (generic function)

Slot: %room-size-min
Initargs

:room-size-min

Initform

3

Readers

room-size-min (generic function)

Slot: %room-size-max
Initargs

:room-size-max

Initform

11

Readers

room-size-max (generic function)

Slot: %room-density
Initargs

:room-density

Initform

0.65

Readers

room-density (generic function)

Slot: %door-rate
Initargs

:door-rate

Initform

0.5

Readers

door-rate (generic function)

Slot: %hollow-walls
Initargs

:hollow-walls

Readers

hollow-walls (generic function)

Slot: %rooms
Readers

stage-rooms (generic function)

Writers

(setf stage-rooms) (generic function)

Slot: %dead-ends
Readers

dead-ends (generic function)

Writers

(setf dead-ends) (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *region*
Package

box.dgen

Source

region.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: nmap-short NH FUNC REDUCE &key TEST RETURN-VAL
Package

box.dgen

Source

neighborhood.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: %make-graphs &key (CONNECTABLE CONNECTABLE) (MST MST) (FINAL FINAL)
Package

box.dgen

Source

graph.lisp (file)

Function: %make-nh &key (STAGE STAGE) (X X) (Y Y) (EXTENT EXTENT) (SET-FN SET-FN) (MAP-FN MAP-FN)
Package

box.dgen

Source

neighborhood.lisp (file)

Function: %make-region ID
Package

box.dgen

Source

region.lisp (file)

Function: add-feature CELL FEATURE
Package

box.dgen

Source

cell.lisp (file)

Function: add-rooms STAGE
Package

box.dgen

Source

room.lisp (file)

Function: adjacent-junction-p STAGE CELL
Package

box.dgen

Source

junction.lisp (file)

Function: build STAGE
Package

box.dgen

Source

stage.lisp (file)

Function: carve STAGE CELL &key REGION-ID FEATURE
Package

box.dgen

Source

cell.lisp (file)

Function: carve-corridor STAGE NH
Package

box.dgen

Source

corridor.lisp (file)

Function: carve-direction STAGE ORIGIN CELLS
Package

box.dgen

Source

corridor.lisp (file)

Function: carve-loops STAGE CONNECTIONS
Package

box.dgen

Source

junction.lisp (file)

Function: carve-tree STAGE CONNECTIONS
Package

box.dgen

Source

junction.lisp (file)

Function: cell-nh STAGE CELL LAYOUT
Package

box.dgen

Source

neighborhood.lisp (file)

Function: cells INSTANCE
Function: (setf cells) VALUE INSTANCE
Package

box.dgen

Source

region.lisp (file)

Function: choose-downstairs STAGE REGION-ID
Package

box.dgen

Source

stairs.lisp (file)

Function: choose-uncarved STAGE NH
Package

box.dgen

Source

corridor.lisp (file)

Function: choose-upstairs STAGE
Package

box.dgen

Source

stairs.lisp (file)

Function: collect STAGE LAYOUT FILTER &rest ARGS &key X1 X2 Y1 Y2
Package

box.dgen

Source

neighborhood.lisp (file)

Function: connect CONNECTIONS
Package

box.dgen

Source

junction.lisp (file)

Function: connect-regions STAGE
Package

box.dgen

Source

junction.lisp (file)

Function: connectable INSTANCE
Function: (setf connectable) VALUE INSTANCE
Package

box.dgen

Source

graph.lisp (file)

Function: connectable-edges CONNECTIONS
Package

box.dgen

Source

graph.lisp (file)

Function: connectable-nodes ()
Package

box.dgen

Source

graph.lisp (file)

Function: convolve STAGE LAYOUT FILTER EFFECT &key X1 X2 Y1 Y2
Package

box.dgen

Source

neighborhood.lisp (file)

Function: convolve-all STAGE EFFECT
Package

box.dgen

Source

neighborhood.lisp (file)

Function: copy-extent INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: copy-graphs INSTANCE
Package

box.dgen

Source

graph.lisp (file)

Function: copy-nh INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: copy-region INSTANCE
Package

box.dgen

Source

region.lisp (file)

Function: create-corridors STAGE
Package

box.dgen

Source

corridor.lisp (file)

Function: create-stairs STAGE
Package

box.dgen

Source

stairs.lisp (file)

Function: e NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: ensure-dimensions STAGE
Package

box.dgen

Source

stage.lisp (file)

Function: erode-dead-ends STAGE
Package

box.dgen

Source

corridor.lisp (file)

Function: erode-walls STAGE
Package

box.dgen

Source

corridor.lisp (file)

Function: estimate-rooms STAGE
Package

box.dgen

Source

room.lisp (file)

Function: extent-maximum INSTANCE
Function: (setf extent-maximum) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: extent-minimum INSTANCE
Function: (setf extent-minimum) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: extent-p OBJECT
Package

box.dgen

Source

neighborhood.lisp (file)

Function: featuresp CELL &rest FEATURES
Package

box.dgen

Source

cell.lisp (file)

Function: filter-carvable STAGE NH
Package

box.dgen

Source

corridor.lisp (file)

Function: filter-connectable STAGE NH
Package

box.dgen

Source

junction.lisp (file)

Function: filter-dead-end STAGE NH
Package

box.dgen

Source

corridor.lisp (file)

Function: final INSTANCE
Function: (setf final) VALUE INSTANCE
Package

box.dgen

Source

graph.lisp (file)

Function: get-graph STAGE TYPE
Package

box.dgen

Source

graph.lisp (file)

Function: get-region STAGE ID
Package

box.dgen

Source

region.lisp (file)

Function: graphs-p OBJECT
Package

box.dgen

Source

graph.lisp (file)

Function: id INSTANCE
Function: (setf id) VALUE INSTANCE
Package

box.dgen

Source

region.lisp (file)

Function: make-cell STAGE X Y
Package

box.dgen

Source

cell.lisp (file)

Function: make-connectable CONNECTIONS
Package

box.dgen

Source

graph.lisp (file)

Function: make-downstairs STAGE SOURCE
Package

box.dgen

Source

stairs.lisp (file)

Function: make-extent &key (MINIMUM MINIMUM) (MAXIMUM MAXIMUM)
Package

box.dgen

Source

neighborhood.lisp (file)

Function: make-graphs STAGE CONNECTIONS
Package

box.dgen

Source

graph.lisp (file)

Function: make-grid STAGE
Package

box.dgen

Source

stage.lisp (file)

Function: make-junction STAGE CELL
Package

box.dgen

Source

junction.lisp (file)

Function: make-mst STAGE CONNECTABLE
Package

box.dgen

Source

graph.lisp (file)

Function: make-nh SET-FN MAP-FN EXTENT-ARGS
Package

box.dgen

Source

neighborhood.lisp (file)

Function: make-region STAGE
Package

box.dgen

Source

region.lisp (file)

Function: make-rng STAGE
Package

box.dgen

Source

stage.lisp (file)

Function: make-room STAGE
Package

box.dgen

Source

room.lisp (file)

Function: make-upstairs STAGE
Package

box.dgen

Source

stairs.lisp (file)

Function: mst INSTANCE
Function: (setf mst) VALUE INSTANCE
Package

box.dgen

Source

graph.lisp (file)

Function: n NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: ne NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nfilter NH FILTER
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-extent INSTANCE
Function: (setf nh-extent) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-map-fn INSTANCE
Function: (setf nh-map-fn) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-p OBJECT
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-realize NH-GENERATOR STAGE X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-set-fn INSTANCE
Function: (setf nh-set-fn) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-stage INSTANCE
Function: (setf nh-stage) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-x INSTANCE
Function: (setf nh-x) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nh-y INSTANCE
Function: (setf nh-y) VALUE INSTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap NH FUNC &rest ARGS
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap-default NH FUNC
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap-horizontal NH FUNC
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap-orthogonal NH FUNC
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap-rect NH FUNC
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nmap-vertical NH FUNC
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nref NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nset-default NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nset-horizontal NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nset-orthogonal NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nset-rect NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nset-vertical NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nsetp NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: nw NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: origin NH
Package

box.dgen

Source

neighborhood.lisp (file)

Function: pick-cell STAGE CELLS
Package

box.dgen

Source

corridor.lisp (file)

Function: place-room STAGE ROOM
Package

box.dgen

Source

room.lisp (file)

Function: process STAGE LAYOUT FILTER PROCESSOR &key ITEMS NH-GENERATOR
Package

box.dgen

Source

neighborhood.lisp (file)

Function: region-p OBJECT
Package

box.dgen

Source

region.lisp (file)

Function: regions-distinct-p N1 N2
Package

box.dgen

Source

region.lisp (file)

Function: remove-feature CELL FEATURE
Package

box.dgen

Source

cell.lisp (file)

Function: s NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: se NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: stage-border-p STAGE CELL
Package

box.dgen

Source

cell.lisp (file)

Function: stage-coords NH X Y
Package

box.dgen

Source

neighborhood.lisp (file)

Function: staircase-suitable-p STAGE NH
Package

box.dgen

Source

stairs.lisp (file)

Function: sw NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)

Function: uncarve STAGE CELL
Package

box.dgen

Source

cell.lisp (file)

Function: uncarve-dead-end STAGE NH
Package

box.dgen

Source

corridor.lisp (file)

Function: valid-cell-p STAGE X Y
Package

box.dgen

Source

cell.lisp (file)

Function: validate STAGE
Package

box.dgen

Source

stage.lisp (file)

Function: w NH &optional DISTANCE
Package

box.dgen

Source

neighborhood.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Generic functions

Generic Function: %generator OBJECT
Generic Function: (setf %generator) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: %generator (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf %generator) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: %graphs OBJECT
Generic Function: (setf %graphs) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: %graphs (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf %graphs) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: corridor-windiness OBJECT
Generic Function: (setf corridor-windiness) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: corridor-windiness (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf corridor-windiness) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: dead-ends OBJECT
Generic Function: (setf dead-ends) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: dead-ends (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf dead-ends) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: distance OBJECT
Generic Function: (setf distance) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: distance (CELL cell)

automatically generated reader method

Source

cell.lisp (file)

Method: (setf distance) NEW-VALUE (CELL cell)

automatically generated writer method

Source

cell.lisp (file)

Generic Function: door-rate OBJECT
Package

box.dgen

Methods
Method: door-rate (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: features OBJECT
Generic Function: (setf features) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: features (CELL cell)

automatically generated reader method

Source

cell.lisp (file)

Method: (setf features) NEW-VALUE (CELL cell)

automatically generated writer method

Source

cell.lisp (file)

Generic Function: generator OBJECT
Package

box.dgen

Methods
Method: generator (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: graphs OBJECT
Package

box.dgen

Methods
Method: graphs (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: hollow-walls OBJECT
Package

box.dgen

Methods
Method: hollow-walls (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: intersectsp SOURCE TARGET
Package

box.dgen

Source

room.lisp (file)

Methods
Method: intersectsp (SOURCE stage-room) (TARGET stage)
Method: intersectsp (SOURCE stage-room) (TARGET stage-room)
Generic Function: layout NAME &rest EXTENT-ARGS
Package

box.dgen

Source

neighborhood.lisp (file)

Methods
Method: layout (NAME (eql rect)) &rest EXTENT-ARGS
Method: layout (NAME (eql orthogonal)) &rest EXTENT-ARGS
Method: layout (NAME (eql vertical)) &rest EXTENT-ARGS
Method: layout (NAME (eql horizontal)) &rest EXTENT-ARGS
Generic Function: regions OBJECT
Generic Function: (setf regions) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: regions (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf regions) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: room-density OBJECT
Package

box.dgen

Methods
Method: room-density (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: room-size-max OBJECT
Package

box.dgen

Methods
Method: room-size-max (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: room-size-min OBJECT
Package

box.dgen

Methods
Method: room-size-min (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Generic Function: stage-rooms OBJECT
Generic Function: (setf stage-rooms) NEW-VALUE OBJECT
Package

box.dgen

Methods
Method: stage-rooms (STAGE stage)

automatically generated reader method

Source

stage.lisp (file)

Method: (setf stage-rooms) NEW-VALUE (STAGE stage)

automatically generated writer method

Source

stage.lisp (file)

Generic Function: x1 OBJECT
Package

box.dgen

Methods
Method: x1 (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)

Generic Function: x2 OBJECT
Package

box.dgen

Methods
Method: x2 (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)

Generic Function: y1 OBJECT
Package

box.dgen

Methods
Method: y1 (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)

Generic Function: y2 OBJECT
Package

box.dgen

Methods
Method: y2 (STAGE-ROOM stage-room)

automatically generated reader method

Source

room.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Structures

Structure: extent ()
Package

box.dgen

Source

neighborhood.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: minimum
Initform

0

Readers

extent-minimum (function)

Writers

(setf extent-minimum) (function)

Slot: maximum
Initform

1

Readers

extent-maximum (function)

Writers

(setf extent-maximum) (function)

Structure: graphs ()
Package

box.dgen

Source

graph.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: connectable
Readers

connectable (function)

Writers

(setf connectable) (function)

Slot: mst
Readers

mst (function)

Writers

(setf mst) (function)

Slot: final
Readers

final (function)

Writers

(setf final) (function)

Structure: nh ()
Package

box.dgen

Source

neighborhood.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: stage
Readers

nh-stage (function)

Writers

(setf nh-stage) (function)

Slot: x
Readers

nh-x (function)

Writers

(setf nh-x) (function)

Slot: y
Readers

nh-y (function)

Writers

(setf nh-y) (function)

Slot: extent
Initform

(box.dgen::make-extent)

Readers

nh-extent (function)

Writers

(setf nh-extent) (function)

Slot: set-fn
Initform

(function box.dgen::nset-default)

Readers

nh-set-fn (function)

Writers

(setf nh-set-fn) (function)

Slot: map-fn
Initform

(function box.dgen::nmap-default)

Readers

nh-map-fn (function)

Writers

(setf nh-map-fn) (function)

Structure: region ()
Package

box.dgen

Source

region.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: id
Readers

id (function)

Writers

(setf id) (function)

Slot: cells
Readers

cells (function)

Writers

(setf cells) (function)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Classes

Class: stage-room ()
Package

box.dgen

Source

room.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: %x1
Initargs

:x1

Readers

x1 (generic function)

Slot: %x2
Initargs

:x2

Readers

x2 (generic function)

Slot: %y1
Initargs

:y1

Readers

y1 (generic function)

Slot: %y2
Initargs

:y2

Readers

y2 (generic function)

Slot: %width
Initargs

:w

Readers

width (generic function)

Slot: %height
Initargs

:h

Readers

height (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   G   L  
Index Entry  Section

F
File, Lisp, gamebox-dgen.asd: The gamebox-dgen<dot>asd file
File, Lisp, gamebox-dgen/cell.lisp: The gamebox-dgen/cell<dot>lisp file
File, Lisp, gamebox-dgen/corridor.lisp: The gamebox-dgen/corridor<dot>lisp file
File, Lisp, gamebox-dgen/graph.lisp: The gamebox-dgen/graph<dot>lisp file
File, Lisp, gamebox-dgen/junction.lisp: The gamebox-dgen/junction<dot>lisp file
File, Lisp, gamebox-dgen/neighborhood.lisp: The gamebox-dgen/neighborhood<dot>lisp file
File, Lisp, gamebox-dgen/package.lisp: The gamebox-dgen/package<dot>lisp file
File, Lisp, gamebox-dgen/region.lisp: The gamebox-dgen/region<dot>lisp file
File, Lisp, gamebox-dgen/room.lisp: The gamebox-dgen/room<dot>lisp file
File, Lisp, gamebox-dgen/stage.lisp: The gamebox-dgen/stage<dot>lisp file
File, Lisp, gamebox-dgen/stairs.lisp: The gamebox-dgen/stairs<dot>lisp file

G
gamebox-dgen.asd: The gamebox-dgen<dot>asd file
gamebox-dgen/cell.lisp: The gamebox-dgen/cell<dot>lisp file
gamebox-dgen/corridor.lisp: The gamebox-dgen/corridor<dot>lisp file
gamebox-dgen/graph.lisp: The gamebox-dgen/graph<dot>lisp file
gamebox-dgen/junction.lisp: The gamebox-dgen/junction<dot>lisp file
gamebox-dgen/neighborhood.lisp: The gamebox-dgen/neighborhood<dot>lisp file
gamebox-dgen/package.lisp: The gamebox-dgen/package<dot>lisp file
gamebox-dgen/region.lisp: The gamebox-dgen/region<dot>lisp file
gamebox-dgen/room.lisp: The gamebox-dgen/room<dot>lisp file
gamebox-dgen/stage.lisp: The gamebox-dgen/stage<dot>lisp file
gamebox-dgen/stairs.lisp: The gamebox-dgen/stairs<dot>lisp file

L
Lisp File, gamebox-dgen.asd: The gamebox-dgen<dot>asd file
Lisp File, gamebox-dgen/cell.lisp: The gamebox-dgen/cell<dot>lisp file
Lisp File, gamebox-dgen/corridor.lisp: The gamebox-dgen/corridor<dot>lisp file
Lisp File, gamebox-dgen/graph.lisp: The gamebox-dgen/graph<dot>lisp file
Lisp File, gamebox-dgen/junction.lisp: The gamebox-dgen/junction<dot>lisp file
Lisp File, gamebox-dgen/neighborhood.lisp: The gamebox-dgen/neighborhood<dot>lisp file
Lisp File, gamebox-dgen/package.lisp: The gamebox-dgen/package<dot>lisp file
Lisp File, gamebox-dgen/region.lisp: The gamebox-dgen/region<dot>lisp file
Lisp File, gamebox-dgen/room.lisp: The gamebox-dgen/room<dot>lisp file
Lisp File, gamebox-dgen/stage.lisp: The gamebox-dgen/stage<dot>lisp file
Lisp File, gamebox-dgen/stairs.lisp: The gamebox-dgen/stairs<dot>lisp file

Jump to:   F   G   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   R   S   U   V   W   X   Y  
Index Entry  Section

%
%generator: Internal generic functions
%generator: Internal generic functions
%graphs: Internal generic functions
%graphs: Internal generic functions
%make-graphs: Internal functions
%make-nh: Internal functions
%make-region: Internal functions

(
(setf %generator): Internal generic functions
(setf %generator): Internal generic functions
(setf %graphs): Internal generic functions
(setf %graphs): Internal generic functions
(setf carved): Exported generic functions
(setf carved): Exported generic functions
(setf cell): Exported functions
(setf cells): Internal functions
(setf connectable): Internal functions
(setf corridor-windiness): Internal generic functions
(setf corridor-windiness): Internal generic functions
(setf dead-ends): Internal generic functions
(setf dead-ends): Internal generic functions
(setf distance): Internal generic functions
(setf distance): Internal generic functions
(setf extent-maximum): Internal functions
(setf extent-minimum): Internal functions
(setf features): Internal generic functions
(setf features): Internal generic functions
(setf final): Internal functions
(setf id): Internal functions
(setf mst): Internal functions
(setf nh-extent): Internal functions
(setf nh-map-fn): Internal functions
(setf nh-set-fn): Internal functions
(setf nh-stage): Internal functions
(setf nh-x): Internal functions
(setf nh-y): Internal functions
(setf region-id): Exported generic functions
(setf region-id): Exported generic functions
(setf regions): Internal generic functions
(setf regions): Internal generic functions
(setf stage-rooms): Internal generic functions
(setf stage-rooms): Internal generic functions

A
add-feature: Internal functions
add-rooms: Internal functions
adjacent-junction-p: Internal functions

B
build: Internal functions

C
carve: Internal functions
carve-corridor: Internal functions
carve-direction: Internal functions
carve-loops: Internal functions
carve-tree: Internal functions
carved: Exported generic functions
carved: Exported generic functions
cell: Exported functions
cell-index: Exported functions
cell-nh: Internal functions
cells: Internal functions
choose-downstairs: Internal functions
choose-uncarved: Internal functions
choose-upstairs: Internal functions
collect: Internal functions
connect: Internal functions
connect-regions: Internal functions
connectable: Internal functions
connectable-edges: Internal functions
connectable-nodes: Internal functions
convolve: Internal functions
convolve-all: Internal functions
copy-extent: Internal functions
copy-graphs: Internal functions
copy-nh: Internal functions
copy-region: Internal functions
corridor-windiness: Internal generic functions
corridor-windiness: Internal generic functions
create-corridors: Internal functions
create-stairs: Internal functions

D
dead-ends: Internal generic functions
dead-ends: Internal generic functions
distance: Internal generic functions
distance: Internal generic functions
door-rate: Internal generic functions
door-rate: Internal generic functions

E
e: Internal functions
ensure-dimensions: Internal functions
erode-dead-ends: Internal functions
erode-walls: Internal functions
estimate-rooms: Internal functions
extent-maximum: Internal functions
extent-minimum: Internal functions
extent-p: Internal functions

F
features: Internal generic functions
features: Internal generic functions
featuresp: Internal functions
filter-carvable: Internal functions
filter-connectable: Internal functions
filter-dead-end: Internal functions
final: Internal functions
Function, %make-graphs: Internal functions
Function, %make-nh: Internal functions
Function, %make-region: Internal functions
Function, (setf cell): Exported functions
Function, (setf cells): Internal functions
Function, (setf connectable): Internal functions
Function, (setf extent-maximum): Internal functions
Function, (setf extent-minimum): Internal functions
Function, (setf final): Internal functions
Function, (setf id): Internal functions
Function, (setf mst): Internal functions
Function, (setf nh-extent): Internal functions
Function, (setf nh-map-fn): Internal functions
Function, (setf nh-set-fn): Internal functions
Function, (setf nh-stage): Internal functions
Function, (setf nh-x): Internal functions
Function, (setf nh-y): Internal functions
Function, add-feature: Internal functions
Function, add-rooms: Internal functions
Function, adjacent-junction-p: Internal functions
Function, build: Internal functions
Function, carve: Internal functions
Function, carve-corridor: Internal functions
Function, carve-direction: Internal functions
Function, carve-loops: Internal functions
Function, carve-tree: Internal functions
Function, cell: Exported functions
Function, cell-index: Exported functions
Function, cell-nh: Internal functions
Function, cells: Internal functions
Function, choose-downstairs: Internal functions
Function, choose-uncarved: Internal functions
Function, choose-upstairs: Internal functions
Function, collect: Internal functions
Function, connect: Internal functions
Function, connect-regions: Internal functions
Function, connectable: Internal functions
Function, connectable-edges: Internal functions
Function, connectable-nodes: Internal functions
Function, convolve: Internal functions
Function, convolve-all: Internal functions
Function, copy-extent: Internal functions
Function, copy-graphs: Internal functions
Function, copy-nh: Internal functions
Function, copy-region: Internal functions
Function, create-corridors: Internal functions
Function, create-stairs: Internal functions
Function, e: Internal functions
Function, ensure-dimensions: Internal functions
Function, erode-dead-ends: Internal functions
Function, erode-walls: Internal functions
Function, estimate-rooms: Internal functions
Function, extent-maximum: Internal functions
Function, extent-minimum: Internal functions
Function, extent-p: Internal functions
Function, featuresp: Internal functions
Function, filter-carvable: Internal functions
Function, filter-connectable: Internal functions
Function, filter-dead-end: Internal functions
Function, final: Internal functions
Function, get-graph: Internal functions
Function, get-region: Internal functions
Function, graphs-p: Internal functions
Function, id: Internal functions
Function, make-cell: Internal functions
Function, make-connectable: Internal functions
Function, make-downstairs: Internal functions
Function, make-extent: Internal functions
Function, make-graphs: Internal functions
Function, make-grid: Internal functions
Function, make-junction: Internal functions
Function, make-mst: Internal functions
Function, make-nh: Internal functions
Function, make-region: Internal functions
Function, make-rng: Internal functions
Function, make-room: Internal functions
Function, make-stage: Exported functions
Function, make-upstairs: Internal functions
Function, mst: Internal functions
Function, n: Internal functions
Function, ne: Internal functions
Function, nfilter: Internal functions
Function, nh-extent: Internal functions
Function, nh-map-fn: Internal functions
Function, nh-p: Internal functions
Function, nh-realize: Internal functions
Function, nh-set-fn: Internal functions
Function, nh-stage: Internal functions
Function, nh-x: Internal functions
Function, nh-y: Internal functions
Function, nmap: Internal functions
Function, nmap-default: Internal functions
Function, nmap-horizontal: Internal functions
Function, nmap-orthogonal: Internal functions
Function, nmap-rect: Internal functions
Function, nmap-vertical: Internal functions
Function, nref: Internal functions
Function, nset-default: Internal functions
Function, nset-horizontal: Internal functions
Function, nset-orthogonal: Internal functions
Function, nset-rect: Internal functions
Function, nset-vertical: Internal functions
Function, nsetp: Internal functions
Function, nw: Internal functions
Function, origin: Internal functions
Function, pick-cell: Internal functions
Function, place-room: Internal functions
Function, print-stage: Exported functions
Function, process: Internal functions
Function, region-p: Internal functions
Function, regions-distinct-p: Internal functions
Function, remove-feature: Internal functions
Function, s: Internal functions
Function, se: Internal functions
Function, stage-border-p: Internal functions
Function, stage-coords: Internal functions
Function, staircase-suitable-p: Internal functions
Function, sw: Internal functions
Function, uncarve: Internal functions
Function, uncarve-dead-end: Internal functions
Function, valid-cell-p: Internal functions
Function, validate: Internal functions
Function, w: Internal functions

G
generator: Internal generic functions
generator: Internal generic functions
Generic Function, %generator: Internal generic functions
Generic Function, %graphs: Internal generic functions
Generic Function, (setf %generator): Internal generic functions
Generic Function, (setf %graphs): Internal generic functions
Generic Function, (setf carved): Exported generic functions
Generic Function, (setf corridor-windiness): Internal generic functions
Generic Function, (setf dead-ends): Internal generic functions
Generic Function, (setf distance): Internal generic functions
Generic Function, (setf features): Internal generic functions
Generic Function, (setf region-id): Exported generic functions
Generic Function, (setf regions): Internal generic functions
Generic Function, (setf stage-rooms): Internal generic functions
Generic Function, carved: Exported generic functions
Generic Function, corridor-windiness: Internal generic functions
Generic Function, dead-ends: Internal generic functions
Generic Function, distance: Internal generic functions
Generic Function, door-rate: Internal generic functions
Generic Function, features: Internal generic functions
Generic Function, generator: Internal generic functions
Generic Function, graphs: Internal generic functions
Generic Function, grid: Exported generic functions
Generic Function, height: Exported generic functions
Generic Function, hollow-walls: Internal generic functions
Generic Function, intersectsp: Internal generic functions
Generic Function, layout: Internal generic functions
Generic Function, region-id: Exported generic functions
Generic Function, regions: Internal generic functions
Generic Function, room-density: Internal generic functions
Generic Function, room-size-max: Internal generic functions
Generic Function, room-size-min: Internal generic functions
Generic Function, seed: Exported generic functions
Generic Function, stage-rooms: Internal generic functions
Generic Function, width: Exported generic functions
Generic Function, x: Exported generic functions
Generic Function, x1: Internal generic functions
Generic Function, x2: Internal generic functions
Generic Function, y: Exported generic functions
Generic Function, y1: Internal generic functions
Generic Function, y2: Internal generic functions
get-graph: Internal functions
get-region: Internal functions
graphs: Internal generic functions
graphs: Internal generic functions
graphs-p: Internal functions
grid: Exported generic functions
grid: Exported generic functions

H
height: Exported generic functions
height: Exported generic functions
height: Exported generic functions
hollow-walls: Internal generic functions
hollow-walls: Internal generic functions

I
id: Internal functions
intersectsp: Internal generic functions
intersectsp: Internal generic functions
intersectsp: Internal generic functions

L
layout: Internal generic functions
layout: Internal generic functions
layout: Internal generic functions
layout: Internal generic functions
layout: Internal generic functions

M
Macro, nmap-short: Internal macros
make-cell: Internal functions
make-connectable: Internal functions
make-downstairs: Internal functions
make-extent: Internal functions
make-graphs: Internal functions
make-grid: Internal functions
make-junction: Internal functions
make-mst: Internal functions
make-nh: Internal functions
make-region: Internal functions
make-rng: Internal functions
make-room: Internal functions
make-stage: Exported functions
make-upstairs: Internal functions
Method, %generator: Internal generic functions
Method, %graphs: Internal generic functions
Method, (setf %generator): Internal generic functions
Method, (setf %graphs): Internal generic functions
Method, (setf carved): Exported generic functions
Method, (setf corridor-windiness): Internal generic functions
Method, (setf dead-ends): Internal generic functions
Method, (setf distance): Internal generic functions
Method, (setf features): Internal generic functions
Method, (setf region-id): Exported generic functions
Method, (setf regions): Internal generic functions
Method, (setf stage-rooms): Internal generic functions
Method, carved: Exported generic functions
Method, corridor-windiness: Internal generic functions
Method, dead-ends: Internal generic functions
Method, distance: Internal generic functions
Method, door-rate: Internal generic functions
Method, features: Internal generic functions
Method, generator: Internal generic functions
Method, graphs: Internal generic functions
Method, grid: Exported generic functions
Method, height: Exported generic functions
Method, height: Exported generic functions
Method, hollow-walls: Internal generic functions
Method, intersectsp: Internal generic functions
Method, intersectsp: Internal generic functions
Method, layout: Internal generic functions
Method, layout: Internal generic functions
Method, layout: Internal generic functions
Method, layout: Internal generic functions
Method, region-id: Exported generic functions
Method, regions: Internal generic functions
Method, room-density: Internal generic functions
Method, room-size-max: Internal generic functions
Method, room-size-min: Internal generic functions
Method, seed: Exported generic functions
Method, stage-rooms: Internal generic functions
Method, width: Exported generic functions
Method, width: Exported generic functions
Method, x: Exported generic functions
Method, x1: Internal generic functions
Method, x2: Internal generic functions
Method, y: Exported generic functions
Method, y1: Internal generic functions
Method, y2: Internal generic functions
mst: Internal functions

N
n: Internal functions
ne: Internal functions
nfilter: Internal functions
nh-extent: Internal functions
nh-map-fn: Internal functions
nh-p: Internal functions
nh-realize: Internal functions
nh-set-fn: Internal functions
nh-stage: Internal functions
nh-x: Internal functions
nh-y: Internal functions
nmap: Internal functions
nmap-default: Internal functions
nmap-horizontal: Internal functions
nmap-orthogonal: Internal functions
nmap-rect: Internal functions
nmap-short: Internal macros
nmap-vertical: Internal functions
nref: Internal functions
nset-default: Internal functions
nset-horizontal: Internal functions
nset-orthogonal: Internal functions
nset-rect: Internal functions
nset-vertical: Internal functions
nsetp: Internal functions
nw: Internal functions

O
origin: Internal functions

P
pick-cell: Internal functions
place-room: Internal functions
print-stage: Exported functions
process: Internal functions

R
region-id: Exported generic functions
region-id: Exported generic functions
region-p: Internal functions
regions: Internal generic functions
regions: Internal generic functions
regions-distinct-p: Internal functions
remove-feature: Internal functions
room-density: Internal generic functions
room-density: Internal generic functions
room-size-max: Internal generic functions
room-size-max: Internal generic functions
room-size-min: Internal generic functions
room-size-min: Internal generic functions

S
s: Internal functions
se: Internal functions
seed: Exported generic functions
seed: Exported generic functions
stage-border-p: Internal functions
stage-coords: Internal functions
stage-rooms: Internal generic functions
stage-rooms: Internal generic functions
staircase-suitable-p: Internal functions
sw: Internal functions

U
uncarve: Internal functions
uncarve-dead-end: Internal functions

V
valid-cell-p: Internal functions
validate: Internal functions

W
w: Internal functions
width: Exported generic functions
width: Exported generic functions
width: Exported generic functions

X
x: Exported generic functions
x: Exported generic functions
x1: Internal generic functions
x1: Internal generic functions
x2: Internal generic functions
x2: Internal generic functions

Y
y: Exported generic functions
y: Exported generic functions
y1: Internal generic functions
y1: Internal generic functions
y2: Internal generic functions
y2: Internal generic functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   R   S   U   V   W   X   Y  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   %   *  
C   E   F   I   M   S   X   Y  
Index Entry  Section

%
%carved: Exported classes
%corridor-windiness: Exported classes
%dead-ends: Exported classes
%distance: Exported classes
%door-rate: Exported classes
%features: Exported classes
%generator: Exported classes
%graphs: Exported classes
%grid: Exported classes
%height: Exported classes
%height: Internal classes
%hollow-walls: Exported classes
%region-id: Exported classes
%regions: Exported classes
%room-density: Exported classes
%room-size-max: Exported classes
%room-size-min: Exported classes
%rooms: Exported classes
%seed: Exported classes
%width: Exported classes
%width: Internal classes
%x: Exported classes
%x1: Internal classes
%x2: Internal classes
%y: Exported classes
%y1: Internal classes
%y2: Internal classes

*
*region*: Internal special variables

C
cells: Internal structures
connectable: Internal structures

E
extent: Internal structures

F
final: Internal structures

I
id: Internal structures

M
map-fn: Internal structures
maximum: Internal structures
minimum: Internal structures
mst: Internal structures

S
set-fn: Internal structures
Slot, %carved: Exported classes
Slot, %corridor-windiness: Exported classes
Slot, %dead-ends: Exported classes
Slot, %distance: Exported classes
Slot, %door-rate: Exported classes
Slot, %features: Exported classes
Slot, %generator: Exported classes
Slot, %graphs: Exported classes
Slot, %grid: Exported classes
Slot, %height: Exported classes
Slot, %height: Internal classes
Slot, %hollow-walls: Exported classes
Slot, %region-id: Exported classes
Slot, %regions: Exported classes
Slot, %room-density: Exported classes
Slot, %room-size-max: Exported classes
Slot, %room-size-min: Exported classes
Slot, %rooms: Exported classes
Slot, %seed: Exported classes
Slot, %width: Exported classes
Slot, %width: Internal classes
Slot, %x: Exported classes
Slot, %x1: Internal classes
Slot, %x2: Internal classes
Slot, %y: Exported classes
Slot, %y1: Internal classes
Slot, %y2: Internal classes
Slot, cells: Internal structures
Slot, connectable: Internal structures
Slot, extent: Internal structures
Slot, final: Internal structures
Slot, id: Internal structures
Slot, map-fn: Internal structures
Slot, maximum: Internal structures
Slot, minimum: Internal structures
Slot, mst: Internal structures
Slot, set-fn: Internal structures
Slot, stage: Internal structures
Slot, x: Internal structures
Slot, y: Internal structures
Special Variable, *region*: Internal special variables
stage: Internal structures

X
x: Internal structures

Y
y: Internal structures

Jump to:   %   *  
C   E   F   I   M   S   X   Y  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   B   C   E   G   N   P   R   S  
Index Entry  Section

B
box.dgen: The box<dot>dgen package

C
cell: Exported classes
Class, cell: Exported classes
Class, stage: Exported classes
Class, stage-room: Internal classes

E
extent: Internal structures

G
gamebox-dgen: The gamebox-dgen system
graphs: Internal structures

N
nh: Internal structures

P
Package, box.dgen: The box<dot>dgen package

R
region: Internal structures

S
stage: Exported classes
stage-room: Internal classes
Structure, extent: Internal structures
Structure, graphs: Internal structures
Structure, nh: Internal structures
Structure, region: Internal structures
System, gamebox-dgen: The gamebox-dgen system

Jump to:   B   C   E   G   N   P   R   S