The tcod Reference Manual

This is the tcod Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:31:07 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 tcod

Common Lisp bindings for libtcod, a truecolour terminal-emulation library written in C.

Author

Paul Sexton <>

Dependencies
  • cffi (system).
  • cffi-libffi (system).
  • defstar (system).
Source

tcod.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 tcod/tcod.asd

Source

tcod.asd.

Parent Component

tcod (system).

ASDF Systems

tcod.

Packages

tcod-system.


3.1.2 tcod/tcod.lisp

Source

tcod.asd.

Parent Component

tcod (system).

Packages

tcod.

Public Interface
Internals

3.1.3 tcod/tcod-colours.lisp

Source

tcod.asd.

Parent Component

tcod (system).

Internals

make-rgb.txt-colours (function).


4 Packages

Packages are listed by definition order.


4.1 tcod

* Introduction

Welcome to CL-TCOD, an interface between Common Lisp and the Doryen Library,
AKA ‘libtcod’, a portable truecolour console library intended for use with roguelike games.

CL-TCOD consists of the following files:
1. =tcod.lisp=, a lisp file which creates lisp bindings for C functions in the compiled libtcod library, using the =CFFI= lisp foreign function interface.
2. =tcod.asd=, which allows TCOD to be easily loaded and used as a library by other common lisp programs, via the =ASDF= library-loading facility.
3. =tcod-colours.lisp=, a lisp file containing definitions for all the colours named in /etc/X11/rgb.txt; autogenerated using ’parse-rgb’ (see below)
4. =parse-rgb.lisp=, a lisp file containing code for parsing =/etc/X11/rgb.txt= and generating tcod-colours.lisp
5. =parse-rgb.asd=, ASDF system definition file for =parse-rgb.lisp=

CL-TCOD has been tested with SBCL 1.0.36 on Linux and Windows, Clozure 1.5
on Linux and Windows, and CLISP on Windows.

**Note** that it has not been used on a Mac; if you do this you may need to
tell CFFI the name of the compiled libtcod library under MacOS. To do this,
open =tcod.lisp= in an editor, find the =’(define-foreign-library...’= clause, uncomment the =’(:macintosh...)’= line and change the string on that line to
the name of the libtcod library file.

* License

The CL-TCOD package is placed in the Public Domain by its author.

* Dependencies

=CL-TCOD= depends on the following libraries:
1. ASDF: [[http://common-lisp.net/project/asdf/]]
2. DEFSTAR: [[http://bitbucket.org/eeeickythump/defstar/]]
3. CFFI: [[http://common-lisp.net/project/cffi/]]

* Hints on installation

You need to know your way around your chosen common lisp and how to install and load lisp libraries before proceeding. You also need to have a version of
libtcod newer than 1.4.1rc2, which is the first version that includes the =’wrappers.c’= and =’wrappers.h’= source files that allow CL-TCOD to interface with libtcod.

1. Ensure you have a working common lisp installation.
2. Ensure either [[http://www.quicklisp.org/][Quicklisp]] (recommended) or the ASDF lisp library is installed.
3. If CFFI or DEFSTAR are not installed, download and install them somewhere
ASDF can find them. CFFI requires several third-party lisp libraries – see
the CFFI documentation for more details. Note that if you have
Quicklisp installed, you can install CFFI and its dependencies
easily using the command =(ql:quickload "cffi")= at the Lisp prompt.
4. Put the CL-TCOD files in a directory where ASDF can find them.
5. Make sure libtcod is installed and compiled. Make sure the libtcod and libSDL dynamically linked libraries (=.DLL= or =.SO= files) are somewhere your lisp system can find them. They probably are, but if CFFI complains about being unable to find the libraries, you can either copy them to an appropriate directory or add their directory to the list variable =cffi:*foreign-library-directories*= e.g. by typing the following in the lisp interpreter:

;;; (push #P"/my/libtcod/directory/" cffi:*foreign-library-directories*)

*On windows*, DLL files should be put in one of the directories listed in the =PATH= environment variable. You will need to put =SDL.dll= in the same place if you don’t already have SDL installed.

*On Linux*, you can usually put .SO files in =/usr/local/lib/=.
Use your package installer to install =libSDL=.
Try running the libtcod demo programs to check everything works.

6. Start lisp, then load CL-TCOD. Using Quicklisp (recommended):

;;; (ql:quickload :tcod)

Using ASDF:

;;; (load "/path/to/asdf/asdf.lisp")
;;; (asdf:oos ’asdf:load-op :tcod)

7. Type something like the following commands at the lisp prompt to start using TCOD from within Lisp. Alternatively you can type =(tcod:hello-world)=, which is a function containing the code below.

;;; (tcod:console-set-custom-font "terminal.png" ’(:font-layout-ascii-in-row) 16 16) ;;; (tcod:console-init-root 80 25 :title "Test")
;;; (tcod:console-clear tcod:*root*)
;;; (tcod:console-print tcod:*root* 1 1 "Hello, world!~%")
;;; (tcod:console-wait-for-keypress t)

* Differences between CL-TCOD and libtcod

** Naming conventions

The C function =TCOD_foobar= corresponds to the lisp function =foobar=, which
is in the =tcod= package (and so requires a prefix of =tcod:= to access in most situations). Underscores become hyphens. So:

: TCOD_foobar_function(a, b) <===> (tcod:foobar-function a b)

‘Predicate functions’ are functions whose main job is to return a boolean
value, true (non =NIL=) or false (=NIL=), that answers a question. These have a terminal ’?’ added to their name:

: TCOD_console_is_fullscreen() <===> (tcod:console-is-fullscreen?)

C enums have generally more succinct names. As they are lisp keywords, their
names all begin with =’:’=. THey are named according to the following pattern:

: TCODK_BACKSPACE (etc) <===> :backspace
: TCOD_CHAR_HLINE (etc) <===> :char-hline
: TCOD_COLCTRL_1 (etc) <===> :colctrl-1
: TCOD_BKGND_SET (etc) <===> :set
: TCOD_FONT_LAYOUT_ASCII_INCOL <===> :font-layout-ascii-in-col
: FOV_SHADOW <===> :fov-shadow
: TCOD_KEY_PRESSED <===> :key-pressed
: CENTER <===> :center

In general, most functions exist in both U.S. and non-U.S. spellings, This is mainly relevant to those functions with colour/color or centre/center in their names.

** Colournums

In libtcod, colours are represented as structures containing three integer
values: *red*, *green* and *blue* (each 0-255). The name of the structure type is =TCOD_color_t=.

In CL-TCOD, these colour structs are converted into 3-byte integers using the C functions =int_to_color(int)= and =color_to_int(TCOD_color_t)=, both defined in =wrappers.c=. The 3 bytes are red, green and blue in order (blue is 1’s). ie:

: /* C */ ;; lisp ;;
: struct TCOD_color_t {r, g, b} <==> #x00RRGGBB

So, for example, one way to use the function =TCOD_color_multiply_scalar= from lisp is:

;;; (tcod:color-multiply-scalar (tcod:compose-colour 218 165 32) 0.5)

All C functions that take or return =TCOD_color_t= structs, are wrapped by lisp functions that take or return integers as described above.

** Colours by keyword

A lisp keyword is any symbol beginning with ’:’. In lisp, keywords (like all symbols) are first-class values and can be passed around just like any other value. CL-TCOD uses keywords to refer to particular colours, for example the keyword =:cyan= refers to the colour #x0056A3CD (or 5678029 in decimal notation).

You can use keywords instead of colournums as arguments to lisp functions, by using the function =colour= to return the colournum associated with a keyword:

;;; (tcod:colour :cyan) ; returns 5678029

You can also define your own colour names, like so:

;;; (tcod:make-colour :my-goldenrod 218 165 32)
;;; (tcod:color-multiply-scalar (tcod:colour :my-goldenrod) 0.5)

CL-TCOD knows all the colour names defined in the ’rgb.txt’ file under
Xwindows, eg =:navajo-white, :honeydew, :mint-cream=, and so on. There is
nothing special about the fact that rgb.txt comes from Xwindows – the colours
are just named R,G,B values and can be used anywhere that CL-TCOD can be
used. Look in the source file =’tcod-colours.lisp’= to see the available colour names. If you are using [[http://www.gnu.org/software/emacs/][GNU Emacs]], the king of lisp IDEs, do =M-x list-colors-display= to see a list of all colours.

** Lisp =format= versus C =printf=

The TCOD functions that accept =printf=-like string-formatting arguments,
have been modified to instead accept arguments to Common Lisp’s =format= function.’ For example:

#+BEGIN_SRC c
TCOD_console_print (con, x, y, "Printing at %d, %dn", x, y);
#+END_SRC

becomes:

;;; (tcod:console-print con x y "Printing at ~D, ~D~%" x y)

** Miscellaneous extra functions

- [[console-print-double-frame]] is like [[console-print-frame]], but
but draws using ‘double-line’ characters:

;;; (tcod:console-print-double-frame CONSOLE X Y W H EMPTY? STRING...)

** Coverage

Does not provide wrappers for:
- File parser. Using this from lisp would be a very cumbersome way to read
values from a file, as the resulting values are not lisp objects. You would
be better to either consider using the lisp
‘read’ function, or looking into lisp libraries for parser generation.
- =namegen-get-sets= – I haven’t yet implemented this as it will have to
involve converting from libtcod’s bespoke ’linked list’ to a lisp list.
You may be better to write your random name generator in lisp (fairly trivial). - =sys-get-directory-content=, =sys-file-exists=, =sys-is-directory=, =sys-delete-file=: Common Lisp already has functions that do the same thing.

* Resources

** Specific to CL-TCOD and libtcod

The latest version of CL-TCOD is available at:

[[http://bitbucket.org/eeeickythump/cl-tcod/]]

Forum for discussion of CL-TCOD and use of lisp in roguelike games:

[[http://doryen.eptalys.net/forum/index.php?board=33.0][Roguecentral Lisp forum]]

The latest version of libtcod is available at:

[[http://doryen.eptalys.net/libtcod/]]

This Common Lisp package depends on CFFI, the Common Foreign Function Interface:

[[http://common-lisp.net/project/cffi/]]

** Learning Common Lisp

Recently written book, ’Practical Common Lisp’. buy hard copy or download free. Recommended, especially if coming from non-lisp languages.

- [[http://www.gigamonkeys.com/book/]]

[[http://www.quicklisp.org/][Quicklisp]] allows you to very easily install libraries – it automatically downloads and installs a library and its dependencies, from within Lisp. If you don’t decide to go with Lisp in a
Box (below), then Quicklisp should be the first thing you install once you have your lisp running.

*"Lisp in a Box"* – aims to make it easy to start using Common Lisp by
providing a single download with everything set up in advance (Lisp, Emacs,
SLIME, and Quicklisp).

- [[http://common-lisp.net/project/lispbox/]]

Lisp editors and IDEs:
- [[http://www.gnu.org/software/emacs/][GNU Emacs]] (the best; see below)
- [[http://common-lisp.net/project/slime/][SLIME]] is the Emacs interface to Common Lisp.
- [[http://bitfauna.com/projects/cusp/][Cusp]], a common lisp plugin for Eclipse. - The [[http://www.franz.com/products/allegrocl/][Allegro]] and [[http://www.lispworks.com/][LispWorks]] lisp implementations each have a builtin IDE.
- If you are on a Mac, the free, high-quality [[http://ccl.clozure.com][Clozure CL]] has a builtin graphical IDE.
- Some editors with good lisp syntax highlighting include jEdit and Notepad++.

** A note on editors and IDEs

Emacs is a very powerful program. It is mainly used as a programmers’ text and source code editor, but it can do – and plugins exist to make it do – just
about anything you can imagine. It is mostly written in a dialect of lisp, and this is also its extension language. When combined with SLIME, a plugin
that allows it to communicate directly with a running common lisp compiler/interpreter, Emacs is not only the best IDE for common lisp, but
one of the best and most advanced IDEs available for any programming language.

The downside: because Emacs + SLIME is so good, common lisp programmers have
put very little effort into getting other popular programming editors/IDEs to support common lisp, at least beyond simple syntax highlighting. Emacs is an idiosyncratic program (though development is active, it is about 34 years old)
and despite good efforts to modernise/regularise its interface it still has a steeper learning curve than many other IDEs, especially when you are also struggling to set up SLIME and get it to communicate through a socket with
your lisp process...

My advice is that while all roads lead to Emacs, you don’t have to hurry to get there. Initially you should concentrate on getting common lisp set up and
starting to learn the language. Think about using the trial version of one of
the big commercial implementations (Allegro or LispWorks), as they have
built-in IDEs. Once you are ready to move on from them, install Emacs and
SLIME.

** Commercial Common Lisp implementations

These are both high quality, but painfully expensive. Luckily they have
’trial’ versions that can be downloaded for free, and which I recommend you
use when beginning to learn Common Lisp as they come with integrated
graphical editors/development environments (although if you have a Mac
you may wish to investigate Clozure CL’s IDE – see below).

- [[http://www.franz.com/products/allegrocl/][Allegro]] – starts at $599 USD
- [[http://www.lispworks.com/][LispWorks]] – starts at $900 USD for a noncommercial license. The trial version quits automatically after 5 hours.

** Full-featured, free Common Lisp implementations

Move on to one of these if and when you outgrow Allegro or LispWorks.

For the title of the best, most robust free multiplatform Common Lisp compiler,
it is currently a very close call between these two:
- [[http://www.sbcl.org][Steel Bank Common Lisp (SBCL)]] Compiles to
machine code, great on Linux/Mac,
still nominally ’experimental’ on Windows but actually seems very stable
on that platform.
- [[http://ccl.clozure.com][Clozure CL]] Compiles to machine code; native to
Mac but recently ported to Linux and Windows. Formerly known as OpenMCL.
The Mac version has a graphical IDE.
Not to be confused with [[http://clojure.org][Clojure]], which is a different dialect of lisp from Common Lisp.

Other worthwhile free implementations:
- [[http://clisp.cons.org][GNU CLISP]] Bytecode compiler, so programs won’t run
as fast as in the compiled lisps discussed above. However it runs pretty much everywhere, and is easy to install on Windows.
- [[http://ecls.sourceforge.net/][Embeddable Common Lisp]] Promising, compiles
to C and then passes code to your C compiler. Does this ’on the fly’ when running as an interpreter. Also designed to be easily embeddable in non-Lisp applications as a scripting language.
- [[http://common-lisp.net/project/armedbear/][Armed Bear Common Lisp]]
Common Lisp compiler running inside the Java virtual machine, so your
code will run on any platform and can use all the Java libraries. I doubt
you’ll be able to use libtcod with this though.

Help & advice with lisp:

[[http://www.lispforum.com]]

Source

tcod.lisp.

Nickname

cl-tcod

Use List
  • cffi.
  • common-lisp.
  • defstar.
Public Interface
Internals

4.2 tcod-system

Source

tcod.asd.

Use List
  • asdf/interface.
  • common-lisp.

5 Definitions

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


5.1 Public Interface


5.1.1 Special variables

Special Variable: *root*

The root console.

Package

tcod.

Source

tcod.lisp.

Special Variable: +null+

The null pointer.

Package

tcod.

Source

tcod.lisp.


5.1.2 Macros

Are the relative coordinates X,Y within the bounds of console CON?

Package

tcod.

Source

tcod.lisp.


5.1.3 Ordinary functions

Function: background-add-alpha (alpha)
Package

tcod.

Source

tcod.lisp.

Function: background-alpha (alpha)
Package

tcod.

Source

tcod.lisp.

Function: bsp-contains? (node cx cy)
Package

tcod.

Source

tcod.lisp.

Function: bsp-delete (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-father (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-find-node (node cx cy)
Package

tcod.

Source

tcod.lisp.

Function: bsp-is-leaf? (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-left (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-new-with-size (x y w h)
Package

tcod.

Source

tcod.lisp.

Function: bsp-remove-sons (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-resize (node x y w h)
Package

tcod.

Source

tcod.lisp.

Function: bsp-right (node)
Package

tcod.

Source

tcod.lisp.

Function: bsp-split-once (node horizontal? pos)
Package

tcod.

Source

tcod.lisp.

Function: bsp-split-recursive (node randomiser nb min-h-size min-v-size max-h-ratio max-v-ratio)
Package

tcod.

Source

tcod.lisp.

Function: bsp-traverse-in-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: bsp-traverse-inverted-level-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: bsp-traverse-level-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: bsp-traverse-post-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: bsp-traverse-pre-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: colctrl->char (ctrl)
Package

tcod.

Source

tcod.lisp.

Function: color (keywd)
Package

tcod.

Source

tcod.lisp.

Function: color->grayscale (col)
Package

tcod.

Source

tcod.lisp.

Function: color->keyword (colournum)
Package

tcod.

Source

tcod.lisp.

Function: color-add (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: color-equals? (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: color-get-hsv (colour)
Package

tcod.

Source

tcod.lisp.

Function: color-get-hue (colour)
Package

tcod.

Source

tcod.lisp.

Function: color-get-saturation (colour)
Package

tcod.

Source

tcod.lisp.

Function: color-get-value (colour)
Package

tcod.

Source

tcod.lisp.

Function: color-hsv (hue sat val)
Package

tcod.

Source

tcod.lisp.

Function: color-lerp (c1 c2 coef)
Package

tcod.

Source

tcod.lisp.

Function: color-multiply (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: color-multiply-scalar (c1 value)
Package

tcod.

Source

tcod.lisp.

Function: color-rgb (r g b)
Package

tcod.

Source

tcod.lisp.

Function: color-set-hsv (con hue sat v)
Package

tcod.

Source

tcod.lisp.

Function: color-set-hue (colour hue)
Package

tcod.

Source

tcod.lisp.

Function: color-set-saturation (colour sat)
Package

tcod.

Source

tcod.lisp.

Function: color-set-value (colour val)
Package

tcod.

Source

tcod.lisp.

Function: color-shift-hue (colour hshift)
Package

tcod.

Source

tcod.lisp.

Function: color-subtract (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: colour (keywd &optional error?)

Given a colour keyword such as :GREY, return its corresponding RGB value (#xRRGGBB). If the keyword is unrecognised, then either return a light grey colour, or raise an error (if ‘error?’ is non-nil).

Package

tcod.

Source

tcod.lisp.

Function: colour->grayscale (col)
Package

tcod.

Source

tcod.lisp.

Function: colour->keyword (colournum)
Package

tcod.

Source

tcod.lisp.

Function: colour-add (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: colour-equals? (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: colour-get-hsv (c)
Package

tcod.

Source

tcod.lisp.

Function: colour-hsv (hue sat val)

Return a new colour with the given HSV (hue, saturation and value) components.

Package

tcod.

Source

tcod.lisp.

Function: colour-lerp (c1 c2 coef)
Package

tcod.

Source

tcod.lisp.

Function: colour-multiply (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: colour-multiply-scalar (c1 value)
Package

tcod.

Source

tcod.lisp.

Function: colour-rgb (r g b)
Package

tcod.

Source

tcod.lisp.

Function: colour-set-hsv (con hue sat v)
Package

tcod.

Source

tcod.lisp.

Function: colour-set-hue (colour hue)

Return COLOUR with its hue modified to HUE.

Package

tcod.

Source

tcod.lisp.

Function: colour-set-saturation (colour sat)

Return COLOUR with its saturation modified to SAT.

Package

tcod.

Source

tcod.lisp.

Function: colour-set-value (colour val)

Return COLOUR with its HSV value modified to VAL.

Package

tcod.

Source

tcod.lisp.

Function: colour-shift-hue (colour hshift)
Package

tcod.

Source

tcod.lisp.

Function: colour-subtract (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: compose-color (r g b)
Package

tcod.

Source

tcod.lisp.

Function: compose-colour (r g b)

Given three integer values R, G and B, representing the red, green and blue components of a colour, return a 3 byte integer whose value is #xBBGGRR.

Package

tcod.

Source

tcod.lisp.

Function: console-blit (src xsrc ysrc wsrc hsrc dest xdest ydest foreground-alpha background-alpha)
Package

tcod.

Source

tcod.lisp.

Function: console-check-for-keypress (flags)
Package

tcod.

Source

tcod.lisp.

Function: console-clear (con)
Package

tcod.

Source

tcod.lisp.

Function: console-credits ()
Package

tcod.

Source

tcod.lisp.

Function: console-credits-reset ()
Package

tcod.

Source

tcod.lisp.

Function: console-delete (con)
Package

tcod.

Source

tcod.lisp.

Function: console-disable-keyboard-repeat ()
Package

tcod.

Source

tcod.lisp.

Function: console-fill-char (con ch fx fy fw fh)

Fill a rectangular area with the character CH.

Package

tcod.

Source

tcod.lisp.

Function: console-flush ()
Package

tcod.

Source

tcod.lisp.

Function: console-get-alignment (con)
Package

tcod.

Source

tcod.lisp.

Function: console-get-background-flag (con)
Package

tcod.

Source

tcod.lisp.

Function: console-get-char (con x y)
Package

tcod.

Source

tcod.lisp.

Function: console-get-char-background (con x y)
Package

tcod.

Source

tcod.lisp.

Function: console-get-char-foreground (con x y)
Package

tcod.

Source

tcod.lisp.

Function: console-get-default-background (con)
Package

tcod.

Source

tcod.lisp.

Function: console-get-default-foreground (con)
Package

tcod.

Source

tcod.lisp.

Function: console-get-fade ()
Package

tcod.

Source

tcod.lisp.

Function: console-get-fading-color ()
Package

tcod.

Source

tcod.lisp.

Function: console-get-fading-colour ()
Package

tcod.

Source

tcod.lisp.

Function: console-get-height (con)
Package

tcod.

Source

tcod.lisp.

Function: console-get-height-rect (con x y w h fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-get-width (con)
Package

tcod.

Source

tcod.lisp.

Function: console-hline (con x y len flag)
Package

tcod.

Source

tcod.lisp.

Function: console-init-root (width height &key title fullscreen? renderer)
Package

tcod.

Source

tcod.lisp.

Function: console-initialised? ()
Package

tcod.

Source

tcod.lisp.

Function: console-is-fullscreen? ()
Package

tcod.

Source

tcod.lisp.

Function: console-is-window-closed? ()
Package

tcod.

Source

tcod.lisp.

Function: console-map-ascii-code-to-font (asciicode fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: console-map-ascii-codes-to-font (asciicode num-codes fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: console-map-string-to-font (str fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: console-map-string-to-font-utf (str fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: console-new (width height)
Package

tcod.

Source

tcod.lisp.

Function: console-print (con x y fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-double-frame (con x y width height empty? flag fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-ex (con x y flag align fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-ex-utf (con x y flag align fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-frame (con x y width height empty? flag fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-rect (con x y w h fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-rect-ex (con x y w h flag align fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-rect-ex-utf (con x y w h flag align fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-rect-utf (con x y w h fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-utf (con x y fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-put-char (con x y ch flag)
Package

tcod.

Source

tcod.lisp.

Function: console-put-char-ex (con x y ch fg bg)
Package

tcod.

Source

tcod.lisp.

Function: console-rect (con x y width height clear? flag)
Package

tcod.

Source

tcod.lisp.

Function: console-set-alignment (con align)
Package

tcod.

Source

tcod.lisp.

Function: console-set-background-flag (con flag)
Package

tcod.

Source

tcod.lisp.

Function: console-set-char (con x y ch)
Package

tcod.

Source

tcod.lisp.

Function: console-set-char-background (con x y col flag)
Package

tcod.

Source

tcod.lisp.

Function: console-set-char-foreground (con x y col)
Package

tcod.

Source

tcod.lisp.

Function: console-set-color-control (control-num fore back)
Package

tcod.

Source

tcod.lisp.

Function: console-set-colour-control (control-num fore back)
Package

tcod.

Source

tcod.lisp.

Function: console-set-custom-font (fontfile flags &optional chars-horizontal chars-vertical)
Package

tcod.

Source

tcod.lisp.

Function: console-set-default-background (con col)
Package

tcod.

Source

tcod.lisp.

Function: console-set-default-foreground (con col)
Package

tcod.

Source

tcod.lisp.

Function: console-set-dirty (rootx rooty width height)

Declares an area of the =*root*= console to be ’dirty’.

Package

tcod.

Source

tcod.lisp.

Function: console-set-fade (val fade)
Package

tcod.

Source

tcod.lisp.

Function: console-set-fullscreen (full?)
Package

tcod.

Source

tcod.lisp.

Function: console-set-keyboard-repeat (initial-delay interval)
Package

tcod.

Source

tcod.lisp.

Function: console-set-window-title (title)
Package

tcod.

Source

tcod.lisp.

Function: console-vline (con x y len flag)
Package

tcod.

Source

tcod.lisp.

Function: console-wait-for-keypress (flush?)
Package

tcod.

Source

tcod.lisp.

Function: decompose-color (num)
Package

tcod.

Source

tcod.lisp.

Function: decompose-colour (num)

Given a colournum #xBBGGRR, return R, G and B integer values as 3 separate return values.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-compute (dijkstra-path rootx rooty)

Compute paths leading to the point at =(ROOTX, ROOTY)=, using the Dijkstra algorithm.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-delete (dijkstra-path)

Delete a Dijkstra path object.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-get (dijkstra-path index)

Return the INDEXth step in the path from its current origin to its current destination.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-get-distance (dijkstra-path to-x to-y)

Return the number of steps on the path leading from the root node to the point at =(TO-X, TO-Y)=.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-is-empty? (dijkstra-path)

Return true if the path object is empty (has zero steps).

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-new (map diagonal-cost)

Return a new Dijkstra path object which uses =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-new-using-function (xdim ydim callback user-data diagonal-cost)

Return a new Dijkstra path object which calls the function =CALLBACK= to calculate movement costs.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-path-set (dijkstra-path to-x to-y)

Return true if a path can be found leading from the root node to the point at =(TO-X, TO-Y)=.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-path-walk (dijkstra-path)

Move one step along =PATH=. The path becomes one step shorter. Returns the coordinates of the new location.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-reverse (dijkstra-path)

Swap origin and destination for a Dijkstra path object.

Package

tcod.

Source

tcod.lisp.

Function: dijkstra-size (dijkstra-path)

Return the number of steps in the path.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-add (heightmap value)

Add =VALUE= to all heights in the heightmap.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-add-fbm (heightmap noise mulx muly addx addy octaves delta scale)

Add values from the random noise object =NOISE= to all heights in equivalent positions in =HEIGHTMAP=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-add-hill (heightmap hx hy hradius hheight)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-add-hm (hm1 hm2 result)

Add the heights in =HM1= to heights in equivalent positions in =HM2=, and store the results in the heightmap =RESULT=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-add-voronoi (heightmap num-points coefs rng)

* Arguments:
- HEIGHTMAP :: pointer to a heightmap object.
- NUM-POINTS :: number of Voronoi sites to create.
- COEFS :: list of floats to use to scale the distance to each site. - RNG :: pointer to a random number generator object.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-clamp (heightmap min max)

If any height in =HEIGHTMAP= is below =MIN= or above =MAX=, set it equal to =MIN= or =MAX= respectively.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-clear (heightmap)

Set all the heights in the heightmap to zero.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-copy (source dest)

Copy the heightmap =SOURCE= into the heightmap object =DEST=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-count-cells (heightmap min max)

Return the number of cells in =HEIGHTMAP= which contain heights between =MIN= and =MAX=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-delete (heightmap)

Destroy the heightmap object =HEIGHTMAP=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-dig-bezier (heightmap coords start-radius start-depth end-radius end-depth)

Carve a path through =HEIGHTMAP= using a cubic Bezier curve.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-dig-hill (heightmap hx hy hradius hheight)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-dig-line (heightmap x1 y1 x2 y2 radius depth)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-interpolated-value (heightmap x y)

Calculate the height at position =(X, Y)= in the heightmap, where the coordinates might not be integers.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-max (heightmap)

Return the highest height in =HEIGHTMAP=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-min (heightmap)

Return the lowest height in =HEIGHTMAP=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-normal (heightmap x y water-level)

* Returns: a list of 3 floats, representing the normalised normal vector of the point at X, Y.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-slope (heightmap x y)

Return the slope at position =(X, Y)= in the heightmap. The value returned will be between 0 and pi/2.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-get-value (heightmap x y)

Return the height at position =(X, Y)= in the heightmap.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-has-land-on-border? (heightmap waterlevel)

Return true if any of the border cells of =HEIGHTMAP= have heights greater than =WATERLEVEL=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-islandify (heightmap sea-level rng)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-kernel-transform (heightmap coords weights min-level max-level)

* Arguments:
- HEIGHTMAP :: pointer to a heightmap object.
- COORDS :: a list of (X . Y) cons cells specifying coordinates relative to the cell being processed. For example (-1 . 0) is the cell to the west, (0 . 1) is the cell to the south, etc.
- WEIGHTS :: a list of factors by which to scale the values in processed cells. The list must be the same length as COORDS.
- MIN-LEVEL, MAX-LEVEL :: Cells are only processed if their values lies within these limits.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-lerp-hm (hm1 hm2 result coef)

Fill the heightmap =RESULT= with the results of a lerp operation between the two heightmaps =HM1= and =HM2=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-multiply-hm (hm1 hm2 result)

Multiply the heights in =HM1= by the heights in equivalent positions in =HM2=, and store the results in the heightmap =RESULT=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-new (width height)

Return a new heightmap with the given dimensions.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-normalise (heightmap min max)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-normalize (heightmap min max)

Scale all the heights in =HEIGHTMAP= so that the lowest is equal to =MIN= and the highest is equal to =MAX=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-rain-erosion (heightmap num-drops erosion-coef sedimentation-coef &optional rng)

’Erode’ the heightmap =HEIGHTMAP= by dropping =NUM-DROPS= ’raindrops’ in random locations.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-scale (heightmap factor)

Multiply all the heights in the heightmap by =SCALE=.

Package

tcod.

Source

tcod.lisp.

Function: heightmap-scale-fbm (heightmap noise mulx muly addx addy octaves delta scale)
Package

tcod.

Source

tcod.lisp.

Function: heightmap-set-value (heightmap x y value)

Set the height at position =(X, Y)= in the heightmap to =VALUE=.

Package

tcod.

Source

tcod.lisp.

Function: hello-world ()
Package

tcod.

Source

tcod.lisp.

Function: image-blit (image con x y flag scalex scaley angle)
Package

tcod.

Source

tcod.lisp.

Function: image-blit-2x (image dest dx dy sx sy width height)
Package

tcod.

Source

tcod.lisp.

Function: image-blit-rect (image con x y width height flag)
Package

tcod.

Source

tcod.lisp.

Function: image-clear (image colour)

Fill the image =IMAGE= with the colour =COLOUR=.

Package

tcod.

Source

tcod.lisp.

Function: image-delete (image)
Package

tcod.

Source

tcod.lisp.

Function: image-from-console (con)

Return a new image whose contents are a ’screenshot’ of the console =CON=.

Package

tcod.

Source

tcod.lisp.

Function: image-get-alpha (image x y)
Package

tcod.

Source

tcod.lisp.

Function: image-get-height (image)
Package

tcod.

Source

tcod.lisp.

Function: image-get-mipmap-pixel (image x0 y0 x1 y1)

Calculate the interpolated colour of the pixel at =(PIXEL-X, PIXEL-Y)= in =IMAGE=.

Package

tcod.

Source

tcod.lisp.

Function: image-get-pixel (image pixel-x pixel-y)

Return the colour of the pixel at =(PIXEL-X, PIXEL-Y)= in =IMAGE=.

Package

tcod.

Source

tcod.lisp.

Function: image-get-width (image)
Package

tcod.

Source

tcod.lisp.

Function: image-hflip (image)
Package

tcod.

Source

tcod.lisp.

Function: image-invert (image)
Package

tcod.

Source

tcod.lisp.

Function: image-is-pixel-transparent? (image x y)
Package

tcod.

Source

tcod.lisp.

Function: image-load (filename)

Read an image from a file and return it.

Package

tcod.

Source

tcod.lisp.

Function: image-new (width height)

Return a new image, filled with black.

Package

tcod.

Source

tcod.lisp.

Function: image-put-pixel (image pixel-x pixel-y colour)

Set the colour of the pixel at =(PIXEL-X, PIXEL-Y)= in =IMAGE= to =COLOUR=.

Package

tcod.

Source

tcod.lisp.

Function: image-refresh-console (image con)
Package

tcod.

Source

tcod.lisp.

Function: image-rotate90 (image num-rotations)
Package

tcod.

Source

tcod.lisp.

Function: image-save (image filename)

Write the image =IMAGE= to a file. The filename must end in =.BMP= or =.PNG=.

Package

tcod.

Source

tcod.lisp.

Function: image-scale (image new-width new-height)
Package

tcod.

Source

tcod.lisp.

Function: image-set-key-color (image key-color)
Package

tcod.

Source

tcod.lisp.

Function: image-set-key-colour (image key-colour)
Package

tcod.

Source

tcod.lisp.

Function: image-vflip (image)
Package

tcod.

Source

tcod.lisp.

Function: invert-color (num)
Package

tcod.

Source

tcod.lisp.

Function: invert-colour (num)
Package

tcod.

Source

tcod.lisp.

Function: is-key-pressed? (code)
Package

tcod.

Source

tcod.lisp.

Reader: key-c (instance)
Writer: (setf key-c) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

c.

Reader: key-lalt (instance)
Writer: (setf key-lalt) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

lalt.

Reader: key-lctrl (instance)
Writer: (setf key-lctrl) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

lctrl.

Reader: key-lmeta (instance)
Writer: (setf key-lmeta) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

lmeta.

Function: key-p (object)
Package

tcod.

Source

tcod.lisp.

Reader: key-pressed (instance)
Writer: (setf key-pressed) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

pressed.

Reader: key-ralt (instance)
Writer: (setf key-ralt) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

ralt.

Reader: key-rctrl (instance)
Writer: (setf key-rctrl) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

rctrl.

Reader: key-rmeta (instance)
Writer: (setf key-rmeta) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

rmeta.

Reader: key-shift (instance)
Writer: (setf key-shift) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

shift.

Reader: key-vk (instance)
Writer: (setf key-vk) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

vk.

Function: line-init (xfrom yfrom xto yto)
Package

tcod.

Source

tcod.lisp.

Function: line-line (xfrom yfrom xto yto callback)
Package

tcod.

Source

tcod.lisp.

Function: line-step (xcur ycur)
Package

tcod.

Source

tcod.lisp.

Function: make-color (kwd r g b)
Package

tcod.

Source

tcod.lisp.

Function: make-colour (kwd r g b)
Package

tcod.

Source

tcod.lisp.

Function: make-key (&key vk c pressed lalt lctrl lmeta ralt rctrl rmeta shift)
Package

tcod.

Source

tcod.lisp.

Function: make-mouse (&key x y dx dy cx cy dcx dcy lbutton rbutton mbutton lbutton-pressed rbutton-pressed mbutton-pressed wheel-up wheel-down)
Package

tcod.

Source

tcod.lisp.

Function: make-simple-key (ch)
Package

tcod.

Source

tcod.lisp.

Function: map-clear (map transparent? walkable?)

Set all cells in =MAP= to be neither walkable nor transparent.

Package

tcod.

Source

tcod.lisp.

Function: map-compute-fov (map player-x player-y max-radius light-walls? algorithm)

Compute field of view information for =MAP=, assuming the player is at =(PLAYER-X, PLAYER-Y)=, and using the field of view algorithm =ALGORITHM=.

Package

tcod.

Source

tcod.lisp.

Function: map-copy (map-src map-dest)

Copy the map object =SRC= into the new map object =DEST=.

Package

tcod.

Source

tcod.lisp.

Function: map-delete (map)

Destroy the map object =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: map-get-height (map)

Return the height of the map object =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: map-get-nb-cells (map)

Return the number of cells in the map object =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: map-get-width (map)

Return the width of the map object =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: map-is-in-fov? (map x y)

Return true if position =(X, Y)= on the map is visible.

Package

tcod.

Source

tcod.lisp.

Function: map-is-transparent? (map x y)

Return true if position =(X, Y)= on the map is set to be transparent.

Package

tcod.

Source

tcod.lisp.

Function: map-is-walkable? (map x y)

Return true if position =(X, Y)= on the map is set to be walkable.

Package

tcod.

Source

tcod.lisp.

Function: map-new (width height)

Return a new map object of the given dimensions.

Package

tcod.

Source

tcod.lisp.

Function: map-set-in-fov (map x y fov?)

Set whether the cell at X, Y in =MAP= is in field of view.

Package

tcod.

Source

tcod.lisp.

Function: map-set-properties (map x y transparent? walkable?)

Set the properties of the map cell at =(X, Y)=. It is walkable if =walkable?= is true, and transparent if =transparent?= is true.

Package

tcod.

Source

tcod.lisp.

Reader: mouse-cx (instance)
Writer: (setf mouse-cx) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

cx.

Reader: mouse-cy (instance)
Writer: (setf mouse-cy) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

cy.

Reader: mouse-dx (instance)
Writer: (setf mouse-dx) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

dx.

Reader: mouse-dy (instance)
Writer: (setf mouse-dy) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

dy.

Function: mouse-get-status (&optional update?)

Note that as of libtcod 1.5.1rc1, ‘mouse-get-status’ returns information about the status of the mouse as at the last time ‘sys-check-for-event’ was called. If you want the *current* status of the mouse to be returned instead, UPDATE? should be non-nil.

Package

tcod.

Source

tcod.lisp.

Function: mouse-is-cursor-visible? ()
Package

tcod.

Source

tcod.lisp.

Reader: mouse-lbutton (instance)
Writer: (setf mouse-lbutton) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

lbutton.

Reader: mouse-lbutton-pressed (instance)
Writer: (setf mouse-lbutton-pressed) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

lbutton-pressed.

Reader: mouse-mbutton (instance)
Writer: (setf mouse-mbutton) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

mbutton.

Reader: mouse-mbutton-pressed (instance)
Writer: (setf mouse-mbutton-pressed) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

mbutton-pressed.

Function: mouse-move (pixel-x pixel-y)
Package

tcod.

Source

tcod.lisp.

Reader: mouse-rbutton (instance)
Writer: (setf mouse-rbutton) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

rbutton.

Reader: mouse-rbutton-pressed (instance)
Writer: (setf mouse-rbutton-pressed) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

rbutton-pressed.

Function: mouse-show-cursor (visible?)
Package

tcod.

Source

tcod.lisp.

Reader: mouse-wheel-down (instance)
Writer: (setf mouse-wheel-down) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

wheel-down.

Reader: mouse-wheel-up (instance)
Writer: (setf mouse-wheel-up) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

wheel-up.

Reader: mouse-x (instance)
Writer: (setf mouse-x) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

x.

Reader: mouse-y (instance)
Writer: (setf mouse-y) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

y.

Function: namegen-destroy ()
Package

tcod.

Source

tcod.lisp.

Function: namegen-generate (name allocate?)
Package

tcod.

Source

tcod.lisp.

Function: namegen-generate-custom (name rule allocate?)
Package

tcod.

Source

tcod.lisp.

Function: namegen-parse (filename rng)
Package

tcod.

Source

tcod.lisp.

Function: noise-delete (noise)

Destroy a noise object.

Package

tcod.

Source

tcod.lisp.

Function: noise-get (noise &rest nums)

Returns the flat noise function at the given coordinates.

Package

tcod.

Source

tcod.lisp.

Function: noise-get-ex (noise noise-type &rest nums)

Returns the flat noise function at the given coordinates, using noise type NOISE-TYPE.

Package

tcod.

Source

tcod.lisp.

Function: noise-get-fbm (noise octaves &rest nums)

Returns the fractional Brownian motion function at the given coordinates.

Package

tcod.

Source

tcod.lisp.

Function: noise-get-fbm-ex (noise noise-type octaves &rest nums)

Returns the fractional Brownian motion function at the given coordinates, using noise type NOISE-TYPE.

Package

tcod.

Source

tcod.lisp.

Function: noise-get-turbulence (noise octaves &rest nums)

Returns the turbulence function at the given coordinates.

Package

tcod.

Source

tcod.lisp.

Function: noise-get-turbulence-ex (noise noise-type octaves &rest nums)

Returns the turbulence function at the given coordinates, using noise type NOISE-TYPE.

Package

tcod.

Source

tcod.lisp.

Function: noise-new (dimensions &key hurst lacunarity rng)

Return a new noise object with the given characteristics.

Package

tcod.

Source

tcod.lisp.

Function: noise-set-type (noise noise-type)

Set the type of noise produced by a noise object.

Package

tcod.

Source

tcod.lisp.

Function: path-compute (a*-path ox oy dx dy)

Compute the path between the two points =(OX,OY)= and =(DX,DY)=, using the A* algorithm.

Package

tcod.

Source

tcod.lisp.

Function: path-delete (a*-path)

Delete an A* path object.

Package

tcod.

Source

tcod.lisp.

Function: path-get (a*-path index)

Return the INDEXth step in the path from its current origin to its current destination.

Package

tcod.

Source

tcod.lisp.

Function: path-get-destination (a*-path)

Return the coordinates of the current destination of the A* path =PATH=.

Package

tcod.

Source

tcod.lisp.

Function: path-get-origin (a*-path)

Return the coordinates of the current origin of the A* path =PATH=.

Package

tcod.

Source

tcod.lisp.

Function: path-is-empty? (a*-path)

Return true if the path object is empty (has zero steps).

Package

tcod.

Source

tcod.lisp.

Function: path-new-using-function (xdim ydim callback user-data diagonal-cost)

Return a new A* path object, which will call the function =CALLBACK= to calculate movement costs.

Package

tcod.

Source

tcod.lisp.

Function: path-new-using-map (map diagonal-cost)

Return a new A* path object, using the map =MAP=.

Package

tcod.

Source

tcod.lisp.

Function: path-reverse (a*-path)

Swap origin and destination for an A* path object.

Package

tcod.

Source

tcod.lisp.

Function: path-size (a*-path)

Return the number of steps in the path.

Package

tcod.

Source

tcod.lisp.

Function: path-walk (a*-path recalc-when-needed?)

Move one step along =PATH=. The path becomes one step shorter. Returns the coordinates of the new location.

Package

tcod.

Source

tcod.lisp.

Function: random-delete (rng)
Package

tcod.

Source

tcod.lisp.

Function: random-get-double (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: random-get-double-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: random-get-float (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: random-get-float-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: random-get-instance ()
Package

tcod.

Source

tcod.lisp.

Function: random-get-int (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: random-get-int-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: random-new (algorithm)
Package

tcod.

Source

tcod.lisp.

Function: random-new-from-seed (algorithm seed)
Package

tcod.

Source

tcod.lisp.

Function: random-restore (rng backup)
Package

tcod.

Source

tcod.lisp.

Function: random-save (rng)
Package

tcod.

Source

tcod.lisp.

Function: random-set-distribution (rng dist)
Package

tcod.

Source

tcod.lisp.

Function: same-keys? (key1 key2)
Package

tcod.

Source

tcod.lisp.

Function: sdl-get-mouse-state (xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: start-colors ()
Package

tcod.

Source

tcod.lisp.

Function: start-colours ()
Package

tcod.

Source

tcod.lisp.

Function: sys-check-for-event (eventmask key mouseptr)
Package

tcod.

Source

tcod.lisp.

Function: sys-clipboard-get ()
Package

tcod.

Source

tcod.lisp.

Function: sys-clipboard-set (text)
Package

tcod.

Source

tcod.lisp.

Function: sys-create-directory (path)
Package

tcod.

Source

tcod.lisp.

Function: sys-delete-directory (path)
Package

tcod.

Source

tcod.lisp.

Function: sys-elapsed-milli ()
Package

tcod.

Source

tcod.lisp.

Function: sys-elapsed-seconds ()
Package

tcod.

Source

tcod.lisp.

Function: sys-force-fullscreen-resolution (width height)
Package

tcod.

Source

tcod.lisp.

Function: sys-get-char-size ()

Return the dimensions of each character in the current font bitmap.

Package

tcod.

Source

tcod.lisp.

Function: sys-get-current-resolution ()
Package

tcod.

Source

tcod.lisp.

Function: sys-get-events ()

User-friendly wrapper for the new input event model in libtcod 1.5.1rc1. When called, returns a list of all queued events (calling the function also EMPTIES the queue). Each element in the list is a cons cell of the form (EVENT-TYPE . DATA) where EVENT-TYPE is a member of the ‘event’ enum, and DATA is either a key struct or a mouse-state struct.

Package

tcod.

Source

tcod.lisp.

Function: sys-get-fps ()
Package

tcod.

Source

tcod.lisp.

Function: sys-get-fullscreen-offsets ()
Package

tcod.

Source

tcod.lisp.

Function: sys-get-last-frame-length ()
Package

tcod.

Source

tcod.lisp.

Function: sys-get-renderer ()

Return the currently active renderer.

Package

tcod.

Source

tcod.lisp.

Function: sys-register-sdl-renderer (callback)
Package

tcod.

Source

tcod.lisp.

Function: sys-save-screenshot (&optional filename)
Package

tcod.

Source

tcod.lisp.

Function: sys-set-fps (val)
Package

tcod.

Source

tcod.lisp.

Function: sys-set-renderer (renderer)

Change the currently active renderer.

Package

tcod.

Source

tcod.lisp.

Function: sys-sleep-milli (val)
Package

tcod.

Source

tcod.lisp.

Function: sys-update-char (ascii fontx fonty image x y)
Package

tcod.

Source

tcod.lisp.

Function: sys-wait-events (filter flush)

Like the wrapper sys-get-events, but using TCOD_sys_wait_for_event. Takes a filter for what event (‘event’ enum) to wait for as well as whether or not to flush the event buffer of all pending events.

Package

tcod.

Source

tcod.lisp.

Function: sys-wait-for-event (eventmask key mouseptr flush?)
Package

tcod.

Source

tcod.lisp.

Function: zip-delete (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-char (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-color (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-colour (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-console (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-current-bytes (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-data (zip nbytes data)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-float (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-image (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-int (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-remaining-bytes (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-get-string (zip)
Package

tcod.

Source

tcod.lisp.

Function: zip-load-from-file (zip filename)
Package

tcod.

Source

tcod.lisp.

Function: zip-new ()
Package

tcod.

Source

tcod.lisp.

Function: zip-put (zip val)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-char (zip ch)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-color (zip color)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-colour (zip colour)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-console (zip con)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-data (zip nbytes data)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-float (zip val)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-image (zip image)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-int (zip val)
Package

tcod.

Source

tcod.lisp.

Function: zip-put-string (zip val)
Package

tcod.

Source

tcod.lisp.

Function: zip-save-to-file (zip filename)
Package

tcod.

Source

tcod.lisp.

Function: zip-skip-bytes (zip nbytes)
Package

tcod.

Source

tcod.lisp.


5.1.4 Structures

Structure: key

The structure used by CL-TCOD to represent key-press events. Corresponds to the structure used by libtcod.

Package

tcod.

Source

tcod.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: vk
Type

keyword

Initform

:none

Readers

key-vk.

Writers

(setf key-vk).

Slot: c
Type

character

Initform

#\nul

Readers

key-c.

Writers

(setf key-c).

Slot: pressed
Type

boolean

Readers

key-pressed.

Writers

(setf key-pressed).

Slot: lalt
Type

boolean

Readers

key-lalt.

Writers

(setf key-lalt).

Slot: lctrl
Type

boolean

Readers

key-lctrl.

Writers

(setf key-lctrl).

Slot: lmeta
Type

boolean

Readers

key-lmeta.

Writers

(setf key-lmeta).

Slot: ralt
Type

boolean

Readers

key-ralt.

Writers

(setf key-ralt).

Slot: rctrl
Type

boolean

Readers

key-rctrl.

Writers

(setf key-rctrl).

Slot: rmeta
Type

boolean

Readers

key-rmeta.

Writers

(setf key-rmeta).

Slot: shift
Type

boolean

Readers

key-shift.

Writers

(setf key-shift).

Structure: mouse

Structure used by CL-TCOD to represent mouse status.

Package

tcod.

Source

tcod.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: x
Type

tcod::uint16

Initform

0

Readers

mouse-x.

Writers

(setf mouse-x).

Slot: y
Type

tcod::uint16

Initform

0

Readers

mouse-y.

Writers

(setf mouse-y).

Slot: dx
Type

tcod::sint16

Initform

0

Readers

mouse-dx.

Writers

(setf mouse-dx).

Slot: dy
Type

tcod::sint16

Initform

0

Readers

mouse-dy.

Writers

(setf mouse-dy).

Slot: cx
Type

tcod::uint16

Initform

0

Readers

mouse-cx.

Writers

(setf mouse-cx).

Slot: cy
Type

tcod::uint16

Initform

0

Readers

mouse-cy.

Writers

(setf mouse-cy).

Slot: dcx
Type

tcod::sint16

Initform

0

Readers

mouse-dcx.

Writers

(setf mouse-dcx).

Slot: dcy
Type

tcod::sint16

Initform

0

Readers

mouse-dcy.

Writers

(setf mouse-dcy).

Slot: lbutton
Type

boolean

Readers

mouse-lbutton.

Writers

(setf mouse-lbutton).

Slot: rbutton
Type

boolean

Readers

mouse-rbutton.

Writers

(setf mouse-rbutton).

Slot: mbutton
Type

boolean

Readers

mouse-mbutton.

Writers

(setf mouse-mbutton).

Slot: lbutton-pressed
Type

boolean

Readers

mouse-lbutton-pressed.

Writers

(setf mouse-lbutton-pressed).

Slot: rbutton-pressed
Type

boolean

Readers

mouse-rbutton-pressed.

Writers

(setf mouse-rbutton-pressed).

Slot: mbutton-pressed
Type

boolean

Readers

mouse-mbutton-pressed.

Writers

(setf mouse-mbutton-pressed).

Slot: wheel-up
Type

boolean

Readers

mouse-wheel-up.

Writers

(setf mouse-wheel-up).

Slot: wheel-down
Type

boolean

Readers

mouse-wheel-down.

Writers

(setf mouse-wheel-down).


5.1.5 Types

Type: a*-path ()
Package

tcod.

Source

tcod.lisp.

Type: background-flag ()
Package

tcod.

Source

tcod.lisp.

Type: colctrl ()
Package

tcod.

Source

tcod.lisp.

Type: console ()
Package

tcod.

Source

tcod.lisp.

Type: dijkstra-path ()
Package

tcod.

Source

tcod.lisp.

Type: drawing-character ()
Package

tcod.

Source

tcod.lisp.

Type: fov-algorithm ()
Package

tcod.

Source

tcod.lisp.

Type: key-state ()
Package

tcod.

Source

tcod.lisp.

Type: keycode ()
Package

tcod.

Source

tcod.lisp.

Type: mapptr ()
Package

tcod.

Source

tcod.lisp.

Type: zipptr ()
Package

tcod.

Source

tcod.lisp.


5.2 Internals


5.2.1 Constants

Constant: +noise-default-hurst+

Default Hurst exponent for noise functions.

Package

tcod.

Source

tcod.lisp.

Constant: +noise-default-lacunarity+

Default lacunarity for noise functions.

Package

tcod.

Source

tcod.lisp.


5.2.2 Special variables

Special Variable: *colour-table*
Package

tcod.

Source

tcod.lisp.

Special Variable: *console-height-table*
Package

tcod.

Source

tcod.lisp.

Special Variable: *console-width-table*
Package

tcod.

Source

tcod.lisp.

Special Variable: *initial-colours*
Package

tcod.

Source

tcod.lisp.

Special Variable: *libsdl2-loaded*
Package

tcod.

Source

tcod.lisp.

Special Variable: *libtcod-loaded*

Global variable, set to non-nil once libtcod is loaded. This is to avoid crashes which occur in some CL implementations when you load an already-loaded foreign library.

Package

tcod.

Source

tcod.lisp.

Special Variable: *root-console-initialised?*

Set to T once ‘console-init-root’ has been called.

Package

tcod.

Source

tcod.lisp.


5.2.3 Macros

Macro: %console-get-height-rect (con x y w h fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-get-height-rect-utf (con x y w h fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print (con x y fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-double-frame (con x y width height empty? flag fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-ex (con x y flag align fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-ex-utf (con x y flag align fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-frame (con x y width height empty? flag fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-rect (con x y w h fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-rect-ex (con x y w h flag align fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-rect-ex-utf (con x y w h flag align fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-rect-utf (con x y w h fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: %console-print-utf (con x y fmt &rest varargs0)
Package

tcod.

Source

tcod.lisp.

Macro: clamp (low hi expr)

Return the numeric value of EXPR, constrained to the range [LOW ... HI].

Package

tcod.

Source

tcod.lisp.

Macro: define-c-bitfield (name &rest clauses)

Defines both the CFFI bitfield, and a lisp type of the same name, which is satisfied by a list containing only bitfield keywords as members.

Package

tcod.

Source

tcod.lisp.

Macro: define-c-enum (name &rest vals)

Defines both the CFFI =enum= type, and a lisp type of the same
name which is satisified by any of the values allowed by the enum type.

Package

tcod.

Source

tcod.lisp.

Macro: define-c-function ((foreign-fn-name fn-name) return-type args &body body)

Format is similar to =CFFI:DEFCFUN=, except that:
1. The function arguments are wrapped in a set of outer parentheses.
2. Everything after this ‘arguments’ term is considered to be the body
of the wrapper function. Within this body, the macro =(call-it)=
will call the actual C function. If =call-it= is called with no arguments, it will pass all the arguments given to the wrapper function, to the
C function. Otherwise it will pass whatever arguments it is given, to the C function (similar to =call-next-method=).
3. If there is nothing after the function arguments, then the wrapper function body will automatically consist of a single call to the underlying
C function.

Package

tcod.

Source

tcod.lisp.

Macro: define-c-type (name foreign-type)

Define both a CFFI foreign type, and a corresponding lisp type of the same name.

Package

tcod.

Source

tcod.lisp.


5.2.4 Ordinary functions

Function: %%%console-map-string-to-font-utf (str fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: %%%heightmap-add-voronoi (heightmap num-points num-coefs coef-ptr rng)
Package

tcod.

Source

tcod.lisp.

Function: %%%heightmap-get-normal (heightmap x y n water-level)
Package

tcod.

Source

tcod.lisp.

Function: %%%heightmap-kernel-transform (heightmap kernel-size dx-ptr dy-ptr weight-ptr min-level max-level)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-contains? (node cx cy)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-delete (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-father (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-find-node (node cx cy)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-is-leaf? (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-left (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-new-with-size (x y w h)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-remove-sons (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-resize (node x y w h)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-right (node)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-split-once (node horizontal? pos)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-split-recursive (node randomiser nb min-h-size min-v-size max-h-ratio max-v-ratio)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-traverse-in-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-traverse-inverted-level-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-traverse-level-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-traverse-post-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: %%bsp-traverse-pre-order (node callback userdata)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-add (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-equals? (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-lerp (c1 c2 coef)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-multiply (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-multiply-scalar (c1 value)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-set-hsv (con hue sat v)
Package

tcod.

Source

tcod.lisp.

Function: %%colour-subtract (c1 c2)
Package

tcod.

Source

tcod.lisp.

Function: %%console-blit (src xsrc ysrc wsrc hsrc dest xdest ydest foreground-alpha background-alpha)
Package

tcod.

Source

tcod.lisp.

Function: %%console-clear (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-credits ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-credits-render (x y alpha)
Package

tcod.

Source

tcod.lisp.

Function: %%console-credits-reset ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-delete (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-disable-keyboard-repeat ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-flush ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-alignment (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-background-flag (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-char (con x y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-char-background (con x y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-char-foreground (con x y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-default-background (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-default-foreground (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-fade ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-fading-color ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-height (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-get-width (con)
Package

tcod.

Source

tcod.lisp.

Function: %%console-hline (con x y len flag)
Package

tcod.

Source

tcod.lisp.

Function: %%console-is-fullscreen? ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-is-window-closed? ()
Package

tcod.

Source

tcod.lisp.

Function: %%console-map-ascii-code-to-font (asciicode fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-map-ascii-codes-to-font (asciicode num-codes fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-map-string-to-font (str fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: %%console-new (width height)
Package

tcod.

Source

tcod.lisp.

Function: %%console-print-return-string (con x y rw rh flag align str can-split? count-only?)
Package

tcod.

Source

tcod.lisp.

Function: %%console-put-char (con x y ch flag)
Package

tcod.

Source

tcod.lisp.

Function: %%console-put-char-ex (con x y ch fg bg)
Package

tcod.

Source

tcod.lisp.

Function: %%console-rect (con x y width height clear? flag)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-alignment (con align)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-background-flag (con flag)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-char-background (con x y col flag)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-char-foreground (con x y col)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-colour-control (control-num fore back)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-default-background (con col)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-default-foreground (con col)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-dirty (rootx rooty width height)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-fade (val fade)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-fullscreen (full?)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-keyboard-repeat (initial-delay interval)
Package

tcod.

Source

tcod.lisp.

Function: %%console-set-window-title (title)
Package

tcod.

Source

tcod.lisp.

Function: %%console-vline (con x y len flag)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-compute (dijkstra-path rootx rooty)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-delete (dijkstra-path)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-get-distance (dijkstra-path to-x to-y)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-is-empty? (dijkstra-path)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-new (map diagonal-cost)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-new-using-function (xdim ydim callback user-data diagonal-cost)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-path-set (dijkstra-path to-x to-y)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-reverse (dijkstra-path)
Package

tcod.

Source

tcod.lisp.

Function: %%dijkstra-size (dijkstra-path)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-add (heightmap value)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-add-fbm (heightmap noise mulx muly addx addy octaves delta scale)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-add-hill (heightmap hx hy hradius hheight)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-add-hm (hm1 hm2 result)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-clamp (heightmap min max)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-clear (heightmap)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-copy (source dest)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-count-cells (heightmap min max)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-delete (heightmap)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-dig-hill (heightmap hx hy hradius hheight)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-get-interpolated-value (heightmap x y)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-get-slope (heightmap x y)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-get-value (heightmap x y)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-has-land-on-border? (heightmap waterlevel)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-islandify (heightmap sea-level rng)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-lerp-hm (hm1 hm2 result coef)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-multiply-hm (hm1 hm2 result)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-new (width height)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-normalize (heightmap min max)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-scale (heightmap factor)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-scale-fbm (heightmap noise mulx muly addx addy octaves delta scale)
Package

tcod.

Source

tcod.lisp.

Function: %%heightmap-set-value (heightmap x y value)
Package

tcod.

Source

tcod.lisp.

Function: %%image-blit (image con x y flag scalex scaley angle)
Package

tcod.

Source

tcod.lisp.

Function: %%image-blit-2x (image dest dx dy sx sy width height)
Package

tcod.

Source

tcod.lisp.

Function: %%image-blit-rect (image con x y width height flag)
Package

tcod.

Source

tcod.lisp.

Function: %%image-clear (image colour)
Package

tcod.

Source

tcod.lisp.

Function: %%image-delete (image)
Package

tcod.

Source

tcod.lisp.

Function: %%image-from-console (con)
Package

tcod.

Source

tcod.lisp.

Function: %%image-get-alpha (image x y)
Package

tcod.

Source

tcod.lisp.

Function: %%image-get-mipmap-pixel (image x0 y0 x1 y1)
Package

tcod.

Source

tcod.lisp.

Function: %%image-get-pixel (image pixel-x pixel-y)
Package

tcod.

Source

tcod.lisp.

Function: %%image-hflip (image)
Package

tcod.

Source

tcod.lisp.

Function: %%image-invert (image)
Package

tcod.

Source

tcod.lisp.

Function: %%image-is-pixel-transparent? (image x y)
Package

tcod.

Source

tcod.lisp.

Function: %%image-load (filename)
Package

tcod.

Source

tcod.lisp.

Function: %%image-new (width height)
Package

tcod.

Source

tcod.lisp.

Function: %%image-put-pixel (image pixel-x pixel-y colour)
Package

tcod.

Source

tcod.lisp.

Function: %%image-refresh-console (image con)
Package

tcod.

Source

tcod.lisp.

Function: %%image-rotate90 (image num-rotations)
Package

tcod.

Source

tcod.lisp.

Function: %%image-save (image filename)
Package

tcod.

Source

tcod.lisp.

Function: %%image-scale (image new-width new-height)
Package

tcod.

Source

tcod.lisp.

Function: %%image-set-key-color (image key-color)
Package

tcod.

Source

tcod.lisp.

Function: %%image-vflip (image)
Package

tcod.

Source

tcod.lisp.

Function: %%is-key-pressed? (code)
Package

tcod.

Source

tcod.lisp.

Function: %%line-init (xfrom yfrom xto yto)
Package

tcod.

Source

tcod.lisp.

Function: %%line-line (xfrom yfrom xto yto callback)
Package

tcod.

Source

tcod.lisp.

Function: %%line-step (xcur ycur)
Package

tcod.

Source

tcod.lisp.

Function: %%map-clear (map transparent? walkable?)
Package

tcod.

Source

tcod.lisp.

Function: %%map-compute-fov (map player-x player-y max-radius light-walls? algorithm)
Package

tcod.

Source

tcod.lisp.

Function: %%map-copy (map-src map-dest)
Package

tcod.

Source

tcod.lisp.

Function: %%map-delete (map)
Package

tcod.

Source

tcod.lisp.

Function: %%map-get-height (map)
Package

tcod.

Source

tcod.lisp.

Function: %%map-get-nb-cells (map)
Package

tcod.

Source

tcod.lisp.

Function: %%map-get-width (map)
Package

tcod.

Source

tcod.lisp.

Function: %%map-is-in-fov? (map x y)
Package

tcod.

Source

tcod.lisp.

Function: %%map-is-transparent? (map x y)
Package

tcod.

Source

tcod.lisp.

Function: %%map-is-walkable? (map x y)
Package

tcod.

Source

tcod.lisp.

Function: %%map-new (width height)
Package

tcod.

Source

tcod.lisp.

Function: %%map-set-in-fov (map x y fov?)
Package

tcod.

Source

tcod.lisp.

Function: %%map-set-properties (map x y transparent? walkable?)
Package

tcod.

Source

tcod.lisp.

Function: %%mouse-is-cursor-visible? ()
Package

tcod.

Source

tcod.lisp.

Function: %%mouse-move (pixel-x pixel-y)
Package

tcod.

Source

tcod.lisp.

Function: %%mouse-show-cursor (visible?)
Package

tcod.

Source

tcod.lisp.

Function: %%namegen-destroy ()
Package

tcod.

Source

tcod.lisp.

Function: %%namegen-generate (name allocate?)
Package

tcod.

Source

tcod.lisp.

Function: %%namegen-generate-custom (name rule allocate?)
Package

tcod.

Source

tcod.lisp.

Function: %%namegen-parse (filename rng)
Package

tcod.

Source

tcod.lisp.

Function: %%noise-delete (noise)
Package

tcod.

Source

tcod.lisp.

Function: %%noise-set-type (noise noise-type)
Package

tcod.

Source

tcod.lisp.

Function: %%path-compute (a*-path ox oy dx dy)
Package

tcod.

Source

tcod.lisp.

Function: %%path-delete (a*-path)
Package

tcod.

Source

tcod.lisp.

Function: %%path-is-empty? (a*-path)
Package

tcod.

Source

tcod.lisp.

Function: %%path-new-using-function (xdim ydim callback user-data diagonal-cost)
Package

tcod.

Source

tcod.lisp.

Function: %%path-new-using-map (map diagonal-cost)
Package

tcod.

Source

tcod.lisp.

Function: %%path-reverse (a*-path)
Package

tcod.

Source

tcod.lisp.

Function: %%path-size (a*-path)
Package

tcod.

Source

tcod.lisp.

Function: %%random-delete (rng)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-double (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-double-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-float (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-float-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-instance ()
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-int (rng min max)
Package

tcod.

Source

tcod.lisp.

Function: %%random-get-int-mean (rng min max mean)
Package

tcod.

Source

tcod.lisp.

Function: %%random-new (algorithm)
Package

tcod.

Source

tcod.lisp.

Function: %%random-new-from-seed (algorithm seed)
Package

tcod.

Source

tcod.lisp.

Function: %%random-restore (rng backup)
Package

tcod.

Source

tcod.lisp.

Function: %%random-save (rng)
Package

tcod.

Source

tcod.lisp.

Function: %%random-set-distribution (rng dist)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-check-for-event (eventmask key mouseptr)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-clipboard-get ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-clipboard-set (text)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-create-directory (path)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-delete-directory (path)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-elapsed-milli ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-elapsed-seconds ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-force-fullscreen-resolution (width height)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-get-fps ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-get-last-frame-length ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-get-renderer ()
Package

tcod.

Source

tcod.lisp.

Function: %%sys-register-sdl-renderer (callback)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-set-fps (val)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-set-renderer (renderer)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-sleep-milli (val)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-update-char (ascii fontx fonty image x y)
Package

tcod.

Source

tcod.lisp.

Function: %%sys-wait-for-event (eventmask key mouseptr flush?)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-delete (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-char (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-console (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-current-bytes (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-data (zip nbytes data)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-float (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-image (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-int (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-remaining-bytes (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-get-string (zip)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-load-from-file (zip filename)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-new ()
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-char (zip ch)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-console (zip con)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-data (zip nbytes data)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-float (zip val)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-image (zip image)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-int (zip val)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-put-string (zip val)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-save-to-file (zip filename)
Package

tcod.

Source

tcod.lisp.

Function: %%zip-skip-bytes (zip nbytes)
Package

tcod.

Source

tcod.lisp.

Function: %console-init-root (width height title fullscreen? renderer)
Package

tcod.

Source

tcod.lisp.

Function: %console-map-string-to-font-utf (str fontchar-x fontchar-y)
Package

tcod.

Source

tcod.lisp.

Function: %console-set-char (con x y ch)
Package

tcod.

Source

tcod.lisp.

Function: %console-set-custom-font (fontfile flags chars-horizontal chars-vertical)
Package

tcod.

Source

tcod.lisp.

Function: %console-wait-for-keypress (flush?)
Package

tcod.

Source

tcod.lisp.

Function: %dijkstra-get (dijkstra-path index xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: %dijkstra-path-walk (dijkstra-path xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-add-voronoi (heightmap num-points num-coefs coef-ptr rng)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-dig-bezier (heightmap px py start-radius start-depth end-radius end-depth)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-get-minmax (heightmap minfloat maxfloat)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-get-normal (heightmap x y n water-level)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-kernel-transform (heightmap kernel-size dx-ptr dy-ptr weight-ptr min-level max-level)
Package

tcod.

Source

tcod.lisp.

Function: %heightmap-rain-erosion (heightmap num-drops erosion-coef sediment-coef randomptr)
Package

tcod.

Source

tcod.lisp.

Function: %image-get-size (image widthptr heightptr)
Package

tcod.

Source

tcod.lisp.

Function: %mouse-get-status (mouseptr)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get (noise f)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get-ex (noise f noise-type)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get-fbm (noise f octaves)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get-fbm-ex (noise f octaves noise-type)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get-turbulence (noise f octaves)
Package

tcod.

Source

tcod.lisp.

Function: %noise-get-turbulence-ex (noise f octaves noise-type)
Package

tcod.

Source

tcod.lisp.

Function: %noise-new (dimensions hurst lacunarity randomptr)
Package

tcod.

Source

tcod.lisp.

Function: %path-get (a*-path index xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: %path-get-destination (a*-path xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: %path-get-origin (a*-path xptr yptr)
Package

tcod.

Source

tcod.lisp.

Function: %path-walk (a*-path xptr yptr recalc-when-needed?)
Package

tcod.

Source

tcod.lisp.

Function: %sys-get-char-size (widthptr heightptr)
Package

tcod.

Source

tcod.lisp.

Function: %sys-get-fullscreen-offsets (offx-ptr offy-ptr)
Package

tcod.

Source

tcod.lisp.

Function: %sys-save-screenshot (filename)
Package

tcod.

Source

tcod.lisp.

Function: c-type->lisp-type (c-type)

Given a CFFI foreign type, return an equivalent lisp type.

Package

tcod.

Source

tcod.lisp.

Function: colour-scale-hsv (colour scoef vcoef)
Package

tcod.

Source

tcod.lisp.

Function: console-credits-render (x y alpha)
Package

tcod.

Source

tcod.lisp.

Function: console-get-height-rect-utf (con x y w h fmt &rest args)
Package

tcod.

Source

tcod.lisp.

Function: console-print-return-string (con x y rw rh flag align str can-split? count-only?)
Package

tcod.

Source

tcod.lisp.

Function: copy-key (instance)
Package

tcod.

Source

tcod.lisp.

Function: copy-mouse (instance)
Package

tcod.

Source

tcod.lisp.

Function: custom-font-flags-predicate (ls)
Package

tcod.

Source

tcod.lisp.

Function: get-bit (n pos)

Return the bit at position POS within the integer N (represented as a bitfield). POS = 1 refers to the 1’s (rightmost) bit.

Package

tcod.

Source

tcod.lisp.

Function: key->keypress (keyptr)
Package

tcod.

Source

tcod.lisp.

Function: key-bitfield->vk (key-bf)
Package

tcod.

Source

tcod.lisp.

Function: key-state-predicate (ls)
Package

tcod.

Source

tcod.lisp.

Function: make-rgb.txt-colours ()
Package

tcod.

Source

tcod-colours.lisp.

Reader: mouse-dcx (instance)
Writer: (setf mouse-dcx) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

dcx.

Reader: mouse-dcy (instance)
Writer: (setf mouse-dcy) (instance)
Package

tcod.

Source

tcod.lisp.

Target Slot

dcy.

Function: mouse-p (object)
Package

tcod.

Source

tcod.lisp.

Function: parse-mouse-state (mouseptr)
Package

tcod.

Source

tcod.lisp.

Function: prepend-percent (sym)
Package

tcod.

Source

tcod.lisp.

Function: simple-type? (sym)

* Arguments
- SYM :: A symbol.
* Return Value
Boolean.
* Description
Returns =T= if =SYM= names a non-class type, such as can be defined by [[deftype]].

Package

tcod.

Source

tcod.lisp.

Function: sys-get-current-resolution-x ()
Package

tcod.

Source

tcod.lisp.

Function: sys-get-current-resolution-y ()
Package

tcod.

Source

tcod.lisp.


5.2.5 Classes

Class: colour-struct-tclass
Package

tcod.

Source

tcod.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: key-press-tclass
Package

tcod.

Source

tcod.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: mouse-state-tclass
Package

tcod.

Source

tcod.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.

5.2.6 Types

Type: alignment ()
Package

tcod.

Source

tcod.lisp.

Type: bsp-ptr ()
Package

tcod.

Source

tcod.lisp.

Type: colournum ()
Package

tcod.

Source

tcod.lisp.

Type: custom-font-flags ()
Package

tcod.

Source

tcod.lisp.

Type: event ()
Package

tcod.

Source

tcod.lisp.

Type: heightmap-ptr ()
Package

tcod.

Source

tcod.lisp.

Type: image ()
Package

tcod.

Source

tcod.lisp.

Type: int ()
Package

tcod.

Source

tcod.lisp.

Type: noise ()
Package

tcod.

Source

tcod.lisp.

Type: noise-type ()
Package

tcod.

Source

tcod.lisp.

Type: parser ()
Package

tcod.

Source

tcod.lisp.

Type: randomptr ()
Package

tcod.

Source

tcod.lisp.

Type: renderer ()
Package

tcod.

Source

tcod.lisp.

Type: rng-algorithm ()
Package

tcod.

Source

tcod.lisp.

Type: rng-distribution ()
Package

tcod.

Source

tcod.lisp.

Type: signed-char ()
Package

tcod.

Source

tcod.lisp.

Type: sint16 ()
Package

tcod.

Source

tcod.lisp.

Type: uchar ()
Package

tcod.

Source

tcod.lisp.

Type: ucoord ()
Package

tcod.

Source

tcod.lisp.

Type: uint ()
Package

tcod.

Source

tcod.lisp.

Type: uint16 ()
Package

tcod.

Source

tcod.lisp.

Type: uint24 ()
Package

tcod.

Source

tcod.lisp.

Type: uint32 ()
Package

tcod.

Source

tcod.lisp.

Type: uint8 ()
Package

tcod.

Source

tcod.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
B   C   D   F   G   H   I   K   L   M   N   P   R   S   Z  
Index Entry  Section

%
%%%console-map-string-to-font-utf: Private ordinary functions
%%%heightmap-add-voronoi: Private ordinary functions
%%%heightmap-get-normal: Private ordinary functions
%%%heightmap-kernel-transform: Private ordinary functions
%%bsp-contains?: Private ordinary functions
%%bsp-delete: Private ordinary functions
%%bsp-father: Private ordinary functions
%%bsp-find-node: Private ordinary functions
%%bsp-is-leaf?: Private ordinary functions
%%bsp-left: Private ordinary functions
%%bsp-new-with-size: Private ordinary functions
%%bsp-remove-sons: Private ordinary functions
%%bsp-resize: Private ordinary functions
%%bsp-right: Private ordinary functions
%%bsp-split-once: Private ordinary functions
%%bsp-split-recursive: Private ordinary functions
%%bsp-traverse-in-order: Private ordinary functions
%%bsp-traverse-inverted-level-order: Private ordinary functions
%%bsp-traverse-level-order: Private ordinary functions
%%bsp-traverse-post-order: Private ordinary functions
%%bsp-traverse-pre-order: Private ordinary functions
%%colour-add: Private ordinary functions
%%colour-equals?: Private ordinary functions
%%colour-lerp: Private ordinary functions
%%colour-multiply: Private ordinary functions
%%colour-multiply-scalar: Private ordinary functions
%%colour-set-hsv: Private ordinary functions
%%colour-subtract: Private ordinary functions
%%console-blit: Private ordinary functions
%%console-clear: Private ordinary functions
%%console-credits: Private ordinary functions
%%console-credits-render: Private ordinary functions
%%console-credits-reset: Private ordinary functions
%%console-delete: Private ordinary functions
%%console-disable-keyboard-repeat: Private ordinary functions
%%console-flush: Private ordinary functions
%%console-get-alignment: Private ordinary functions
%%console-get-background-flag: Private ordinary functions
%%console-get-char: Private ordinary functions
%%console-get-char-background: Private ordinary functions
%%console-get-char-foreground: Private ordinary functions
%%console-get-default-background: Private ordinary functions
%%console-get-default-foreground: Private ordinary functions
%%console-get-fade: Private ordinary functions
%%console-get-fading-color: Private ordinary functions
%%console-get-height: Private ordinary functions
%%console-get-width: Private ordinary functions
%%console-hline: Private ordinary functions
%%console-is-fullscreen?: Private ordinary functions
%%console-is-window-closed?: Private ordinary functions
%%console-map-ascii-code-to-font: Private ordinary functions
%%console-map-ascii-codes-to-font: Private ordinary functions
%%console-map-string-to-font: Private ordinary functions
%%console-new: Private ordinary functions
%%console-print-return-string: Private ordinary functions
%%console-put-char: Private ordinary functions
%%console-put-char-ex: Private ordinary functions
%%console-rect: Private ordinary functions
%%console-set-alignment: Private ordinary functions
%%console-set-background-flag: Private ordinary functions
%%console-set-char-background: Private ordinary functions
%%console-set-char-foreground: Private ordinary functions
%%console-set-colour-control: Private ordinary functions
%%console-set-default-background: Private ordinary functions
%%console-set-default-foreground: Private ordinary functions
%%console-set-dirty: Private ordinary functions
%%console-set-fade: Private ordinary functions
%%console-set-fullscreen: Private ordinary functions
%%console-set-keyboard-repeat: Private ordinary functions
%%console-set-window-title: Private ordinary functions
%%console-vline: Private ordinary functions
%%dijkstra-compute: Private ordinary functions
%%dijkstra-delete: Private ordinary functions
%%dijkstra-get-distance: Private ordinary functions
%%dijkstra-is-empty?: Private ordinary functions
%%dijkstra-new: Private ordinary functions
%%dijkstra-new-using-function: Private ordinary functions
%%dijkstra-path-set: Private ordinary functions
%%dijkstra-reverse: Private ordinary functions
%%dijkstra-size: Private ordinary functions
%%heightmap-add: Private ordinary functions
%%heightmap-add-fbm: Private ordinary functions
%%heightmap-add-hill: Private ordinary functions
%%heightmap-add-hm: Private ordinary functions
%%heightmap-clamp: Private ordinary functions
%%heightmap-clear: Private ordinary functions
%%heightmap-copy: Private ordinary functions
%%heightmap-count-cells: Private ordinary functions
%%heightmap-delete: Private ordinary functions
%%heightmap-dig-hill: Private ordinary functions
%%heightmap-get-interpolated-value: Private ordinary functions
%%heightmap-get-slope: Private ordinary functions
%%heightmap-get-value: Private ordinary functions
%%heightmap-has-land-on-border?: Private ordinary functions
%%heightmap-islandify: Private ordinary functions
%%heightmap-lerp-hm: Private ordinary functions
%%heightmap-multiply-hm: Private ordinary functions
%%heightmap-new: Private ordinary functions
%%heightmap-normalize: Private ordinary functions
%%heightmap-scale: Private ordinary functions
%%heightmap-scale-fbm: Private ordinary functions
%%heightmap-set-value: Private ordinary functions
%%image-blit: Private ordinary functions
%%image-blit-2x: Private ordinary functions
%%image-blit-rect: Private ordinary functions
%%image-clear: Private ordinary functions
%%image-delete: Private ordinary functions
%%image-from-console: Private ordinary functions
%%image-get-alpha: Private ordinary functions
%%image-get-mipmap-pixel: Private ordinary functions
%%image-get-pixel: Private ordinary functions
%%image-hflip: Private ordinary functions
%%image-invert: Private ordinary functions
%%image-is-pixel-transparent?: Private ordinary functions
%%image-load: Private ordinary functions
%%image-new: Private ordinary functions
%%image-put-pixel: Private ordinary functions
%%image-refresh-console: Private ordinary functions
%%image-rotate90: Private ordinary functions
%%image-save: Private ordinary functions
%%image-scale: Private ordinary functions
%%image-set-key-color: Private ordinary functions
%%image-vflip: Private ordinary functions
%%is-key-pressed?: Private ordinary functions
%%line-init: Private ordinary functions
%%line-line: Private ordinary functions
%%line-step: Private ordinary functions
%%map-clear: Private ordinary functions
%%map-compute-fov: Private ordinary functions
%%map-copy: Private ordinary functions
%%map-delete: Private ordinary functions
%%map-get-height: Private ordinary functions
%%map-get-nb-cells: Private ordinary functions
%%map-get-width: Private ordinary functions
%%map-is-in-fov?: Private ordinary functions
%%map-is-transparent?: Private ordinary functions
%%map-is-walkable?: Private ordinary functions
%%map-new: Private ordinary functions
%%map-set-in-fov: Private ordinary functions
%%map-set-properties: Private ordinary functions
%%mouse-is-cursor-visible?: Private ordinary functions
%%mouse-move: Private ordinary functions
%%mouse-show-cursor: Private ordinary functions
%%namegen-destroy: Private ordinary functions
%%namegen-generate: Private ordinary functions
%%namegen-generate-custom: Private ordinary functions
%%namegen-parse: Private ordinary functions
%%noise-delete: Private ordinary functions
%%noise-set-type: Private ordinary functions
%%path-compute: Private ordinary functions
%%path-delete: Private ordinary functions
%%path-is-empty?: Private ordinary functions
%%path-new-using-function: Private ordinary functions
%%path-new-using-map: Private ordinary functions
%%path-reverse: Private ordinary functions
%%path-size: Private ordinary functions
%%random-delete: Private ordinary functions
%%random-get-double: Private ordinary functions
%%random-get-double-mean: Private ordinary functions
%%random-get-float: Private ordinary functions
%%random-get-float-mean: Private ordinary functions
%%random-get-instance: Private ordinary functions
%%random-get-int: Private ordinary functions
%%random-get-int-mean: Private ordinary functions
%%random-new: Private ordinary functions
%%random-new-from-seed: Private ordinary functions
%%random-restore: Private ordinary functions
%%random-save: Private ordinary functions
%%random-set-distribution: Private ordinary functions
%%sys-check-for-event: Private ordinary functions
%%sys-clipboard-get: Private ordinary functions
%%sys-clipboard-set: Private ordinary functions
%%sys-create-directory: Private ordinary functions
%%sys-delete-directory: Private ordinary functions
%%sys-elapsed-milli: Private ordinary functions
%%sys-elapsed-seconds: Private ordinary functions
%%sys-force-fullscreen-resolution: Private ordinary functions
%%sys-get-fps: Private ordinary functions
%%sys-get-last-frame-length: Private ordinary functions
%%sys-get-renderer: Private ordinary functions
%%sys-register-sdl-renderer: Private ordinary functions
%%sys-set-fps: Private ordinary functions
%%sys-set-renderer: Private ordinary functions
%%sys-sleep-milli: Private ordinary functions
%%sys-update-char: Private ordinary functions
%%sys-wait-for-event: Private ordinary functions
%%zip-delete: Private ordinary functions
%%zip-get-char: Private ordinary functions
%%zip-get-console: Private ordinary functions
%%zip-get-current-bytes: Private ordinary functions
%%zip-get-data: Private ordinary functions
%%zip-get-float: Private ordinary functions
%%zip-get-image: Private ordinary functions
%%zip-get-int: Private ordinary functions
%%zip-get-remaining-bytes: Private ordinary functions
%%zip-get-string: Private ordinary functions
%%zip-load-from-file: Private ordinary functions
%%zip-new: Private ordinary functions
%%zip-put-char: Private ordinary functions
%%zip-put-console: Private ordinary functions
%%zip-put-data: Private ordinary functions
%%zip-put-float: Private ordinary functions
%%zip-put-image: Private ordinary functions
%%zip-put-int: Private ordinary functions
%%zip-put-string: Private ordinary functions
%%zip-save-to-file: Private ordinary functions
%%zip-skip-bytes: Private ordinary functions
%console-get-height-rect: Private macros
%console-get-height-rect-utf: Private macros
%console-init-root: Private ordinary functions
%console-map-string-to-font-utf: Private ordinary functions
%console-print: Private macros
%console-print-double-frame: Private macros
%console-print-ex: Private macros
%console-print-ex-utf: Private macros
%console-print-frame: Private macros
%console-print-rect: Private macros
%console-print-rect-ex: Private macros
%console-print-rect-ex-utf: Private macros
%console-print-rect-utf: Private macros
%console-print-utf: Private macros
%console-set-char: Private ordinary functions
%console-set-custom-font: Private ordinary functions
%console-wait-for-keypress: Private ordinary functions
%dijkstra-get: Private ordinary functions
%dijkstra-path-walk: Private ordinary functions
%heightmap-add-voronoi: Private ordinary functions
%heightmap-dig-bezier: Private ordinary functions
%heightmap-get-minmax: Private ordinary functions
%heightmap-get-normal: Private ordinary functions
%heightmap-kernel-transform: Private ordinary functions
%heightmap-rain-erosion: Private ordinary functions
%image-get-size: Private ordinary functions
%mouse-get-status: Private ordinary functions
%noise-get: Private ordinary functions
%noise-get-ex: Private ordinary functions
%noise-get-fbm: Private ordinary functions
%noise-get-fbm-ex: Private ordinary functions
%noise-get-turbulence: Private ordinary functions
%noise-get-turbulence-ex: Private ordinary functions
%noise-new: Private ordinary functions
%path-get: Private ordinary functions
%path-get-destination: Private ordinary functions
%path-get-origin: Private ordinary functions
%path-walk: Private ordinary functions
%sys-get-char-size: Private ordinary functions
%sys-get-fullscreen-offsets: Private ordinary functions
%sys-save-screenshot: Private ordinary functions

(
(setf key-c): Public ordinary functions
(setf key-lalt): Public ordinary functions
(setf key-lctrl): Public ordinary functions
(setf key-lmeta): Public ordinary functions
(setf key-pressed): Public ordinary functions
(setf key-ralt): Public ordinary functions
(setf key-rctrl): Public ordinary functions
(setf key-rmeta): Public ordinary functions
(setf key-shift): Public ordinary functions
(setf key-vk): Public ordinary functions
(setf mouse-cx): Public ordinary functions
(setf mouse-cy): Public ordinary functions
(setf mouse-dcx): Private ordinary functions
(setf mouse-dcy): Private ordinary functions
(setf mouse-dx): Public ordinary functions
(setf mouse-dy): Public ordinary functions
(setf mouse-lbutton): Public ordinary functions
(setf mouse-lbutton-pressed): Public ordinary functions
(setf mouse-mbutton): Public ordinary functions
(setf mouse-mbutton-pressed): Public ordinary functions
(setf mouse-rbutton): Public ordinary functions
(setf mouse-rbutton-pressed): Public ordinary functions
(setf mouse-wheel-down): Public ordinary functions
(setf mouse-wheel-up): Public ordinary functions
(setf mouse-x): Public ordinary functions
(setf mouse-y): Public ordinary functions

B
background-add-alpha: Public ordinary functions
background-alpha: Public ordinary functions
bsp-contains?: Public ordinary functions
bsp-delete: Public ordinary functions
bsp-father: Public ordinary functions
bsp-find-node: Public ordinary functions
bsp-is-leaf?: Public ordinary functions
bsp-left: Public ordinary functions
bsp-new-with-size: Public ordinary functions
bsp-remove-sons: Public ordinary functions
bsp-resize: Public ordinary functions
bsp-right: Public ordinary functions
bsp-split-once: Public ordinary functions
bsp-split-recursive: Public ordinary functions
bsp-traverse-in-order: Public ordinary functions
bsp-traverse-inverted-level-order: Public ordinary functions
bsp-traverse-level-order: Public ordinary functions
bsp-traverse-post-order: Public ordinary functions
bsp-traverse-pre-order: Public ordinary functions

C
c-type->lisp-type: Private ordinary functions
clamp: Private macros
colctrl->char: Public ordinary functions
color: Public ordinary functions
color->grayscale: Public ordinary functions
color->keyword: Public ordinary functions
color-add: Public ordinary functions
color-equals?: Public ordinary functions
color-get-hsv: Public ordinary functions
color-get-hue: Public ordinary functions
color-get-saturation: Public ordinary functions
color-get-value: Public ordinary functions
color-hsv: Public ordinary functions
color-lerp: Public ordinary functions
color-multiply: Public ordinary functions
color-multiply-scalar: Public ordinary functions
color-rgb: Public ordinary functions
color-set-hsv: Public ordinary functions
color-set-hue: Public ordinary functions
color-set-saturation: Public ordinary functions
color-set-value: Public ordinary functions
color-shift-hue: Public ordinary functions
color-subtract: Public ordinary functions
colour: Public ordinary functions
colour->grayscale: Public ordinary functions
colour->keyword: Public ordinary functions
colour-add: Public ordinary functions
colour-equals?: Public ordinary functions
colour-get-hsv: Public ordinary functions
colour-hsv: Public ordinary functions
colour-lerp: Public ordinary functions
colour-multiply: Public ordinary functions
colour-multiply-scalar: Public ordinary functions
colour-rgb: Public ordinary functions
colour-scale-hsv: Private ordinary functions
colour-set-hsv: Public ordinary functions
colour-set-hue: Public ordinary functions
colour-set-saturation: Public ordinary functions
colour-set-value: Public ordinary functions
colour-shift-hue: Public ordinary functions
colour-subtract: Public ordinary functions
compose-color: Public ordinary functions
compose-colour: Public ordinary functions
console-blit: Public ordinary functions
console-check-for-keypress: Public ordinary functions
console-clear: Public ordinary functions
console-credits: Public ordinary functions
console-credits-render: Private ordinary functions
console-credits-reset: Public ordinary functions
console-delete: Public ordinary functions
console-disable-keyboard-repeat: Public ordinary functions
console-fill-char: Public ordinary functions
console-flush: Public ordinary functions
console-get-alignment: Public ordinary functions
console-get-background-flag: Public ordinary functions
console-get-char: Public ordinary functions
console-get-char-background: Public ordinary functions
console-get-char-foreground: Public ordinary functions
console-get-default-background: Public ordinary functions
console-get-default-foreground: Public ordinary functions
console-get-fade: Public ordinary functions
console-get-fading-color: Public ordinary functions
console-get-fading-colour: Public ordinary functions
console-get-height: Public ordinary functions
console-get-height-rect: Public ordinary functions
console-get-height-rect-utf: Private ordinary functions
console-get-width: Public ordinary functions
console-hline: Public ordinary functions
console-init-root: Public ordinary functions
console-initialised?: Public ordinary functions
console-is-fullscreen?: Public ordinary functions
console-is-window-closed?: Public ordinary functions
console-map-ascii-code-to-font: Public ordinary functions
console-map-ascii-codes-to-font: Public ordinary functions
console-map-string-to-font: Public ordinary functions
console-map-string-to-font-utf: Public ordinary functions
console-new: Public ordinary functions
console-print: Public ordinary functions
console-print-double-frame: Public ordinary functions
console-print-ex: Public ordinary functions
console-print-ex-utf: Public ordinary functions
console-print-frame: Public ordinary functions
console-print-rect: Public ordinary functions
console-print-rect-ex: Public ordinary functions
console-print-rect-ex-utf: Public ordinary functions
console-print-rect-utf: Public ordinary functions
console-print-return-string: Private ordinary functions
console-print-utf: Public ordinary functions
console-put-char: Public ordinary functions
console-put-char-ex: Public ordinary functions
console-rect: Public ordinary functions
console-set-alignment: Public ordinary functions
console-set-background-flag: Public ordinary functions
console-set-char: Public ordinary functions
console-set-char-background: Public ordinary functions
console-set-char-foreground: Public ordinary functions
console-set-color-control: Public ordinary functions
console-set-colour-control: Public ordinary functions
console-set-custom-font: Public ordinary functions
console-set-default-background: Public ordinary functions
console-set-default-foreground: Public ordinary functions
console-set-dirty: Public ordinary functions
console-set-fade: Public ordinary functions
console-set-fullscreen: Public ordinary functions
console-set-keyboard-repeat: Public ordinary functions
console-set-window-title: Public ordinary functions
console-vline: Public ordinary functions
console-wait-for-keypress: Public ordinary functions
copy-key: Private ordinary functions
copy-mouse: Private ordinary functions
custom-font-flags-predicate: Private ordinary functions

D
decompose-color: Public ordinary functions
decompose-colour: Public ordinary functions
define-c-bitfield: Private macros
define-c-enum: Private macros
define-c-function: Private macros
define-c-type: Private macros
dijkstra-compute: Public ordinary functions
dijkstra-delete: Public ordinary functions
dijkstra-get: Public ordinary functions
dijkstra-get-distance: Public ordinary functions
dijkstra-is-empty?: Public ordinary functions
dijkstra-new: Public ordinary functions
dijkstra-new-using-function: Public ordinary functions
dijkstra-path-set: Public ordinary functions
dijkstra-path-walk: Public ordinary functions
dijkstra-reverse: Public ordinary functions
dijkstra-size: Public ordinary functions

F
Function, %%%console-map-string-to-font-utf: Private ordinary functions
Function, %%%heightmap-add-voronoi: Private ordinary functions
Function, %%%heightmap-get-normal: Private ordinary functions
Function, %%%heightmap-kernel-transform: Private ordinary functions
Function, %%bsp-contains?: Private ordinary functions
Function, %%bsp-delete: Private ordinary functions
Function, %%bsp-father: Private ordinary functions
Function, %%bsp-find-node: Private ordinary functions
Function, %%bsp-is-leaf?: Private ordinary functions
Function, %%bsp-left: Private ordinary functions
Function, %%bsp-new-with-size: Private ordinary functions
Function, %%bsp-remove-sons: Private ordinary functions
Function, %%bsp-resize: Private ordinary functions
Function, %%bsp-right: Private ordinary functions
Function, %%bsp-split-once: Private ordinary functions
Function, %%bsp-split-recursive: Private ordinary functions
Function, %%bsp-traverse-in-order: Private ordinary functions
Function, %%bsp-traverse-inverted-level-order: Private ordinary functions
Function, %%bsp-traverse-level-order: Private ordinary functions
Function, %%bsp-traverse-post-order: Private ordinary functions
Function, %%bsp-traverse-pre-order: Private ordinary functions
Function, %%colour-add: Private ordinary functions
Function, %%colour-equals?: Private ordinary functions
Function, %%colour-lerp: Private ordinary functions
Function, %%colour-multiply: Private ordinary functions
Function, %%colour-multiply-scalar: Private ordinary functions
Function, %%colour-set-hsv: Private ordinary functions
Function, %%colour-subtract: Private ordinary functions
Function, %%console-blit: Private ordinary functions
Function, %%console-clear: Private ordinary functions
Function, %%console-credits: Private ordinary functions
Function, %%console-credits-render: Private ordinary functions
Function, %%console-credits-reset: Private ordinary functions
Function, %%console-delete: Private ordinary functions
Function, %%console-disable-keyboard-repeat: Private ordinary functions
Function, %%console-flush: Private ordinary functions
Function, %%console-get-alignment: Private ordinary functions
Function, %%console-get-background-flag: Private ordinary functions
Function, %%console-get-char: Private ordinary functions
Function, %%console-get-char-background: Private ordinary functions
Function, %%console-get-char-foreground: Private ordinary functions
Function, %%console-get-default-background: Private ordinary functions
Function, %%console-get-default-foreground: Private ordinary functions
Function, %%console-get-fade: Private ordinary functions
Function, %%console-get-fading-color: Private ordinary functions
Function, %%console-get-height: Private ordinary functions
Function, %%console-get-width: Private ordinary functions
Function, %%console-hline: Private ordinary functions
Function, %%console-is-fullscreen?: Private ordinary functions
Function, %%console-is-window-closed?: Private ordinary functions
Function, %%console-map-ascii-code-to-font: Private ordinary functions
Function, %%console-map-ascii-codes-to-font: Private ordinary functions
Function, %%console-map-string-to-font: Private ordinary functions
Function, %%console-new: Private ordinary functions
Function, %%console-print-return-string: Private ordinary functions
Function, %%console-put-char: Private ordinary functions
Function, %%console-put-char-ex: Private ordinary functions
Function, %%console-rect: Private ordinary functions
Function, %%console-set-alignment: Private ordinary functions
Function, %%console-set-background-flag: Private ordinary functions
Function, %%console-set-char-background: Private ordinary functions
Function, %%console-set-char-foreground: Private ordinary functions
Function, %%console-set-colour-control: Private ordinary functions
Function, %%console-set-default-background: Private ordinary functions
Function, %%console-set-default-foreground: Private ordinary functions
Function, %%console-set-dirty: Private ordinary functions
Function, %%console-set-fade: Private ordinary functions
Function, %%console-set-fullscreen: Private ordinary functions
Function, %%console-set-keyboard-repeat: Private ordinary functions
Function, %%console-set-window-title: Private ordinary functions
Function, %%console-vline: Private ordinary functions
Function, %%dijkstra-compute: Private ordinary functions
Function, %%dijkstra-delete: Private ordinary functions
Function, %%dijkstra-get-distance: Private ordinary functions
Function, %%dijkstra-is-empty?: Private ordinary functions
Function, %%dijkstra-new: Private ordinary functions
Function, %%dijkstra-new-using-function: Private ordinary functions
Function, %%dijkstra-path-set: Private ordinary functions
Function, %%dijkstra-reverse: Private ordinary functions
Function, %%dijkstra-size: Private ordinary functions
Function, %%heightmap-add: Private ordinary functions
Function, %%heightmap-add-fbm: Private ordinary functions
Function, %%heightmap-add-hill: Private ordinary functions
Function, %%heightmap-add-hm: Private ordinary functions
Function, %%heightmap-clamp: Private ordinary functions
Function, %%heightmap-clear: Private ordinary functions
Function, %%heightmap-copy: Private ordinary functions
Function, %%heightmap-count-cells: Private ordinary functions
Function, %%heightmap-delete: Private ordinary functions
Function, %%heightmap-dig-hill: Private ordinary functions
Function, %%heightmap-get-interpolated-value: Private ordinary functions
Function, %%heightmap-get-slope: Private ordinary functions
Function, %%heightmap-get-value: Private ordinary functions
Function, %%heightmap-has-land-on-border?: Private ordinary functions
Function, %%heightmap-islandify: Private ordinary functions
Function, %%heightmap-lerp-hm: Private ordinary functions
Function, %%heightmap-multiply-hm: Private ordinary functions
Function, %%heightmap-new: Private ordinary functions
Function, %%heightmap-normalize: Private ordinary functions
Function, %%heightmap-scale: Private ordinary functions
Function, %%heightmap-scale-fbm: Private ordinary functions
Function, %%heightmap-set-value: Private ordinary functions
Function, %%image-blit: Private ordinary functions
Function, %%image-blit-2x: Private ordinary functions
Function, %%image-blit-rect: Private ordinary functions
Function, %%image-clear: Private ordinary functions
Function, %%image-delete: Private ordinary functions
Function, %%image-from-console: Private ordinary functions
Function, %%image-get-alpha: Private ordinary functions
Function, %%image-get-mipmap-pixel: Private ordinary functions
Function, %%image-get-pixel: Private ordinary functions
Function, %%image-hflip: Private ordinary functions
Function, %%image-invert: Private ordinary functions
Function, %%image-is-pixel-transparent?: Private ordinary functions
Function, %%image-load: Private ordinary functions
Function, %%image-new: Private ordinary functions
Function, %%image-put-pixel: Private ordinary functions
Function, %%image-refresh-console: Private ordinary functions
Function, %%image-rotate90: Private ordinary functions
Function, %%image-save: Private ordinary functions
Function, %%image-scale: Private ordinary functions
Function, %%image-set-key-color: Private ordinary functions
Function, %%image-vflip: Private ordinary functions
Function, %%is-key-pressed?: Private ordinary functions
Function, %%line-init: Private ordinary functions
Function, %%line-line: Private ordinary functions
Function, %%line-step: Private ordinary functions
Function, %%map-clear: Private ordinary functions
Function, %%map-compute-fov: Private ordinary functions
Function, %%map-copy: Private ordinary functions
Function, %%map-delete: Private ordinary functions
Function, %%map-get-height: Private ordinary functions
Function, %%map-get-nb-cells: Private ordinary functions
Function, %%map-get-width: Private ordinary functions
Function, %%map-is-in-fov?: Private ordinary functions
Function, %%map-is-transparent?: Private ordinary functions
Function, %%map-is-walkable?: Private ordinary functions
Function, %%map-new: Private ordinary functions
Function, %%map-set-in-fov: Private ordinary functions
Function, %%map-set-properties: Private ordinary functions
Function, %%mouse-is-cursor-visible?: Private ordinary functions
Function, %%mouse-move: Private ordinary functions
Function, %%mouse-show-cursor: Private ordinary functions
Function, %%namegen-destroy: Private ordinary functions
Function, %%namegen-generate: Private ordinary functions
Function, %%namegen-generate-custom: Private ordinary functions
Function, %%namegen-parse: Private ordinary functions
Function, %%noise-delete: Private ordinary functions
Function, %%noise-set-type: Private ordinary functions
Function, %%path-compute: Private ordinary functions
Function, %%path-delete: Private ordinary functions
Function, %%path-is-empty?: Private ordinary functions
Function, %%path-new-using-function: Private ordinary functions
Function, %%path-new-using-map: Private ordinary functions
Function, %%path-reverse: Private ordinary functions
Function, %%path-size: Private ordinary functions
Function, %%random-delete: Private ordinary functions
Function, %%random-get-double: Private ordinary functions
Function, %%random-get-double-mean: Private ordinary functions
Function, %%random-get-float: Private ordinary functions
Function, %%random-get-float-mean: Private ordinary functions
Function, %%random-get-instance: Private ordinary functions
Function, %%random-get-int: Private ordinary functions
Function, %%random-get-int-mean: Private ordinary functions
Function, %%random-new: Private ordinary functions
Function, %%random-new-from-seed: Private ordinary functions
Function, %%random-restore: Private ordinary functions
Function, %%random-save: Private ordinary functions
Function, %%random-set-distribution: Private ordinary functions
Function, %%sys-check-for-event: Private ordinary functions
Function, %%sys-clipboard-get: Private ordinary functions
Function, %%sys-clipboard-set: Private ordinary functions
Function, %%sys-create-directory: Private ordinary functions
Function, %%sys-delete-directory: Private ordinary functions
Function, %%sys-elapsed-milli: Private ordinary functions
Function, %%sys-elapsed-seconds: Private ordinary functions
Function, %%sys-force-fullscreen-resolution: Private ordinary functions
Function, %%sys-get-fps: Private ordinary functions
Function, %%sys-get-last-frame-length: Private ordinary functions
Function, %%sys-get-renderer: Private ordinary functions
Function, %%sys-register-sdl-renderer: Private ordinary functions
Function, %%sys-set-fps: Private ordinary functions
Function, %%sys-set-renderer: Private ordinary functions
Function, %%sys-sleep-milli: Private ordinary functions
Function, %%sys-update-char: Private ordinary functions
Function, %%sys-wait-for-event: Private ordinary functions
Function, %%zip-delete: Private ordinary functions
Function, %%zip-get-char: Private ordinary functions
Function, %%zip-get-console: Private ordinary functions
Function, %%zip-get-current-bytes: Private ordinary functions
Function, %%zip-get-data: Private ordinary functions
Function, %%zip-get-float: Private ordinary functions
Function, %%zip-get-image: Private ordinary functions
Function, %%zip-get-int: Private ordinary functions
Function, %%zip-get-remaining-bytes: Private ordinary functions
Function, %%zip-get-string: Private ordinary functions
Function, %%zip-load-from-file: Private ordinary functions
Function, %%zip-new: Private ordinary functions
Function, %%zip-put-char: Private ordinary functions
Function, %%zip-put-console: Private ordinary functions
Function, %%zip-put-data: Private ordinary functions
Function, %%zip-put-float: Private ordinary functions
Function, %%zip-put-image: Private ordinary functions
Function, %%zip-put-int: Private ordinary functions
Function, %%zip-put-string: Private ordinary functions
Function, %%zip-save-to-file: Private ordinary functions
Function, %%zip-skip-bytes: Private ordinary functions
Function, %console-init-root: Private ordinary functions
Function, %console-map-string-to-font-utf: Private ordinary functions
Function, %console-set-char: Private ordinary functions
Function, %console-set-custom-font: Private ordinary functions
Function, %console-wait-for-keypress: Private ordinary functions
Function, %dijkstra-get: Private ordinary functions
Function, %dijkstra-path-walk: Private ordinary functions
Function, %heightmap-add-voronoi: Private ordinary functions
Function, %heightmap-dig-bezier: Private ordinary functions
Function, %heightmap-get-minmax: Private ordinary functions
Function, %heightmap-get-normal: Private ordinary functions
Function, %heightmap-kernel-transform: Private ordinary functions
Function, %heightmap-rain-erosion: Private ordinary functions
Function, %image-get-size: Private ordinary functions
Function, %mouse-get-status: Private ordinary functions
Function, %noise-get: Private ordinary functions
Function, %noise-get-ex: Private ordinary functions
Function, %noise-get-fbm: Private ordinary functions
Function, %noise-get-fbm-ex: Private ordinary functions
Function, %noise-get-turbulence: Private ordinary functions
Function, %noise-get-turbulence-ex: Private ordinary functions
Function, %noise-new: Private ordinary functions
Function, %path-get: Private ordinary functions
Function, %path-get-destination: Private ordinary functions
Function, %path-get-origin: Private ordinary functions
Function, %path-walk: Private ordinary functions
Function, %sys-get-char-size: Private ordinary functions
Function, %sys-get-fullscreen-offsets: Private ordinary functions
Function, %sys-save-screenshot: Private ordinary functions
Function, (setf key-c): Public ordinary functions
Function, (setf key-lalt): Public ordinary functions
Function, (setf key-lctrl): Public ordinary functions
Function, (setf key-lmeta): Public ordinary functions
Function, (setf key-pressed): Public ordinary functions
Function, (setf key-ralt): Public ordinary functions
Function, (setf key-rctrl): Public ordinary functions
Function, (setf key-rmeta): Public ordinary functions
Function, (setf key-shift): Public ordinary functions
Function, (setf key-vk): Public ordinary functions
Function, (setf mouse-cx): Public ordinary functions
Function, (setf mouse-cy): Public ordinary functions
Function, (setf mouse-dcx): Private ordinary functions
Function, (setf mouse-dcy): Private ordinary functions
Function, (setf mouse-dx): Public ordinary functions
Function, (setf mouse-dy): Public ordinary functions
Function, (setf mouse-lbutton): Public ordinary functions
Function, (setf mouse-lbutton-pressed): Public ordinary functions
Function, (setf mouse-mbutton): Public ordinary functions
Function, (setf mouse-mbutton-pressed): Public ordinary functions
Function, (setf mouse-rbutton): Public ordinary functions
Function, (setf mouse-rbutton-pressed): Public ordinary functions
Function, (setf mouse-wheel-down): Public ordinary functions
Function, (setf mouse-wheel-up): Public ordinary functions
Function, (setf mouse-x): Public ordinary functions
Function, (setf mouse-y): Public ordinary functions
Function, background-add-alpha: Public ordinary functions
Function, background-alpha: Public ordinary functions
Function, bsp-contains?: Public ordinary functions
Function, bsp-delete: Public ordinary functions
Function, bsp-father: Public ordinary functions
Function, bsp-find-node: Public ordinary functions
Function, bsp-is-leaf?: Public ordinary functions
Function, bsp-left: Public ordinary functions
Function, bsp-new-with-size: Public ordinary functions
Function, bsp-remove-sons: Public ordinary functions
Function, bsp-resize: Public ordinary functions
Function, bsp-right: Public ordinary functions
Function, bsp-split-once: Public ordinary functions
Function, bsp-split-recursive: Public ordinary functions
Function, bsp-traverse-in-order: Public ordinary functions
Function, bsp-traverse-inverted-level-order: Public ordinary functions
Function, bsp-traverse-level-order: Public ordinary functions
Function, bsp-traverse-post-order: Public ordinary functions
Function, bsp-traverse-pre-order: Public ordinary functions
Function, c-type->lisp-type: Private ordinary functions
Function, colctrl->char: Public ordinary functions
Function, color: Public ordinary functions
Function, color->grayscale: Public ordinary functions
Function, color->keyword: Public ordinary functions
Function, color-add: Public ordinary functions
Function, color-equals?: Public ordinary functions
Function, color-get-hsv: Public ordinary functions
Function, color-get-hue: Public ordinary functions
Function, color-get-saturation: Public ordinary functions
Function, color-get-value: Public ordinary functions
Function, color-hsv: Public ordinary functions
Function, color-lerp: Public ordinary functions
Function, color-multiply: Public ordinary functions
Function, color-multiply-scalar: Public ordinary functions
Function, color-rgb: Public ordinary functions
Function, color-set-hsv: Public ordinary functions
Function, color-set-hue: Public ordinary functions
Function, color-set-saturation: Public ordinary functions
Function, color-set-value: Public ordinary functions
Function, color-shift-hue: Public ordinary functions
Function, color-subtract: Public ordinary functions
Function, colour: Public ordinary functions
Function, colour->grayscale: Public ordinary functions
Function, colour->keyword: Public ordinary functions
Function, colour-add: Public ordinary functions
Function, colour-equals?: Public ordinary functions
Function, colour-get-hsv: Public ordinary functions
Function, colour-hsv: Public ordinary functions
Function, colour-lerp: Public ordinary functions
Function, colour-multiply: Public ordinary functions
Function, colour-multiply-scalar: Public ordinary functions
Function, colour-rgb: Public ordinary functions
Function, colour-scale-hsv: Private ordinary functions
Function, colour-set-hsv: Public ordinary functions
Function, colour-set-hue: Public ordinary functions
Function, colour-set-saturation: Public ordinary functions
Function, colour-set-value: Public ordinary functions
Function, colour-shift-hue: Public ordinary functions
Function, colour-subtract: Public ordinary functions
Function, compose-color: Public ordinary functions
Function, compose-colour: Public ordinary functions
Function, console-blit: Public ordinary functions
Function, console-check-for-keypress: Public ordinary functions
Function, console-clear: Public ordinary functions
Function, console-credits: Public ordinary functions
Function, console-credits-render: Private ordinary functions
Function, console-credits-reset: Public ordinary functions
Function, console-delete: Public ordinary functions
Function, console-disable-keyboard-repeat: Public ordinary functions
Function, console-fill-char: Public ordinary functions
Function, console-flush: Public ordinary functions
Function, console-get-alignment: Public ordinary functions
Function, console-get-background-flag: Public ordinary functions
Function, console-get-char: Public ordinary functions
Function, console-get-char-background: Public ordinary functions
Function, console-get-char-foreground: Public ordinary functions
Function, console-get-default-background: Public ordinary functions
Function, console-get-default-foreground: Public ordinary functions
Function, console-get-fade: Public ordinary functions
Function, console-get-fading-color: Public ordinary functions
Function, console-get-fading-colour: Public ordinary functions
Function, console-get-height: Public ordinary functions
Function, console-get-height-rect: Public ordinary functions
Function, console-get-height-rect-utf: Private ordinary functions
Function, console-get-width: Public ordinary functions
Function, console-hline: Public ordinary functions
Function, console-init-root: Public ordinary functions
Function, console-initialised?: Public ordinary functions
Function, console-is-fullscreen?: Public ordinary functions
Function, console-is-window-closed?: Public ordinary functions
Function, console-map-ascii-code-to-font: Public ordinary functions
Function, console-map-ascii-codes-to-font: Public ordinary functions
Function, console-map-string-to-font: Public ordinary functions
Function, console-map-string-to-font-utf: Public ordinary functions
Function, console-new: Public ordinary functions
Function, console-print: Public ordinary functions
Function, console-print-double-frame: Public ordinary functions
Function, console-print-ex: Public ordinary functions
Function, console-print-ex-utf: Public ordinary functions
Function, console-print-frame: Public ordinary functions
Function, console-print-rect: Public ordinary functions
Function, console-print-rect-ex: Public ordinary functions
Function, console-print-rect-ex-utf: Public ordinary functions
Function, console-print-rect-utf: Public ordinary functions
Function, console-print-return-string: Private ordinary functions
Function, console-print-utf: Public ordinary functions
Function, console-put-char: Public ordinary functions
Function, console-put-char-ex: Public ordinary functions
Function, console-rect: Public ordinary functions
Function, console-set-alignment: Public ordinary functions
Function, console-set-background-flag: Public ordinary functions
Function, console-set-char: Public ordinary functions
Function, console-set-char-background: Public ordinary functions
Function, console-set-char-foreground: Public ordinary functions
Function, console-set-color-control: Public ordinary functions
Function, console-set-colour-control: Public ordinary functions
Function, console-set-custom-font: Public ordinary functions
Function, console-set-default-background: Public ordinary functions
Function, console-set-default-foreground: Public ordinary functions
Function, console-set-dirty: Public ordinary functions
Function, console-set-fade: Public ordinary functions
Function, console-set-fullscreen: Public ordinary functions
Function, console-set-keyboard-repeat: Public ordinary functions
Function, console-set-window-title: Public ordinary functions
Function, console-vline: Public ordinary functions
Function, console-wait-for-keypress: Public ordinary functions
Function, copy-key: Private ordinary functions
Function, copy-mouse: Private ordinary functions
Function, custom-font-flags-predicate: Private ordinary functions
Function, decompose-color: Public ordinary functions
Function, decompose-colour: Public ordinary functions
Function, dijkstra-compute: Public ordinary functions
Function, dijkstra-delete: Public ordinary functions
Function, dijkstra-get: Public ordinary functions
Function, dijkstra-get-distance: Public ordinary functions
Function, dijkstra-is-empty?: Public ordinary functions
Function, dijkstra-new: Public ordinary functions
Function, dijkstra-new-using-function: Public ordinary functions
Function, dijkstra-path-set: Public ordinary functions
Function, dijkstra-path-walk: Public ordinary functions
Function, dijkstra-reverse: Public ordinary functions
Function, dijkstra-size: Public ordinary functions
Function, get-bit: Private ordinary functions
Function, heightmap-add: Public ordinary functions
Function, heightmap-add-fbm: Public ordinary functions
Function, heightmap-add-hill: Public ordinary functions
Function, heightmap-add-hm: Public ordinary functions
Function, heightmap-add-voronoi: Public ordinary functions
Function, heightmap-clamp: Public ordinary functions
Function, heightmap-clear: Public ordinary functions
Function, heightmap-copy: Public ordinary functions
Function, heightmap-count-cells: Public ordinary functions
Function, heightmap-delete: Public ordinary functions
Function, heightmap-dig-bezier: Public ordinary functions
Function, heightmap-dig-hill: Public ordinary functions
Function, heightmap-dig-line: Public ordinary functions
Function, heightmap-get-interpolated-value: Public ordinary functions
Function, heightmap-get-max: Public ordinary functions
Function, heightmap-get-min: Public ordinary functions
Function, heightmap-get-normal: Public ordinary functions
Function, heightmap-get-slope: Public ordinary functions
Function, heightmap-get-value: Public ordinary functions
Function, heightmap-has-land-on-border?: Public ordinary functions
Function, heightmap-islandify: Public ordinary functions
Function, heightmap-kernel-transform: Public ordinary functions
Function, heightmap-lerp-hm: Public ordinary functions
Function, heightmap-multiply-hm: Public ordinary functions
Function, heightmap-new: Public ordinary functions
Function, heightmap-normalise: Public ordinary functions
Function, heightmap-normalize: Public ordinary functions
Function, heightmap-rain-erosion: Public ordinary functions
Function, heightmap-scale: Public ordinary functions
Function, heightmap-scale-fbm: Public ordinary functions
Function, heightmap-set-value: Public ordinary functions
Function, hello-world: Public ordinary functions
Function, image-blit: Public ordinary functions
Function, image-blit-2x: Public ordinary functions
Function, image-blit-rect: Public ordinary functions
Function, image-clear: Public ordinary functions
Function, image-delete: Public ordinary functions
Function, image-from-console: Public ordinary functions
Function, image-get-alpha: Public ordinary functions
Function, image-get-height: Public ordinary functions
Function, image-get-mipmap-pixel: Public ordinary functions
Function, image-get-pixel: Public ordinary functions
Function, image-get-width: Public ordinary functions
Function, image-hflip: Public ordinary functions
Function, image-invert: Public ordinary functions
Function, image-is-pixel-transparent?: Public ordinary functions
Function, image-load: Public ordinary functions
Function, image-new: Public ordinary functions
Function, image-put-pixel: Public ordinary functions
Function, image-refresh-console: Public ordinary functions
Function, image-rotate90: Public ordinary functions
Function, image-save: Public ordinary functions
Function, image-scale: Public ordinary functions
Function, image-set-key-color: Public ordinary functions
Function, image-set-key-colour: Public ordinary functions
Function, image-vflip: Public ordinary functions
Function, invert-color: Public ordinary functions
Function, invert-colour: Public ordinary functions
Function, is-key-pressed?: Public ordinary functions
Function, key->keypress: Private ordinary functions
Function, key-bitfield->vk: Private ordinary functions
Function, key-c: Public ordinary functions
Function, key-lalt: Public ordinary functions
Function, key-lctrl: Public ordinary functions
Function, key-lmeta: Public ordinary functions
Function, key-p: Public ordinary functions
Function, key-pressed: Public ordinary functions
Function, key-ralt: Public ordinary functions
Function, key-rctrl: Public ordinary functions
Function, key-rmeta: Public ordinary functions
Function, key-shift: Public ordinary functions
Function, key-state-predicate: Private ordinary functions
Function, key-vk: Public ordinary functions
Function, line-init: Public ordinary functions
Function, line-line: Public ordinary functions
Function, line-step: Public ordinary functions
Function, make-color: Public ordinary functions
Function, make-colour: Public ordinary functions
Function, make-key: Public ordinary functions
Function, make-mouse: Public ordinary functions
Function, make-rgb.txt-colours: Private ordinary functions
Function, make-simple-key: Public ordinary functions
Function, map-clear: Public ordinary functions
Function, map-compute-fov: Public ordinary functions
Function, map-copy: Public ordinary functions
Function, map-delete: Public ordinary functions
Function, map-get-height: Public ordinary functions
Function, map-get-nb-cells: Public ordinary functions
Function, map-get-width: Public ordinary functions
Function, map-is-in-fov?: Public ordinary functions
Function, map-is-transparent?: Public ordinary functions
Function, map-is-walkable?: Public ordinary functions
Function, map-new: Public ordinary functions
Function, map-set-in-fov: Public ordinary functions
Function, map-set-properties: Public ordinary functions
Function, mouse-cx: Public ordinary functions
Function, mouse-cy: Public ordinary functions
Function, mouse-dcx: Private ordinary functions
Function, mouse-dcy: Private ordinary functions
Function, mouse-dx: Public ordinary functions
Function, mouse-dy: Public ordinary functions
Function, mouse-get-status: Public ordinary functions
Function, mouse-is-cursor-visible?: Public ordinary functions
Function, mouse-lbutton: Public ordinary functions
Function, mouse-lbutton-pressed: Public ordinary functions
Function, mouse-mbutton: Public ordinary functions
Function, mouse-mbutton-pressed: Public ordinary functions
Function, mouse-move: Public ordinary functions
Function, mouse-p: Private ordinary functions
Function, mouse-rbutton: Public ordinary functions
Function, mouse-rbutton-pressed: Public ordinary functions
Function, mouse-show-cursor: Public ordinary functions
Function, mouse-wheel-down: Public ordinary functions
Function, mouse-wheel-up: Public ordinary functions
Function, mouse-x: Public ordinary functions
Function, mouse-y: Public ordinary functions
Function, namegen-destroy: Public ordinary functions
Function, namegen-generate: Public ordinary functions
Function, namegen-generate-custom: Public ordinary functions
Function, namegen-parse: Public ordinary functions
Function, noise-delete: Public ordinary functions
Function, noise-get: Public ordinary functions
Function, noise-get-ex: Public ordinary functions
Function, noise-get-fbm: Public ordinary functions
Function, noise-get-fbm-ex: Public ordinary functions
Function, noise-get-turbulence: Public ordinary functions
Function, noise-get-turbulence-ex: Public ordinary functions
Function, noise-new: Public ordinary functions
Function, noise-set-type: Public ordinary functions
Function, parse-mouse-state: Private ordinary functions
Function, path-compute: Public ordinary functions
Function, path-delete: Public ordinary functions
Function, path-get: Public ordinary functions
Function, path-get-destination: Public ordinary functions
Function, path-get-origin: Public ordinary functions
Function, path-is-empty?: Public ordinary functions
Function, path-new-using-function: Public ordinary functions
Function, path-new-using-map: Public ordinary functions
Function, path-reverse: Public ordinary functions
Function, path-size: Public ordinary functions
Function, path-walk: Public ordinary functions
Function, prepend-percent: Private ordinary functions
Function, random-delete: Public ordinary functions
Function, random-get-double: Public ordinary functions
Function, random-get-double-mean: Public ordinary functions
Function, random-get-float: Public ordinary functions
Function, random-get-float-mean: Public ordinary functions
Function, random-get-instance: Public ordinary functions
Function, random-get-int: Public ordinary functions
Function, random-get-int-mean: Public ordinary functions
Function, random-new: Public ordinary functions
Function, random-new-from-seed: Public ordinary functions
Function, random-restore: Public ordinary functions
Function, random-save: Public ordinary functions
Function, random-set-distribution: Public ordinary functions
Function, same-keys?: Public ordinary functions
Function, sdl-get-mouse-state: Public ordinary functions
Function, simple-type?: Private ordinary functions
Function, start-colors: Public ordinary functions
Function, start-colours: Public ordinary functions
Function, sys-check-for-event: Public ordinary functions
Function, sys-clipboard-get: Public ordinary functions
Function, sys-clipboard-set: Public ordinary functions
Function, sys-create-directory: Public ordinary functions
Function, sys-delete-directory: Public ordinary functions
Function, sys-elapsed-milli: Public ordinary functions
Function, sys-elapsed-seconds: Public ordinary functions
Function, sys-force-fullscreen-resolution: Public ordinary functions
Function, sys-get-char-size: Public ordinary functions
Function, sys-get-current-resolution: Public ordinary functions
Function, sys-get-current-resolution-x: Private ordinary functions
Function, sys-get-current-resolution-y: Private ordinary functions
Function, sys-get-events: Public ordinary functions
Function, sys-get-fps: Public ordinary functions
Function, sys-get-fullscreen-offsets: Public ordinary functions
Function, sys-get-last-frame-length: Public ordinary functions
Function, sys-get-renderer: Public ordinary functions
Function, sys-register-sdl-renderer: Public ordinary functions
Function, sys-save-screenshot: Public ordinary functions
Function, sys-set-fps: Public ordinary functions
Function, sys-set-renderer: Public ordinary functions
Function, sys-sleep-milli: Public ordinary functions
Function, sys-update-char: Public ordinary functions
Function, sys-wait-events: Public ordinary functions
Function, sys-wait-for-event: Public ordinary functions
Function, zip-delete: Public ordinary functions
Function, zip-get-char: Public ordinary functions
Function, zip-get-color: Public ordinary functions
Function, zip-get-colour: Public ordinary functions
Function, zip-get-console: Public ordinary functions
Function, zip-get-current-bytes: Public ordinary functions
Function, zip-get-data: Public ordinary functions
Function, zip-get-float: Public ordinary functions
Function, zip-get-image: Public ordinary functions
Function, zip-get-int: Public ordinary functions
Function, zip-get-remaining-bytes: