The tcod Reference Manual
Table of Contents
The tcod Reference Manual
This is the tcod Reference Manual,
generated automatically by Declt version 3.0 "Montgomery Scott"
on Tue Dec 22 12:52:14 2020 GMT+0.
1 Introduction
Note on this version
This is a working temporary(?) fork of cl-tcod, residing officially
on Bitbucket. I am working with the
official maintainer on these changes, so expect them to be merged back upstream at some
point. For now though, this provides a version of cl-tcod that works with the latest
version (and development) of libtcod, 1.6.2. This is also that version that works with
my Common Lisp port, cl-tcod-tutorial, of the
"Complete Roguelike Tutorial, using python+libtcod".
cl-tcod
The cl-tcod
library provides an interface (wrapper) between Common Lisp and
the Doryen Library (libtcod). Libtcod is described on its website as
follows:
libtcod, a.k.a. "The Doryen Library", is a free, fast, portable and
uncomplicated API for roguelike developpers providing an advanced true
color console, input, and lots of other utilities frequently used in
roguelikes.
Files
cl-tcod
consists of the following files:
tcod.lisp
, a lisp file which creates lisp bindings for C functions in the
compiled libtcod library, using the CFFI lisp foreign function interface.
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.
tcod-colours.lisp
, a lisp file containing definitions for all the colours
named in /etc/X11/rgb.txt; autogenerated using 'parse-rgb' (see below)
parse-rgb.lisp
, a lisp file containing code for parsing /etc/X11/rgb.txt
and generating tcod-colours.lisp
parse-rgb.asd
, ASDF system definition file for parse-rgb.lisp
cl-tcod
has been tested with SBCL 1.1.0 on Linux, Mac OSX Mountain Lion
and Windows, Clozure Common Lisp 1.5 on Linux and Windows, and
Clisp on Windows.
License
The cl-tcod
package is placed in the Public Domain by its author.
Dependencies
cl-tcod
depends on the following libraries:
ASDF
: http://common-lisp.net/project/asdf/
defstar
: http://bitbucket.org/eeeickythump/defstar/
CFFI
: http://common-lisp.net/project/cffi/
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.
-
Ensure you have a working common lisp installation.
-
Ensure either Quicklisp or the ASDF lisp
library is installed.
-
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.
-
Put the cl-tcod
files in a directory where ASDF can find them.
-
Make sure libtcod is installed and compiled. Make sure the libtcod
dynamically linked library (.dll, .so or .dylib file) is somewhere your lisp
system can find it. It probably is, but if CFFI
complains about being unable
to find the library, you can either copy it to an appropriate directory or
add its directory to the list variable cffi:*foreign-library-directories*
e.g. by typing the following in the lisp interpreter:
:::cl
(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.
-
Start lisp, then load cl-tcod
. Using Quicklisp:
:::cl
(ql:quickload :tcod)
Using ASDF:
:::cl
(load "/path/to/asdf/asdf.lisp")
(asdf:oos 'asdf:load-op :tcod)
-
Type something like the following commands at the lisp prompt to start using
libtcod from within Lisp. Alternatively you can type (tcod:hello-world)
,
which is a function containing the code below.
:::cl
(tcod:console-set-custom-font "terminal.png" '(:font-layout-ascii-in-row) 16 16)
(tcod:console-init-root 80 25 "Test" nil :renderer-sdl)
(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_foo_bar
corresponds to the lisp function foo-bar
, which
is in the tcod
package (and so requires a prefix of tcod:
to access in most
situations). Underscores become hyphens. So:
:::cl
(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:
:::cl
(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 a colon :
. THey are named according to the following
pattern:
:::cl
:backspace ; TCODK_BACKSPACE (etc)
:char-hline ; TCOD_CHAR_HLINE (etc)
:colctrl-1 ; TCOD_COLCTRL_1 (etc)
:set ; TCOD_BKGND_SET (etc)
:font-layout-ascii-in-col ; TCOD_FONT_LAYOUT_ASCII_INCOL
:fov-shadow ; FOV_SHADOW
:key-pressed ; TCOD_KEY_PRESSED
:center, :centre ; 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
struct TCOD_color_t {r, g, b} /* becomes #x00RRGGBB */
So, for example, one way to use the function TCOD_color_multiply_scalar()
from lisp is:
:::cl
(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 a colon :
. 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:
:::cl
(tcod:colour :cyan) ; returns 5678029
You can also define your own colour names, like so:
:::cl
(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 -- :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]], 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 much more capable
format
function. For example:
:::C
TCOD_console_print (con, x, y, "Printing at %d, %dn", x, y);
becomes:
:::cl
(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 draws using
`double-line' characters:
:::cl
(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.
2 Systems
The main system appears first, followed by any subsystem dependency.
2.1 tcod
- Author
Paul Sexton <eeeickythump@gmail.com>
- Description
Common Lisp bindings for libtcod, a truecolour
terminal-emulation library written in C.
- Dependencies
-
- Source
tcod.asd (file)
- 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.asd
- Location
tcod.asd
- Systems
tcod (system)
- Packages
tcod-system
3.1.2 tcod/tcod.lisp
- Parent
tcod (system)
- Location
tcod.lisp
- Packages
tcod
- Exported Definitions
-
- Internal Definitions
-
3.1.3 tcod/tcod-colours.lisp
- Parent
tcod (system)
- Location
tcod-colours.lisp
- Internal Definitions
make-rgb.txt-colours (function)
4 Packages
Packages are listed by definition order.
4.1 tcod-system
- Source
tcod.asd
- Use List
- asdf/interface
- common-lisp
4.2 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 (file)
- Nickname
cl-tcod
- Use List
-
- Exported Definitions
-
- Internal Definitions
-
5 Definitions
Definitions are sorted by export status, category, package, and then by
lexicographic order.
5.1 Exported definitions
5.1.1 Special variables
- Special Variable: *root*
-
The root console.
- Package
tcod
- Source
tcod.lisp (file)
- Special Variable: +null+
-
The null pointer.
- Package
tcod
- Source
tcod.lisp (file)
5.1.2 Macros
- Macro: legal-console-coordinates? CON X Y
-
Are the relative coordinates X,Y within the bounds of console CON?
- Package
tcod
- Source
tcod.lisp (file)
5.1.3 Functions
- Function: background-add-alpha ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: background-alpha ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-contains? NODE CX CY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-delete NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-father NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-find-node NODE CX CY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-is-leaf? NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-left NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-new-with-size X Y W H
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-remove-sons NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-resize NODE X Y W H
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-right NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-split-once NODE HORIZONTAL? POS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-split-recursive NODE RANDOMISER NB MIN-H-SIZE MIN-V-SIZE MAX-H-RATIO MAX-V-RATIO
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-traverse-in-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-traverse-inverted-level-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-traverse-level-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-traverse-post-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: bsp-traverse-pre-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colctrl->char CTRL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color KEYWD
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color->grayscale COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color->keyword COLOURNUM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-add C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-equals? C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-get-hsv COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-get-hue COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-get-saturation COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-get-value COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-hsv HUE SAT VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-lerp C1 C2 COEF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-multiply C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-multiply-scalar C1 VALUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-rgb R G B
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-set-hsv CON HUE SAT V
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-set-hue COLOUR HUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-set-saturation COLOUR SAT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-set-value COLOUR VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-shift-hue COLOUR HSHIFT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: color-subtract C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: colour->grayscale COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour->keyword COLOURNUM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-add C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-equals? C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-get-hsv C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-get-hue C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-get-saturation C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-get-value C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-hsv HUE SAT VAL
-
Return a new colour with the given HSV (hue, saturation and value)
components.
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-lerp C1 C2 COEF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-multiply C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-multiply-scalar C1 VALUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-rgb R G B
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-set-hsv CON HUE SAT V
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-set-hue COLOUR HUE
-
Return COLOUR with its hue modified to HUE.
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-set-saturation COLOUR SAT
-
Return COLOUR with its saturation modified to SAT.
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-set-value COLOUR VAL
-
Return COLOUR with its HSV value modified to VAL.
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-shift-hue COLOUR HSHIFT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-subtract C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: compose-color R G B
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: console-blit SRC XSRC YSRC WSRC HSRC DEST XDEST YDEST FOREGROUND-ALPHA BACKGROUND-ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-check-for-keypress FLAGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-clear CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-credits ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-credits-reset ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-delete CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-disable-keyboard-repeat ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-fill-char CON CH FX FY FW FH
-
Fill a rectangular area with the character CH.
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-flush ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-alignment CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-background-flag CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-char CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-char-background CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-char-foreground CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-default-background CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-default-foreground CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-fade ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-fading-color ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-fading-colour ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-height CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-height-rect CON X Y W H FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-width CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-hline CON X Y LEN FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-init-root WIDTH HEIGHT &key TITLE FULLSCREEN? RENDERER
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-initialised? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-is-fullscreen? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-is-window-closed? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-map-ascii-code-to-font ASCIICODE FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-map-ascii-codes-to-font ASCIICODE NUM-CODES FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-map-string-to-font STR FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-map-string-to-font-utf STR FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-new WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print CON X Y FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-double-frame CON X Y WIDTH HEIGHT EMPTY? FLAG FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-ex CON X Y FLAG ALIGN FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-ex-utf CON X Y FLAG ALIGN FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-frame CON X Y WIDTH HEIGHT EMPTY? FLAG FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-rect CON X Y W H FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-rect-ex CON X Y W H FLAG ALIGN FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-rect-ex-utf CON X Y W H FLAG ALIGN FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-rect-utf CON X Y W H FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-utf CON X Y FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-put-char CON X Y CH FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-put-char-ex CON X Y CH FG BG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-rect CON X Y WIDTH HEIGHT CLEAR? FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-alignment CON ALIGN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-background-flag CON FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-char CON X Y CH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-char-background CON X Y COL FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-char-foreground CON X Y COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-color-control CONTROL-NUM FORE BACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-colour-control CONTROL-NUM FORE BACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-custom-font FONTFILE FLAGS &optional CHARS-HORIZONTAL CHARS-VERTICAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-default-background CON COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-default-foreground CON COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-dirty ROOTX ROOTY WIDTH HEIGHT
-
Declares an area of the =*root*= console to be ’dirty’.
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-fade VAL FADE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-fullscreen FULL?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-keyboard-repeat INITIAL-DELAY INTERVAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-set-window-title TITLE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-vline CON X Y LEN FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-wait-for-keypress FLUSH?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: decompose-color NUM
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: dijkstra-delete DIJKSTRA-PATH
-
Delete a Dijkstra path object.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: dijkstra-is-empty? DIJKSTRA-PATH
-
Return true if the path object is empty (has zero steps).
- Package
tcod
- Source
tcod.lisp (file)
- Function: dijkstra-new MAP DIAGONAL-COST
-
Return a new Dijkstra path object which uses =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- 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 (file)
- Function: dijkstra-reverse DIJKSTRA-PATH
-
Swap origin and destination for a Dijkstra path object.
- Package
tcod
- Source
tcod.lisp (file)
- Function: dijkstra-size DIJKSTRA-PATH
-
Return the number of steps in the path.
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-add HEIGHTMAP VALUE
-
Add =VALUE= to all heights in the heightmap.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: heightmap-add-hill HEIGHTMAP HX HY HRADIUS HHEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- 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 (file)
- Function: heightmap-clear HEIGHTMAP
-
Set all the heights in the heightmap to zero.
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-copy SOURCE DEST
-
Copy the heightmap =SOURCE= into the heightmap object =DEST=.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: heightmap-delete HEIGHTMAP
-
Destroy the heightmap object =HEIGHTMAP=.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: heightmap-dig-hill HEIGHTMAP HX HY HRADIUS HHEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-dig-line HEIGHTMAP X1 Y1 X2 Y2 RADIUS DEPTH
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: heightmap-get-max HEIGHTMAP
-
Return the highest height in =HEIGHTMAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-get-min HEIGHTMAP
-
Return the lowest height in =HEIGHTMAP=.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: heightmap-get-value HEIGHTMAP X Y
-
Return the height at position =(X, Y)= in the heightmap.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: heightmap-islandify HEIGHTMAP SEA-LEVEL RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- 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 (file)
- Function: heightmap-new WIDTH HEIGHT
-
Return a new heightmap with the given dimensions.
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-normalise HEIGHTMAP MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: heightmap-scale HEIGHTMAP FACTOR
-
Multiply all the heights in the heightmap by =SCALE=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: heightmap-scale-fbm HEIGHTMAP NOISE MULX MULY ADDX ADDY OCTAVES DELTA SCALE
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: hello-world ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-blit IMAGE CON X Y FLAG SCALEX SCALEY ANGLE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-blit-2x IMAGE DEST DX DY SX SY WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-blit-rect IMAGE CON X Y WIDTH HEIGHT FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-clear IMAGE COLOUR
-
Fill the image =IMAGE= with the colour =COLOUR=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-delete IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-from-console CON
-
Return a new image whose contents are a ’screenshot’ of the
console =CON=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-get-alpha IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-get-height IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: image-get-width IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-hflip IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-invert IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-is-pixel-transparent? IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-load FILENAME
-
Read an image from a file and return it.
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-new WIDTH HEIGHT
-
Return a new image, filled with black.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: image-refresh-console IMAGE CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-rotate90 IMAGE NUM-ROTATIONS
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: image-scale IMAGE NEW-WIDTH NEW-HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-set-key-color IMAGE KEY-COLOR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-set-key-colour IMAGE KEY-COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: image-vflip IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: invert-color NUM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: invert-colour NUM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: is-key-pressed? CODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-c INSTANCE
-
- Function: (setf key-c) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-lalt INSTANCE
-
- Function: (setf key-lalt) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-lctrl INSTANCE
-
- Function: (setf key-lctrl) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-lmeta INSTANCE
-
- Function: (setf key-lmeta) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-p OBJECT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-pressed INSTANCE
-
- Function: (setf key-pressed) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-ralt INSTANCE
-
- Function: (setf key-ralt) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-rctrl INSTANCE
-
- Function: (setf key-rctrl) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-rmeta INSTANCE
-
- Function: (setf key-rmeta) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-shift INSTANCE
-
- Function: (setf key-shift) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-vk INSTANCE
-
- Function: (setf key-vk) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: line-init XFROM YFROM XTO YTO
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: line-line XFROM YFROM XTO YTO CALLBACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: line-step XCUR YCUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-color KWD R G B
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-colour KWD R G B
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-key &key (VK VK) (C C) (PRESSED PRESSED) (LALT LALT) (LCTRL LCTRL) (LMETA LMETA) (RALT RALT) (RCTRL RCTRL) (RMETA RMETA) (SHIFT SHIFT)
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-mouse &key (X X) (Y Y) (DX DX) (DY DY) (CX CX) (CY CY) (DCX DCX) (DCY DCY) (LBUTTON LBUTTON) (RBUTTON RBUTTON) (MBUTTON MBUTTON) (LBUTTON-PRESSED LBUTTON-PRESSED) (RBUTTON-PRESSED RBUTTON-PRESSED) (MBUTTON-PRESSED MBUTTON-PRESSED) (WHEEL-UP WHEEL-UP) (WHEEL-DOWN WHEEL-DOWN)
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-simple-key CH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-clear MAP TRANSPARENT? WALKABLE?
-
Set all cells in =MAP= to be neither walkable nor transparent.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: map-copy MAP-SRC MAP-DEST
-
Copy the map object =SRC= into the new map object =DEST=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-delete MAP
-
Destroy the map object =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-get-height MAP
-
Return the height of the map object =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-get-nb-cells MAP
-
Return the number of cells in the map object =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-get-width MAP
-
Return the width of the map object =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: map-is-in-fov? MAP X Y
-
Return true if position =(X, Y)= on the map is visible.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: map-new WIDTH HEIGHT
-
Return a new map object of the given dimensions.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- Function: mouse-cx INSTANCE
-
- Function: (setf mouse-cx) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-cy INSTANCE
-
- Function: (setf mouse-cy) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-dx INSTANCE
-
- Function: (setf mouse-dx) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-dy INSTANCE
-
- Function: (setf mouse-dy) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: mouse-is-cursor-visible? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-lbutton INSTANCE
-
- Function: (setf mouse-lbutton) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-lbutton-pressed INSTANCE
-
- Function: (setf mouse-lbutton-pressed) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-mbutton INSTANCE
-
- Function: (setf mouse-mbutton) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-mbutton-pressed INSTANCE
-
- Function: (setf mouse-mbutton-pressed) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-move PIXEL-X PIXEL-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-rbutton INSTANCE
-
- Function: (setf mouse-rbutton) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-rbutton-pressed INSTANCE
-
- Function: (setf mouse-rbutton-pressed) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-show-cursor VISIBLE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-wheel-down INSTANCE
-
- Function: (setf mouse-wheel-down) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-wheel-up INSTANCE
-
- Function: (setf mouse-wheel-up) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-x INSTANCE
-
- Function: (setf mouse-x) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-y INSTANCE
-
- Function: (setf mouse-y) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: namegen-destroy ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: namegen-generate NAME ALLOCATE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: namegen-generate-custom NAME RULE ALLOCATE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: namegen-parse FILENAME RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: noise-delete NOISE
-
Destroy a noise object.
- Package
tcod
- Source
tcod.lisp (file)
- Function: noise-get NOISE &rest NUMS
-
Returns the flat noise function at the given coordinates.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: noise-get-fbm NOISE OCTAVES &rest NUMS
-
Returns the fractional Brownian motion function at the given coordinates.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: noise-get-turbulence NOISE OCTAVES &rest NUMS
-
Returns the turbulence function at the given coordinates.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: noise-new DIMENSIONS &key HURST LACUNARITY RNG
-
Return a new noise object with the given characteristics.
- Package
tcod
- Source
tcod.lisp (file)
- Function: noise-set-type NOISE NOISE-TYPE
-
Set the type of noise produced by a noise object.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: path-delete A*-PATH
-
Delete an A* path object.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: path-get-destination A*-PATH
-
Return the coordinates of the current destination of the A* path =PATH=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: path-get-origin A*-PATH
-
Return the coordinates of the current origin of the A* path =PATH=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: path-is-empty? A*-PATH
-
Return true if the path object is empty (has zero steps).
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: path-new-using-map MAP DIAGONAL-COST
-
Return a new A* path object, using the map =MAP=.
- Package
tcod
- Source
tcod.lisp (file)
- Function: path-reverse A*-PATH
-
Swap origin and destination for an A* path object.
- Package
tcod
- Source
tcod.lisp (file)
- Function: path-size A*-PATH
-
Return the number of steps in the path.
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: random-delete RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-double RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-double-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-float RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-float-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-instance ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-int RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-get-int-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-new ALGORITHM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-new-from-seed ALGORITHM SEED
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-restore RNG BACKUP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-save RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: random-set-distribution RNG DIST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: same-keys? KEY1 KEY2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sdl-get-mouse-state XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: start-colors ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: start-colours ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-check-for-event EVENTMASK KEY MOUSEPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-clipboard-get ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-clipboard-set TEXT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-create-directory PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-delete-directory PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-elapsed-milli ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-elapsed-seconds ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-force-fullscreen-resolution WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-char-size ()
-
Return the dimensions of each character in the current font bitmap.
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-current-resolution ()
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: sys-get-fps ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-fullscreen-offsets ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-last-frame-length ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-renderer ()
-
Return the currently active renderer.
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-register-sdl-renderer CALLBACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-save-screenshot &optional FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-set-fps VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-set-renderer RENDERER
-
Change the currently active renderer.
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-sleep-milli VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-update-char ASCII FONTX FONTY IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: sys-wait-for-event EVENTMASK KEY MOUSEPTR FLUSH?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-delete ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-char ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-color ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-colour ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-console ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-current-bytes ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-data ZIP NBYTES DATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-float ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-image ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-int ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-remaining-bytes ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-get-string ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-load-from-file ZIP FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-new ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-char ZIP CH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-color ZIP COLOR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-colour ZIP COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-console ZIP CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-data ZIP NBYTES DATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-float ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-image ZIP IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-int ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-put-string ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-save-to-file ZIP FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: zip-skip-bytes ZIP NBYTES
-
- Package
tcod
- Source
tcod.lisp (file)
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 (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: vk
-
- Type
keyword
- Initform
:none
- Readers
key-vk (function)
- Writers
(setf key-vk) (function)
- Slot: c
-
- Type
character
- Initform
#\nul
- Readers
key-c (function)
- Writers
(setf key-c) (function)
- Slot: pressed
-
- Type
boolean
- Readers
key-pressed (function)
- Writers
(setf key-pressed) (function)
- Slot: lalt
-
- Type
boolean
- Readers
key-lalt (function)
- Writers
(setf key-lalt) (function)
- Slot: lctrl
-
- Type
boolean
- Readers
key-lctrl (function)
- Writers
(setf key-lctrl) (function)
- Slot: lmeta
-
- Type
boolean
- Readers
key-lmeta (function)
- Writers
(setf key-lmeta) (function)
- Slot: ralt
-
- Type
boolean
- Readers
key-ralt (function)
- Writers
(setf key-ralt) (function)
- Slot: rctrl
-
- Type
boolean
- Readers
key-rctrl (function)
- Writers
(setf key-rctrl) (function)
- Slot: rmeta
-
- Type
boolean
- Readers
key-rmeta (function)
- Writers
(setf key-rmeta) (function)
- Slot: shift
-
- Type
boolean
- Readers
key-shift (function)
- Writers
(setf key-shift) (function)
- Structure: mouse ()
-
Structure used by CL-TCOD to represent mouse status.
- Package
tcod
- Source
tcod.lisp (file)
- Direct superclasses
structure-object (structure)
- Direct slots
- Slot: x
-
- Type
tcod::uint16
- Initform
0
- Readers
mouse-x (function)
- Writers
(setf mouse-x) (function)
- Slot: y
-
- Type
tcod::uint16
- Initform
0
- Readers
mouse-y (function)
- Writers
(setf mouse-y) (function)
- Slot: dx
-
- Type
tcod::sint16
- Initform
0
- Readers
mouse-dx (function)
- Writers
(setf mouse-dx) (function)
- Slot: dy
-
- Type
tcod::sint16
- Initform
0
- Readers
mouse-dy (function)
- Writers
(setf mouse-dy) (function)
- Slot: cx
-
- Type
tcod::uint16
- Initform
0
- Readers
mouse-cx (function)
- Writers
(setf mouse-cx) (function)
- Slot: cy
-
- Type
tcod::uint16
- Initform
0
- Readers
mouse-cy (function)
- Writers
(setf mouse-cy) (function)
- Slot: dcx
-
- Type
tcod::sint16
- Initform
0
- Readers
mouse-dcx (function)
- Writers
(setf mouse-dcx) (function)
- Slot: dcy
-
- Type
tcod::sint16
- Initform
0
- Readers
mouse-dcy (function)
- Writers
(setf mouse-dcy) (function)
- Slot: lbutton
-
- Type
boolean
- Readers
mouse-lbutton (function)
- Writers
(setf mouse-lbutton) (function)
- Slot: rbutton
-
- Type
boolean
- Readers
mouse-rbutton (function)
- Writers
(setf mouse-rbutton) (function)
- Slot: mbutton
-
- Type
boolean
- Readers
mouse-mbutton (function)
- Writers
(setf mouse-mbutton) (function)
- Slot: lbutton-pressed
-
- Type
boolean
- Readers
mouse-lbutton-pressed (function)
- Writers
(setf mouse-lbutton-pressed) (function)
- Slot: rbutton-pressed
-
- Type
boolean
- Readers
mouse-rbutton-pressed (function)
- Writers
(setf mouse-rbutton-pressed) (function)
- Slot: mbutton-pressed
-
- Type
boolean
- Readers
mouse-mbutton-pressed (function)
- Writers
(setf mouse-mbutton-pressed) (function)
- Slot: wheel-up
-
- Type
boolean
- Readers
mouse-wheel-up (function)
- Writers
(setf mouse-wheel-up) (function)
- Slot: wheel-down
-
- Type
boolean
- Readers
mouse-wheel-down (function)
- Writers
(setf mouse-wheel-down) (function)
5.1.5 Types
- Type: a*-path ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: background-flag ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: colctrl ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: console ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: dijkstra-path ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: drawing-character ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: fov-algorithm ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: key-state ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: keycode ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: mapptr ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: zipptr ()
-
- Package
tcod
- Source
tcod.lisp (file)
5.2 Internal definitions
5.2.1 Constants
- Constant: +noise-default-hurst+
-
Default Hurst exponent for noise functions.
- Package
tcod
- Source
tcod.lisp (file)
- Constant: +noise-default-lacunarity+
-
Default lacunarity for noise functions.
- Package
tcod
- Source
tcod.lisp (file)
5.2.2 Special variables
- Special Variable: *colour-table*
-
- Package
tcod
- Source
tcod.lisp (file)
- Special Variable: *console-height-table*
-
- Package
tcod
- Source
tcod.lisp (file)
- Special Variable: *console-width-table*
-
- Package
tcod
- Source
tcod.lisp (file)
- Special Variable: *initial-colours*
-
- Package
tcod
- Source
tcod.lisp (file)
- Special Variable: *libsdl2-loaded*
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Special Variable: *root-console-initialised?*
-
Set to T once ‘console-init-root’ has been called.
- Package
tcod
- Source
tcod.lisp (file)
5.2.3 Macros
- Macro: %console-get-height-rect CON X Y W H FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-get-height-rect-utf CON X Y W H FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print CON X Y FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-double-frame CON X Y WIDTH HEIGHT EMPTY? FLAG FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-ex CON X Y FLAG ALIGN FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-ex-utf CON X Y FLAG ALIGN FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-frame CON X Y WIDTH HEIGHT EMPTY? FLAG FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-rect CON X Y W H FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-rect-ex CON X Y W H FLAG ALIGN FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-rect-ex-utf CON X Y W H FLAG ALIGN FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-rect-utf CON X Y W H FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: %console-print-utf CON X Y FMT &rest VARARGS0
-
- Package
tcod
- Source
tcod.lisp (file)
- Macro: clamp LOW HI EXPR
-
Return the numeric value of EXPR, constrained to the range [LOW ... HI].
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- 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 (file)
- 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 (file)
- 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 (file)
5.2.4 Functions
- Function: %%%console-map-string-to-font-utf STR FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%%heightmap-add-voronoi HEIGHTMAP NUM-POINTS NUM-COEFS COEF-PTR RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%%heightmap-get-normal HEIGHTMAP X Y N WATER-LEVEL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%%heightmap-kernel-transform HEIGHTMAP KERNEL-SIZE DX-PTR DY-PTR WEIGHT-PTR MIN-LEVEL MAX-LEVEL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-contains? NODE CX CY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-delete NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-father NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-find-node NODE CX CY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-is-leaf? NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-left NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-new-with-size X Y W H
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-remove-sons NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-resize NODE X Y W H
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-right NODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-split-once NODE HORIZONTAL? POS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-split-recursive NODE RANDOMISER NB MIN-H-SIZE MIN-V-SIZE MAX-H-RATIO MAX-V-RATIO
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-traverse-in-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-traverse-inverted-level-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-traverse-level-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-traverse-post-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%bsp-traverse-pre-order NODE CALLBACK USERDATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-add C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-equals? C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-get-hue C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-get-saturation C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-get-value C
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-lerp C1 C2 COEF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-multiply C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-multiply-scalar C1 VALUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-set-hsv CON HUE SAT V
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%colour-subtract C1 C2
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-blit SRC XSRC YSRC WSRC HSRC DEST XDEST YDEST FOREGROUND-ALPHA BACKGROUND-ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-clear CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-credits ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-credits-render X Y ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-credits-reset ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-delete CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-disable-keyboard-repeat ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-flush ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-alignment CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-background-flag CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-char CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-char-background CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-char-foreground CON X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-default-background CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-default-foreground CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-fade ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-fading-color ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-height CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-get-width CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-hline CON X Y LEN FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-is-fullscreen? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-is-window-closed? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-map-ascii-code-to-font ASCIICODE FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-map-ascii-codes-to-font ASCIICODE NUM-CODES FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-map-string-to-font STR FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-new WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-print-return-string CON X Y RW RH FLAG ALIGN STR CAN-SPLIT? COUNT-ONLY?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-put-char CON X Y CH FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-put-char-ex CON X Y CH FG BG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-rect CON X Y WIDTH HEIGHT CLEAR? FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-alignment CON ALIGN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-background-flag CON FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-char-background CON X Y COL FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-char-foreground CON X Y COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-colour-control CONTROL-NUM FORE BACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-default-background CON COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-default-foreground CON COL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-dirty ROOTX ROOTY WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-fade VAL FADE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-fullscreen FULL?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-keyboard-repeat INITIAL-DELAY INTERVAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-set-window-title TITLE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%console-vline CON X Y LEN FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-compute DIJKSTRA-PATH ROOTX ROOTY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-delete DIJKSTRA-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-get-distance DIJKSTRA-PATH TO-X TO-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-is-empty? DIJKSTRA-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-new MAP DIAGONAL-COST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-new-using-function XDIM YDIM CALLBACK USER-DATA DIAGONAL-COST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-path-set DIJKSTRA-PATH TO-X TO-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-reverse DIJKSTRA-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%dijkstra-size DIJKSTRA-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-add HEIGHTMAP VALUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-add-fbm HEIGHTMAP NOISE MULX MULY ADDX ADDY OCTAVES DELTA SCALE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-add-hill HEIGHTMAP HX HY HRADIUS HHEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-add-hm HM1 HM2 RESULT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-clamp HEIGHTMAP MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-clear HEIGHTMAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-copy SOURCE DEST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-count-cells HEIGHTMAP MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-delete HEIGHTMAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-dig-hill HEIGHTMAP HX HY HRADIUS HHEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-get-interpolated-value HEIGHTMAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-get-slope HEIGHTMAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-get-value HEIGHTMAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-has-land-on-border? HEIGHTMAP WATERLEVEL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-islandify HEIGHTMAP SEA-LEVEL RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-lerp-hm HM1 HM2 RESULT COEF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-multiply-hm HM1 HM2 RESULT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-new WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-normalize HEIGHTMAP MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-scale HEIGHTMAP FACTOR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-scale-fbm HEIGHTMAP NOISE MULX MULY ADDX ADDY OCTAVES DELTA SCALE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%heightmap-set-value HEIGHTMAP X Y VALUE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-blit IMAGE CON X Y FLAG SCALEX SCALEY ANGLE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-blit-2x IMAGE DEST DX DY SX SY WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-blit-rect IMAGE CON X Y WIDTH HEIGHT FLAG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-clear IMAGE COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-delete IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-from-console CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-get-alpha IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-get-mipmap-pixel IMAGE X0 Y0 X1 Y1
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-get-pixel IMAGE PIXEL-X PIXEL-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-hflip IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-invert IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-is-pixel-transparent? IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-load FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-new WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-put-pixel IMAGE PIXEL-X PIXEL-Y COLOUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-refresh-console IMAGE CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-rotate90 IMAGE NUM-ROTATIONS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-save IMAGE FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-scale IMAGE NEW-WIDTH NEW-HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-set-key-color IMAGE KEY-COLOR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%image-vflip IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%is-key-pressed? CODE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%line-init XFROM YFROM XTO YTO
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%line-line XFROM YFROM XTO YTO CALLBACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%line-step XCUR YCUR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-clear MAP TRANSPARENT? WALKABLE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-compute-fov MAP PLAYER-X PLAYER-Y MAX-RADIUS LIGHT-WALLS? ALGORITHM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-copy MAP-SRC MAP-DEST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-delete MAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-get-height MAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-get-nb-cells MAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-get-width MAP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-is-in-fov? MAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-is-transparent? MAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-is-walkable? MAP X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-new WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-set-in-fov MAP X Y FOV?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%map-set-properties MAP X Y TRANSPARENT? WALKABLE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%mouse-is-cursor-visible? ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%mouse-move PIXEL-X PIXEL-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%mouse-show-cursor VISIBLE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%namegen-destroy ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%namegen-generate NAME ALLOCATE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%namegen-generate-custom NAME RULE ALLOCATE?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%namegen-parse FILENAME RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%noise-delete NOISE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%noise-set-type NOISE NOISE-TYPE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-compute A*-PATH OX OY DX DY
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-delete A*-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-is-empty? A*-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-new-using-function XDIM YDIM CALLBACK USER-DATA DIAGONAL-COST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-new-using-map MAP DIAGONAL-COST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-reverse A*-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%path-size A*-PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-delete RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-double RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-double-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-float RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-float-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-instance ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-int RNG MIN MAX
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-get-int-mean RNG MIN MAX MEAN
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-new ALGORITHM
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-new-from-seed ALGORITHM SEED
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-restore RNG BACKUP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-save RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%random-set-distribution RNG DIST
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-check-for-event EVENTMASK KEY MOUSEPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-clipboard-get ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-clipboard-set TEXT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-create-directory PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-delete-directory PATH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-elapsed-milli ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-elapsed-seconds ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-force-fullscreen-resolution WIDTH HEIGHT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-get-fps ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-get-last-frame-length ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-get-renderer ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-register-sdl-renderer CALLBACK
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-set-fps VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-set-renderer RENDERER
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-sleep-milli VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-update-char ASCII FONTX FONTY IMAGE X Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%sys-wait-for-event EVENTMASK KEY MOUSEPTR FLUSH?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-delete ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-char ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-console ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-current-bytes ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-data ZIP NBYTES DATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-float ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-image ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-int ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-remaining-bytes ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-get-string ZIP
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-load-from-file ZIP FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-new ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-char ZIP CH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-console ZIP CON
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-data ZIP NBYTES DATA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-float ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-image ZIP IMAGE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-int ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-put-string ZIP VAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-save-to-file ZIP FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %%zip-skip-bytes ZIP NBYTES
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %console-init-root WIDTH HEIGHT TITLE FULLSCREEN? RENDERER
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %console-map-string-to-font-utf STR FONTCHAR-X FONTCHAR-Y
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %console-set-char CON X Y CH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %console-set-custom-font FONTFILE FLAGS CHARS-HORIZONTAL CHARS-VERTICAL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %dijkstra-get DIJKSTRA-PATH INDEX XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %dijkstra-path-walk DIJKSTRA-PATH XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-add-voronoi HEIGHTMAP NUM-POINTS NUM-COEFS COEF-PTR RNG
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-dig-bezier HEIGHTMAP PX PY START-RADIUS START-DEPTH END-RADIUS END-DEPTH
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-get-minmax HEIGHTMAP MINFLOAT MAXFLOAT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-get-normal HEIGHTMAP X Y N WATER-LEVEL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-kernel-transform HEIGHTMAP KERNEL-SIZE DX-PTR DY-PTR WEIGHT-PTR MIN-LEVEL MAX-LEVEL
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %heightmap-rain-erosion HEIGHTMAP NUM-DROPS EROSION-COEF SEDIMENT-COEF RANDOMPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %image-get-size IMAGE WIDTHPTR HEIGHTPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %mouse-get-status MOUSEPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get NOISE F
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get-ex NOISE F NOISE-TYPE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get-fbm NOISE F OCTAVES
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get-fbm-ex NOISE F OCTAVES NOISE-TYPE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get-turbulence NOISE F OCTAVES
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-get-turbulence-ex NOISE F OCTAVES NOISE-TYPE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %noise-new DIMENSIONS HURST LACUNARITY RANDOMPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %path-get A*-PATH INDEX XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %path-get-destination A*-PATH XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %path-get-origin A*-PATH XPTR YPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %path-walk A*-PATH XPTR YPTR RECALC-WHEN-NEEDED?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %sys-get-char-size WIDTHPTR HEIGHTPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %sys-get-fullscreen-offsets OFFX-PTR OFFY-PTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: %sys-save-screenshot FILENAME
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: c-type->lisp-type C-TYPE
-
Given a CFFI foreign type, return an equivalent lisp type.
- Package
tcod
- Source
tcod.lisp (file)
- Function: colour-scale-hsv COLOUR SCOEF VCOEF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-credits-render X Y ALPHA
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-get-height-rect-utf CON X Y W H FMT &rest ARGS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: console-print-return-string CON X Y RW RH FLAG ALIGN STR CAN-SPLIT? COUNT-ONLY?
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: copy-key INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: copy-mouse INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: custom-font-flags-predicate LS
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: key->keypress KEYPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-bitfield->vk KEY-BF
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: key-state-predicate LS
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: make-rgb.txt-colours ()
-
- Package
tcod
- Source
tcod-colours.lisp (file)
- Function: mouse-dcx INSTANCE
-
- Function: (setf mouse-dcx) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-dcy INSTANCE
-
- Function: (setf mouse-dcy) VALUE INSTANCE
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: mouse-p OBJECT
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: parse-mouse-state MOUSEPTR
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: prepend-percent SYM
-
- Package
tcod
- Source
tcod.lisp (file)
- 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 (file)
- Function: sys-get-current-resolution-x ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Function: sys-get-current-resolution-y ()
-
- Package
tcod
- Source
tcod.lisp (file)
5.2.5 Classes
- Class: colour-struct-tclass ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Direct superclasses
- translatable-foreign-type (class)
- foreign-struct-type (class)
- Class: key-press-tclass ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Direct superclasses
- translatable-foreign-type (class)
- foreign-struct-type (class)
- Class: mouse-state-tclass ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Direct superclasses
- translatable-foreign-type (class)
- foreign-struct-type (class)
5.2.6 Types
- Type: alignment ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: bsp-ptr ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: colournum ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: custom-font-flags ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: event ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: heightmap-ptr ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: image ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: int ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: noise ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: noise-type ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: parser ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: randomptr ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: renderer ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: rng-algorithm ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: rng-distribution ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: signed-char ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: sint16 ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uchar ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: ucoord ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uint ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uint16 ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uint24 ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uint32 ()
-
- Package
tcod
- Source
tcod.lisp (file)
- Type: uint8 ()
-
- Package
tcod
- Source
tcod.lisp (file)
Appendix A Indexes
A.1 Concepts
A.2 Functions
| Index Entry | | Section |
|
% | | |
| %%%console-map-string-to-font-utf : | | Internal functions |
| %%%heightmap-add-voronoi : | | Internal functions |
| %%%heightmap-get-normal : | | Internal functions |
| %%%heightmap-kernel-transform : | | Internal functions |
| %%bsp-contains? : | | Internal functions |
| %%bsp-delete : | | Internal functions |
| %%bsp-father : | | Internal functions |
| %%bsp-find-node : | | Internal functions |
| %%bsp-is-leaf? : | | Internal functions |
| %%bsp-left : | | Internal functions |
| %%bsp-new-with-size : | | Internal functions |
| %%bsp-remove-sons : | | Internal functions |
| %%bsp-resize : | | Internal functions |
| %%bsp-right : | | Internal functions |
| %%bsp-split-once : | | Internal functions |
| %%bsp-split-recursive : | | Internal functions |
| %%bsp-traverse-in-order : | | Internal functions |
| %%bsp-traverse-inverted-level-order : | | Internal functions |
| %%bsp-traverse-level-order : | | Internal functions |
| %%bsp-traverse-post-order : | | Internal functions |
| %%bsp-traverse-pre-order : | | Internal functions |
| %%colour-add : | | Internal functions |
| %%colour-equals? : | | Internal functions |
| %%colour-get-hue : | | Internal functions |
| %%colour-get-saturation : | | Internal functions |
| %%colour-get-value : | | Internal functions |
| %%colour-lerp : | | Internal functions |
| %%colour-multiply : | | Internal functions |
| %%colour-multiply-scalar : | | Internal functions |
| %%colour-set-hsv : | | Internal functions |
| %%colour-subtract : | | Internal functions |
| %%console-blit : | | Internal functions |
| %%console-clear : | | Internal functions |
| %%console-credits : | | Internal functions |
| %%console-credits-render : | | Internal functions |
| %%console-credits-reset : | | Internal functions |
| %%console-delete : | | Internal functions |
| %%console-disable-keyboard-repeat : | | Internal functions |
| %%console-flush : | | Internal functions |
| %%console-get-alignment : | | Internal functions |
| %%console-get-background-flag : | | Internal functions |
| %%console-get-char : | | Internal functions |
| %%console-get-char-background : | | Internal functions |
| %%console-get-char-foreground : | | Internal functions |
| %%console-get-default-background : | | Internal functions |
| %%console-get-default-foreground : | | Internal functions |
| %%console-get-fade : | | Internal functions |
| %%console-get-fading-color : | | Internal functions |
| %%console-get-height : | | Internal functions |
| %%console-get-width : | | Internal functions |
| %%console-hline : | | Internal functions |
| %%console-is-fullscreen? : | | Internal functions |
| %%console-is-window-closed? : | | Internal functions |
| %%console-map-ascii-code-to-font : | | Internal functions |
| %%console-map-ascii-codes-to-font : | | Internal functions |
| %%console-map-string-to-font : | | Internal functions |
| %%console-new : | | Internal functions |
| %%console-print-return-string : | | Internal functions |
| %%console-put-char : | | Internal functions |
| %%console-put-char-ex : | | Internal functions |
| %%console-rect : | | Internal functions |
| %%console-set-alignment : | | Internal functions |
| %%console-set-background-flag : | | Internal functions |
| %%console-set-char-background : | | Internal functions |
| %%console-set-char-foreground : | | Internal functions |
| %%console-set-colour-control : | | Internal functions |
| %%console-set-default-background : | | Internal functions |
| %%console-set-default-foreground : | | Internal functions |
| %%console-set-dirty : | | Internal functions |
| %%console-set-fade : | | Internal functions |
| %%console-set-fullscreen : | | Internal functions |
| %%console-set-keyboard-repeat : | | Internal functions |
| %%console-set-window-title : | | Internal functions |
| %%console-vline : | | Internal functions |
| %%dijkstra-compute : | | Internal functions |
| %%dijkstra-delete : | | Internal functions |
| %%dijkstra-get-distance : | | Internal functions |
| %%dijkstra-is-empty? : | | Internal functions |
| %%dijkstra-new : | | Internal functions |
| %%dijkstra-new-using-function : | | Internal functions |
| %%dijkstra-path-set : | | Internal functions |
| %%dijkstra-reverse : | | Internal functions |
| %%dijkstra-size : | | Internal functions |
| %%heightmap-add : | | Internal functions |
| %%heightmap-add-fbm : | | Internal functions |
| %%heightmap-add-hill : | | Internal functions |
| %%heightmap-add-hm : | | Internal functions |
| %%heightmap-clamp : | | Internal functions |
| %%heightmap-clear : | | Internal functions |
| %%heightmap-copy : | | Internal functions |
| %%heightmap-count-cells : | | Internal functions |
| %%heightmap-delete : | | Internal functions |
| %%heightmap-dig-hill : | | Internal functions |
| %%heightmap-get-interpolated-value : | | Internal functions |
| %%heightmap-get-slope : | | Internal functions |
| %%heightmap-get-value : | | Internal functions |
| %%heightmap-has-land-on-border? : | | Internal functions |
| %%heightmap-islandify : | | Internal functions |
| %%heightmap-lerp-hm : | | Internal functions |
| %%heightmap-multiply-hm : | | Internal functions |
| %%heightmap-new : | | Internal functions |
| %%heightmap-normalize : | | Internal functions |
| %%heightmap-scale : | | Internal functions |
| %%heightmap-scale-fbm : | | Internal functions |
| %%heightmap-set-value : | | Internal functions |
| %%image-blit : | | Internal functions |
| %%image-blit-2x : | | Internal functions |
| %%image-blit-rect : | | Internal functions |
| %%image-clear : | | Internal functions |
| %%image-delete : | | Internal functions |
| %%image-from-console : | | Internal functions |
| %%image-get-alpha : | | Internal functions |
| %%image-get-mipmap-pixel : | | Internal functions |
| %%image-get-pixel : | | Internal functions |
| %%image-hflip : | | Internal functions |
| %%image-invert : | | Internal functions |
| %%image-is-pixel-transparent? : | | Internal functions |
| %%image-load : | | Internal functions |
| %%image-new : | | Internal functions |
| %%image-put-pixel : | | Internal functions |
| %%image-refresh-console : | | Internal functions |
| %%image-rotate90 : | | Internal functions |
| %%image-save : | | Internal functions |
| %%image-scale : | | Internal functions |
| %%image-set-key-color : | | Internal functions |
| %%image-vflip : | | Internal functions |
| %%is-key-pressed? : | | Internal functions |
| %%line-init : | | Internal functions |
| %%line-line : | | Internal functions |
| %%line-step : | | Internal functions |
| %%map-clear : | | Internal functions |
| %%map-compute-fov : | | Internal functions |
| %%map-copy : | | Internal functions |
| %%map-delete : | | Internal functions |
| %%map-get-height : | | Internal functions |
| %%map-get-nb-cells : | | Internal functions |
| %%map-get-width : | | Internal functions |
| %%map-is-in-fov? : | | Internal functions |
| %%map-is-transparent? : | | Internal functions |
| %%map-is-walkable? : | | Internal functions |
| %%map-new : | | Internal functions |
| %%map-set-in-fov : | | Internal functions |
| %%map-set-properties : | | Internal functions |
| %%mouse-is-cursor-visible? : | | Internal functions |
| %%mouse-move : | | Internal functions |
| %%mouse-show-cursor : | | Internal functions |
| %%namegen-destroy : | | Internal functions |
| %%namegen-generate : | | Internal functions |
| %%namegen-generate-custom : | | Internal functions |
| %%namegen-parse : | | Internal functions |
| %%noise-delete : | | Internal functions |
| %%noise-set-type : | | Internal functions |
| %%path-compute : | | Internal functions |
| %%path-delete : | | Internal functions |
| %%path-is-empty? : | | Internal functions |
| %%path-new-using-function : | | Internal functions |
| %%path-new-using-map : | | Internal functions |
| %%path-reverse : | | Internal functions |
| %%path-size : | | Internal functions |
| %%random-delete : | | Internal functions |
| %%random-get-double : | | Internal functions |
| %%random-get-double-mean : | | Internal functions |
| %%random-get-float : | | Internal functions |
| %%random-get-float-mean : | | Internal functions |
| %%random-get-instance : | | Internal functions |
| %%random-get-int : | | Internal functions |
| %%random-get-int-mean : | | Internal functions |
| %%random-new : | | Internal functions |
| %%random-new-from-seed : | | Internal functions |
| %%random-restore : | | Internal functions |
| %%random-save : | | Internal functions |
| %%random-set-distribution : | | Internal functions |
| %%sys-check-for-event : | | Internal functions |
| %%sys-clipboard-get : | | Internal functions |
| %%sys-clipboard-set : | | Internal functions |
| %%sys-create-directory : | | Internal functions |
| %%sys-delete-directory : | | Internal functions |
| %%sys-elapsed-milli : | | Internal functions |
| %%sys-elapsed-seconds : | | Internal functions |
| %%sys-force-fullscreen-resolution : | | Internal functions |
| %%sys-get-fps : | | Internal functions |
| %%sys-get-last-frame-length : | | Internal functions |
| %%sys-get-renderer : | | Internal functions |
| %%sys-register-sdl-renderer : | | Internal functions |
| %%sys-set-fps : | | Internal functions |
| %%sys-set-renderer : | | Internal functions |
| %%sys-sleep-milli : | | Internal functions |
| %%sys-update-char : | | Internal functions |
| %%sys-wait-for-event : | | Internal functions |
| %%zip-delete : | | Internal functions |
| %%zip-get-char : | | Internal functions |
| %%zip-get-console : | | Internal functions |
| %%zip-get-current-bytes : | | Internal functions |
| %%zip-get-data : | | Internal functions |
| %%zip-get-float : | | Internal functions |
| %%zip-get-image : | | Internal functions |
| %%zip-get-int : | | Internal functions |
| %%zip-get-remaining-bytes : | | Internal functions |
| %%zip-get-string : | | Internal functions |
| %%zip-load-from-file : | | Internal functions |
| %%zip-new : | | Internal functions |
| %%zip-put-char : | | Internal functions |
| %%zip-put-console : | | Internal functions |
| %%zip-put-data : | | Internal functions |
| %%zip-put-float : | | Internal functions |
| %%zip-put-image : | | Internal functions |
| %%zip-put-int : | | Internal functions |
| %%zip-put-string : | | Internal functions |
| %%zip-save-to-file : | | Internal functions |
| %%zip-skip-bytes : | | Internal functions |
| %console-get-height-rect : | | Internal macros |
| %console-get-height-rect-utf : | | Internal macros |
| %console-init-root : | | Internal functions |
| %console-map-string-to-font-utf : | | Internal functions |
| %console-print : | | Internal macros |
| %console-print-double-frame : | | Internal macros |
| %console-print-ex : | | Internal macros |
| %console-print-ex-utf : | | Internal macros |
| %console-print-frame : | | Internal macros |
| %console-print-rect : | | Internal macros |
| %console-print-rect-ex : | | Internal macros |
| %console-print-rect-ex-utf : | | Internal macros |
| %console-print-rect-utf : | | Internal macros |
| %console-print-utf : | | Internal macros |
| %console-set-char : | | Internal functions |
| %console-set-custom-font : | | Internal functions |
| %dijkstra-get : | | Internal functions |
| %dijkstra-path-walk : | | Internal functions |
| %heightmap-add-voronoi : | | Internal functions |
| %heightmap-dig-bezier : | | Internal functions |
| %heightmap-get-minmax : | | Internal functions |
| %heightmap-get-normal : | | Internal functions |
| %heightmap-kernel-transform : | | Internal functions |
| %heightmap-rain-erosion : | | Internal functions |
| %image-get-size : | | Internal functions |
| %mouse-get-status : | | Internal functions |
| %noise-get : | | Internal functions |
| %noise-get-ex : | | Internal functions |
| %noise-get-fbm : | | Internal functions |
| %noise-get-fbm-ex : | | Internal functions |
| %noise-get-turbulence : | | Internal functions |
| %noise-get-turbulence-ex : | | Internal functions |
| %noise-new : | | Internal functions |
| %path-get : | | Internal functions |
| %path-get-destination : | | Internal functions |
| %path-get-origin : | | Internal functions |
| %path-walk : | | Internal functions |
| %sys-get-char-size : | | Internal functions |
| %sys-get-fullscreen-offsets : | | Internal functions |
| %sys-save-screenshot : | | Internal functions |
|
( | | |
| (setf key-c) : | | Exported functions |
| (setf key-lalt) : | | Exported functions |
| (setf key-lctrl) : | | Exported functions |
| (setf key-lmeta) : | | Exported functions |
| (setf key-pressed) : | | Exported functions |
| (setf key-ralt) : | | Exported functions |
| (setf key-rctrl) : | | Exported functions |
| (setf key-rmeta) : | | Exported functions |
| (setf key-shift) : | | Exported functions |
| (setf key-vk) : | | Exported functions |
| (setf mouse-cx) : | | Exported functions |
| (setf mouse-cy) : | | Exported functions |
| (setf mouse-dcx) : | | Internal functions |
| (setf mouse-dcy) : | | Internal functions |
| (setf mouse-dx) : | | Exported functions |
| (setf mouse-dy) : | | Exported functions |
| (setf mouse-lbutton) : | | Exported functions |
| (setf mouse-lbutton-pressed) : | | Exported functions |
| (setf mouse-mbutton) : | | Exported functions |
| (setf mouse-mbutton-pressed) : | | Exported functions |
| (setf mouse-rbutton) : | | Exported functions |
| (setf mouse-rbutton-pressed) : | | Exported functions |
| (setf mouse-wheel-down) : | | Exported functions |
| (setf mouse-wheel-up) : | | Exported functions |
| (setf mouse-x) : | | Exported functions |
| (setf mouse-y) : | | Exported functions |
|
B | | |
| background-add-alpha : | | Exported functions |
| background-alpha : | | Exported functions |
| bsp-contains? : | | Exported functions |
| bsp-delete : | | Exported functions |
| bsp-father : | | Exported functions |
| bsp-find-node : | | Exported functions |
| bsp-is-leaf? : | | Exported functions |
| bsp-left : | | Exported functions |
| bsp-new-with-size : | | Exported functions |
| bsp-remove-sons : | | Exported functions |
| bsp-resize : | | Exported functions |
| bsp-right : | | Exported functions |
| bsp-split-once : | | Exported functions |
| bsp-split-recursive : | | Exported functions |
| bsp-traverse-in-order : | | Exported functions |
| bsp-traverse-inverted-level-order : | | Exported functions |
| bsp-traverse-level-order : | | Exported functions |
| bsp-traverse-post-order : | | Exported functions |
| bsp-traverse-pre-order : | | Exported functions |
|
C | | |
| c-type->lisp-type : | | Internal functions |
| clamp : | | Internal macros |
| colctrl->char : | | Exported functions |
| color : | | Exported functions |
| color->grayscale : | | Exported functions |
| color->keyword : | | Exported functions |
| color-add : | | Exported functions |
| color-equals? : | | Exported functions |
| color-get-hsv : | | Exported functions |
| color-get-hue : | | Exported functions |
| color-get-saturation : | | Exported functions |
| color-get-value : | | Exported functions |
| color-hsv : | | Exported functions |
| color-lerp : | | Exported functions |
| color-multiply : | | Exported functions |
| color-multiply-scalar : | | Exported functions |
| color-rgb : | | Exported functions |
| color-set-hsv : | | Exported functions |
| color-set-hue : | | Exported functions |
| color-set-saturation : | | Exported functions |
| color-set-value : | | Exported functions |
| color-shift-hue : | | Exported functions |
| color-subtract : | | Exported functions |
| colour : | | Exported functions |
| colour->grayscale : | | Exported functions |
| colour->keyword : | | Exported functions |
| colour-add : | | Exported functions |
| colour-equals? : | | Exported functions |
| colour-get-hsv : | | Exported functions |
| colour-get-hue : | | Exported functions |
| colour-get-saturation : | | Exported functions |
| colour-get-value : | | Exported functions |
| colour-hsv : | | Exported functions |
| colour-lerp : | | Exported functions |
| colour-multiply : | | Exported functions |
| colour-multiply-scalar : | | Exported functions |
| colour-rgb : | | Exported functions |
| colour-scale-hsv : | | Internal functions |
| colour-set-hsv : | | Exported functions |
| colour-set-hue : | | Exported functions |
| colour-set-saturation : | | Exported functions |
| colour-set-value : | | Exported functions |
| colour-shift-hue : | | Exported functions |
| colour-subtract : | | Exported functions |
| compose-color : | | Exported functions |
| compose-colour : | | Exported functions |
| console-blit : | | Exported functions |
| console-check-for-keypress : | | Exported functions |
| console-clear : | | Exported functions |
| console-credits : | | Exported functions |
| console-credits-render : | | Internal functions |
| console-credits-reset : | | Exported functions |
| console-delete : | | Exported functions |
| console-disable-keyboard-repeat : | | Exported functions |
| console-fill-char : | | Exported functions |
| console-flush : | | Exported functions |
| console-get-alignment : | | Exported functions |
| console-get-background-flag : | | Exported functions |
| console-get-char : | | Exported functions |
| console-get-char-background : | | Exported functions |
| console-get-char-foreground : | | Exported functions |
| console-get-default-background : | | Exported functions |
| console-get-default-foreground : | | Exported functions |
| console-get-fade : | | Exported functions |
| console-get-fading-color : | | Exported functions |
| console-get-fading-colour : | | Exported functions |
| console-get-height : | | Exported functions |
| console-get-height-rect : | | Exported functions |
| console-get-height-rect-utf : | | Internal functions |
| console-get-width : | | Exported functions |
| console-hline : | | Exported functions |
| console-init-root : | | Exported functions |
| console-initialised? : | | Exported functions |
| console-is-fullscreen? : | | Exported functions |
| console-is-window-closed? : | | Exported functions |
| console-map-ascii-code-to-font : | | Exported functions |
| console-map-ascii-codes-to-font : | | Exported functions |
| console-map-string-to-font : | | Exported functions |
| console-map-string-to-font-utf : | | Exported functions |
| console-new : | | Exported functions |
| console-print : | | Exported functions |
| console-print-double-frame : | | Exported functions |
| console-print-ex : | | Exported functions |
| console-print-ex-utf : | | Exported functions |
| console-print-frame : | | Exported functions |
| console-print-rect : | | Exported functions |
| console-print-rect-ex : | | Exported functions |
| console-print-rect-ex-utf : | | Exported functions |
| console-print-rect-utf : | | Exported functions |
| console-print-return-string : | | Internal functions |
| console-print-utf : | | Exported functions |
| console-put-char : | | Exported functions |
| console-put-char-ex : | | Exported functions |
| console-rect : | | Exported functions |
| console-set-alignment : | | Exported functions |
| console-set-background-flag : | | Exported functions |
| console-set-char : | | Exported functions |
| console-set-char-background : | | Exported functions |
| console-set-char-foreground : | | Exported functions |
| console-set-color-control : | | Exported functions |
| console-set-colour-control : | | Exported functions |
| console-set-custom-font : | | Exported functions |
| console-set-default-background : | | Exported functions |
| console-set-default-foreground : | | Exported functions |
| console-set-dirty : | | Exported functions |
| console-set-fade : | | Exported functions |
| console-set-fullscreen : | | Exported functions |
| console-set-keyboard-repeat : | | Exported functions |
| console-set-window-title : | | Exported functions |
| console-vline : | | Exported functions |
| console-wait-for-keypress : | | Exported functions |
| copy-key : | | Internal functions |
| copy-mouse : | | Internal functions |
| custom-font-flags-predicate : | | Internal functions |
|
D | | |
| decompose-color : | | Exported functions |
| decompose-colour : | | Exported functions |
| define-c-bitfield : | | Internal macros |
| define-c-enum : | | Internal macros |
| define-c-function : | | Internal macros |
| define-c-type : | | Internal macros |
| dijkstra-compute : | | Exported functions |
| dijkstra-delete : | | Exported functions |
| dijkstra-get : | | Exported functions |
| dijkstra-get-distance : | | Exported functions |
| dijkstra-is-empty? : | | Exported functions |
| dijkstra-new : | | Exported functions |
| dijkstra-new-using-function : | | Exported functions |
| dijkstra-path-set : | | Exported functions |
| dijkstra-path-walk : | | Exported functions |
| dijkstra-reverse : | | Exported functions |
| dijkstra-size : | | Exported functions |
|
F | | |
| Function, %%%console-map-string-to-font-utf : | | Internal functions |
| Function, %%%heightmap-add-voronoi : | | Internal functions |
| Function, %%%heightmap-get-normal : | | Internal functions |
| Function, %%%heightmap-kernel-transform : | | Internal functions |
| Function, %%bsp-contains? : | | Internal functions |
| Function, %%bsp-delete : | | Internal functions |
| Function, %%bsp-father : | | Internal functions |
| Function, %%bsp-find-node : | | Internal functions |
| Function, %%bsp-is-leaf? : | | Internal functions |
| Function, %%bsp-left : | | Internal functions |
| Function, %%bsp-new-with-size : | | Internal functions |
| Function, %%bsp-remove-sons : | | Internal functions |
| Function, %%bsp-resize : | | Internal functions |
| Function, %%bsp-right : | | Internal functions |
| Function, %%bsp-split-once : | | Internal functions |
| Function, %%bsp-split-recursive : | | Internal functions |
| Function, %%bsp-traverse-in-order : | | Internal functions |
| Function, %%bsp-traverse-inverted-level-order : | | Internal functions |
| Function, %%bsp-traverse-level-order : | | Internal functions |
| Function, %%bsp-traverse-post-order : | | Internal functions |
| Function, %%bsp-traverse-pre-order : | | Internal functions |
| Function, %%colour-add : | | Internal functions |
| Function, %%colour-equals? : | | Internal functions |
| Function, %%colour-get-hue : | | Internal functions |
| Function, %%colour-get-saturation : | | Internal functions |
| Function, %%colour-get-value : | | Internal functions |
| Function, %%colour-lerp : | | Internal functions |
| Function, %%colour-multiply : | | Internal functions |
| Function, %%colour-multiply-scalar : | | Internal functions |
| Function, %%colour-set-hsv : | | Internal functions |
| Function, %%colour-subtract : | | Internal functions |
| Function, %%console-blit : | | Internal functions |
| Function, %%console-clear : | | Internal functions |
| Function, %%console-credits : | | Internal functions |
| Function, %%console-credits-render : | | Internal functions |
| Function, %%console-credits-reset : | | Internal functions |
| Function, %%console-delete : | | Internal functions |
| Function, %%console-disable-keyboard-repeat : | | Internal functions |
| Function, %%console-flush : | | Internal functions |
| Function, %%console-get-alignment : | | Internal functions |
| Function, %%console-get-background-flag : | | Internal functions |
| Function, %%console-get-char : | | Internal functions |
| Function, %%console-get-char-background : | | Internal functions |
| Function, %%console-get-char-foreground : | | Internal functions |
| Function, %%console-get-default-background : | | Internal functions |
| Function, %%console-get-default-foreground : | | Internal functions |
| Function, %%console-get-fade : | | Internal functions |
| Function, %%console-get-fading-color : | | Internal functions |
| Function, %%console-get-height : | | Internal functions |
| Function, %%console-get-width : | | Internal functions |
| Function, %%console-hline : | | Internal functions |
| Function, %%console-is-fullscreen? : | | Internal functions |
| Function, %%console-is-window-closed? : | | Internal functions |
| Function, %%console-map-ascii-code-to-font : | | Internal functions |
| Function, %%console-map-ascii-codes-to-font : | | Internal functions |
| Function, %%console-map-string-to-font : | | Internal functions |
| Function, %%console-new : | | Internal functions |
| Function, %%console-print-return-string : | | Internal functions |
| Function, %%console-put-char : | | Internal functions |
| Function, %%console-put-char-ex : | | Internal functions |
| Function, %%console-rect : | | Internal functions |
| Function, %%console-set-alignment : | | Internal functions |
| Function, %%console-set-background-flag : | | Internal functions |
| Function, %%console-set-char-background : | | Internal functions |
| Function, %%console-set-char-foreground : | | Internal functions |
| Function, %%console-set-colour-control : | | Internal functions |
| Function, %%console-set-default-background : | | Internal functions |
| Function, %%console-set-default-foreground : | | Internal functions |
| Function, %%console-set-dirty : | | Internal functions |
| Function, %%console-set-fade : | | Internal functions |
| Function, %%console-set-fullscreen : | | Internal functions |
| Function, %%console-set-keyboard-repeat : | | Internal functions |
| Function, %%console-set-window-title : | | Internal functions |
| Function, %%console-vline : | | Internal functions |
| Function, %%dijkstra-compute : | | Internal functions |
| Function, %%dijkstra-delete : | | Internal functions |
| Function, %%dijkstra-get-distance : | | Internal functions |
| Function, %%dijkstra-is-empty? : | | Internal functions |
| Function, %%dijkstra-new : | | Internal functions |
| Function, %%dijkstra-new-using-function : | | Internal functions |
| Function, %%dijkstra-path-set : | | Internal functions |
| Function, %%dijkstra-reverse : | | Internal functions |
| Function, %%dijkstra-size : | | Internal functions |
| Function, %%heightmap-add : | | Internal functions |
| Function, %%heightmap-add-fbm : | | Internal functions |
| Function, %%heightmap-add-hill : | | Internal functions |
| Function, %%heightmap-add-hm : | | Internal functions |
| Function, %%heightmap-clamp : | | Internal functions |
| Function, %%heightmap-clear : | | Internal functions |
| Function, %%heightmap-copy : | | Internal functions |
| Function, %%heightmap-count-cells : | | Internal functions |
| Function, %%heightmap-delete : | | Internal functions |
| Function, %%heightmap-dig-hill : | | Internal functions |
| Function, %%heightmap-get-interpolated-value : | | Internal functions |
| Function, %%heightmap-get-slope : | | Internal functions |
| Function, %%heightmap-get-value : | | Internal functions |
| Function, %%heightmap-has-land-on-border? : | | Internal functions |
| Function, %%heightmap-islandify : | | Internal functions |
| Function, %%heightmap-lerp-hm : | | Internal functions |
| Function, %%heightmap-multiply-hm : | | Internal functions |
| Function, %%heightmap-new : | | Internal functions |
| Function, %%heightmap-normalize : | | Internal functions |
| Function, %%heightmap-scale : | | Internal functions |
| Function, %%heightmap-scale-fbm : | | Internal functions |
| Function, %%heightmap-set-value : | | Internal functions |
| Function, %%image-blit : | | Internal functions |
| Function, %%image-blit-2x : | | Internal functions |
| Function, %%image-blit-rect : | | Internal functions |
| Function, %%image-clear : | | Internal functions |
| Function, %%image-delete : | | Internal functions |
| Function, %%image-from-console : | | Internal functions |
| Function, %%image-get-alpha : | | Internal functions |
| Function, %%image-get-mipmap-pixel : | | Internal functions |
| Function, %%image-get-pixel : | | Internal functions |
| Function, %%image-hflip : | | Internal functions |
| Function, %%image-invert : | | Internal functions |
| Function, %%image-is-pixel-transparent? : | | Internal functions |
| Function, %%image-load : | | Internal functions |
| Function, %%image-new : | | Internal functions |
| Function, %%image-put-pixel : | | Internal functions |
| Function, %%image-refresh-console : | | Internal functions |
| Function, %%image-rotate90 : | | Internal functions |
| Function, %%image-save : | | Internal functions |
| Function, %%image-scale : | | Internal functions |
| Function, %%image-set-key-color : | | Internal functions |
| Function, %%image-vflip : | | Internal functions |
| Function, %%is-key-pressed? : | | Internal functions |
| Function, %%line-init : | | Internal functions |
| Function, %%line-line : | | Internal functions |
| Function, %%line-step : | | Internal functions |
| Function, %%map-clear : | | Internal functions |
| Function, %%map-compute-fov : | | Internal functions |
| Function, %%map-copy : | | Internal functions |
| Function, %%map-delete : | | Internal functions |
| Function, %%map-get-height : | | Internal functions |
| Function, %%map-get-nb-cells : | | Internal functions |
| Function, %%map-get-width : | | Internal functions |
| Function, %%map-is-in-fov? : | | Internal functions |
| Function, %%map-is-transparent? : | | Internal functions |
| Function, %%map-is-walkable? : | | Internal functions |
| Function, %%map-new : | | Internal functions |
| Function, %%map-set-in-fov : | | Internal functions |
| Function, %%map-set-properties : | | Internal functions |
| Function, %%mouse-is-cursor-visible? : | | Internal functions |
| Function, %%mouse-move : | | Internal functions |
| Function, %%mouse-show-cursor : | | Internal functions |
| Function, %%namegen-destroy : | | Internal functions |
| Function, %%namegen-generate : | | Internal functions |
| Function, %%namegen-generate-custom : | | Internal functions |
| Function, %%namegen-parse : | | Internal functions |
| Function, %%noise-delete : | | Internal functions |
| Function, %%noise-set-type : | | Internal functions |
| Function, %%path-compute : | | Internal functions |
| Function, %%path-delete : | | Internal functions |
| Function, %%path-is-empty? : | | Internal functions |
| Function, %%path-new-using-function : | | Internal functions |
| Function, %%path-new-using-map : | | Internal functions |
| Function, %%path-reverse : | | Internal functions |
| Function, %%path-size : | | Internal functions |
| Function, %%random-delete : | | Internal functions |
| Function, %%random-get-double : | | Internal functions |
| Function, %%random-get-double-mean : | | Internal functions |
| Function, %%random-get-float : | | Internal functions |
| Function, %%random-get-float-mean : | | Internal functions |
| Function, %%random-get-instance : | | Internal functions |
| Function, %%random-get-int : | | Internal functions |
| Function, %%random-get-int-mean : | | Internal functions |
| Function, %%random-new : | | Internal functions |
| Function, %%random-new-from-seed : | | Internal functions |
| Function, %%random-restore : | | Internal functions |
| Function, %%random-save : | | Internal functions |
| Function, %%random-set-distribution : | | Internal functions |
| Function, %%sys-check-for-event : | | Internal functions |
| Function, %%sys-clipboard-get : | | Internal functions |
| Function, %%sys-clipboard-set : | | Internal functions |
| Function, %%sys-create-directory : | | Internal functions |
| Function, %%sys-delete-directory : | | Internal functions |
| Function, %%sys-elapsed-milli : | | Internal functions |
| Function, %%sys-elapsed-seconds : | | Internal functions |
| Function, %%sys-force-fullscreen-resolution : | | Internal functions |
| Function, %%sys-get-fps : | | Internal functions |
| Function, %%sys-get-last-frame-length : | | Internal functions |
| Function, %%sys-get-renderer : | | Internal functions |
| Function, %%sys-register-sdl-renderer : | | Internal functions |
| Function, %%sys-set-fps : | | Internal functions |
| Function, %%sys-set-renderer : | | Internal functions |
| Function, %%sys-sleep-milli : | | Internal functions |
| Function, %%sys-update-char : | | Internal functions |
| Function, %%sys-wait-for-event : | | Internal functions |
| Function, %%zip-delete : | | Internal functions |
| Function, %%zip-get-char : | | Internal functions |
| Function, %%zip-get-console : | | Internal functions |
| Function, %%zip-get-current-bytes : | | Internal functions |
| Function, %%zip-get-data : | | Internal functions |
| Function, %%zip-get-float : | | Internal functions |
| Function, %%zip-get-image : | | Internal functions |
| Function, %%zip-get-int : | | Internal functions |
| Function, %%zip-get-remaining-bytes : | | Internal functions |
| Function, %%zip-get-string : | | Internal functions |
| Function, %%zip-load-from-file : | | Internal functions |
| Function, %%zip-new : | | Internal functions |
| Function, %%zip-put-char : | | Internal functions |
| Function, %%zip-put-console : | | Internal functions |
| Function, %%zip-put-data : | | Internal functions |
| Function, %%zip-put-float : | | Internal functions |
| Function, %%zip-put-image : | | Internal functions |
| Function, %%zip-put-int : | | Internal functions |
| Function, %%zip-put-string : | | Internal functions |
| Function, %%zip-save-to-file : | | Internal functions |
| Function, %%zip-skip-bytes : | | Internal functions |
| Function, %console-init-root : | | Internal functions |
| Function, %console-map-string-to-font-utf : | | Internal functions |
| Function, %console-set-char : | | Internal functions |
| Function, %console-set-custom-font : | | Internal functions |
| Function, %dijkstra-get : | | Internal functions |
| Function, %dijkstra-path-walk : | | Internal functions |
| Function, %heightmap-add-voronoi : | | Internal functions |
| Function, %heightmap-dig-bezier : | | Internal functions |
| Function, %heightmap-get-minmax : | | Internal functions |
| Function, %heightmap-get-normal : | | Internal functions |
| Function, %heightmap-kernel-transform : | | Internal functions |
| Function, %heightmap-rain-erosion : | | Internal functions |
| Function, %image-get-size : | | Internal functions |
| Function, %mouse-get-status : | | Internal functions |
| Function, %noise-get : | | Internal functions |
| Function, %noise-get-ex : | | Internal functions |
| Function, %noise-get-fbm : | | Internal functions |
| Function, %noise-get-fbm-ex : | | Internal functions |
| Function, %noise-get-turbulence : | | Internal functions |
| Function, %noise-get-turbulence-ex : | | Internal functions |
| Function, %noise-new : | | Internal functions |
| Function, %path-get : | | Internal functions |
| Function, %path-get-destination : | | Internal functions |
| Function, %path-get-origin : | | Internal functions |
| Function, %path-walk : | | Internal functions |
| Function, %sys-get-char-size : | | Internal functions |
| Function, %sys-get-fullscreen-offsets : | | Internal functions |
| Function, %sys-save-screenshot : | | Internal functions |
| Function, (setf key-c) : | | Exported functions |
| Function, (setf key-lalt) : | | Exported functions |
| Function, (setf key-lctrl) : | | Exported functions |
| Function, (setf key-lmeta) : | | Exported functions |
| Function, (setf key-pressed) : | | Exported functions |
| Function, (setf key-ralt) : | | Exported functions |
| Function, (setf key-rctrl) : | | Exported functions |
| Function, (setf key-rmeta) : | | Exported functions |
| Function, (setf key-shift) : | | Exported functions |
| Function, (setf key-vk) : | | Exported functions |
| Function, (setf mouse-cx) : | | Exported functions |
| Function, (setf mouse-cy) : | | Exported functions |
| Function, (setf mouse-dcx) : | | Internal functions |
| Function, (setf mouse-dcy) : | | Internal functions |
| Function, (setf mouse-dx) : | | Exported functions |
| Function, (setf mouse-dy) : | | Exported functions |
| Function, (setf mouse-lbutton) : | | Exported functions |
| Function, (setf mouse-lbutton-pressed) : | | Exported functions |
| Function, (setf mouse-mbutton) : | | Exported functions |
| Function, (setf mouse-mbutton-pressed) : | | Exported functions |
| Function, (setf mouse-rbutton) : | | Exported functions |
| Function, (setf mouse-rbutton-pressed) : | | Exported functions |
| Function, (setf mouse-wheel-down) : | | Exported functions |
| Function, (setf mouse-wheel-up) : | | Exported functions |
| Function, (setf mouse-x) : | | Exported functions |
| Function, (setf mouse-y) : | | Exported functions |
| Function, background-add-alpha : | | Exported functions |
| Function, background-alpha : | | Exported functions |
| Function, bsp-contains? : | | Exported functions |
| Function, bsp-delete : | | Exported functions |
| Function, bsp-father : | | Exported functions |
| Function, bsp-find-node : | | Exported functions |
| Function, bsp-is-leaf? : | | Exported functions |
| Function, bsp-left : | | Exported functions |
| Function, bsp-new-with-size : | | Exported functions |
| Function, bsp-remove-sons : | | Exported functions |
| Function, bsp-resize : | | Exported functions |
| Function, bsp-right : | | Exported functions |
| Function, bsp-split-once : | | Exported functions |
| Function, bsp-split-recursive : | | Exported functions |
| Function, bsp-traverse-in-order : | | Exported functions |
| Function, bsp-traverse-inverted-level-order : | | Exported functions |
| Function, bsp-traverse-level-order : | | Exported functions |
| Function, bsp-traverse-post-order : | | Exported functions |
| Function, bsp-traverse-pre-order : | | Exported functions |
| Function, c-type->lisp-type : | | Internal functions |
| Function, colctrl->char : | | Exported functions |
| Function, color : | | Exported functions |
| Function, color->grayscale : | | Exported functions |
| Function, color->keyword : | | Exported functions |
| Function, color-add : | | Exported functions |
| Function, color-equals? : | | Exported functions |
| Function, color-get-hsv : | | Exported functions |
| Function, color-get-hue : | | Exported functions |
| Function, color-get-saturation : | | Exported functions |
| Function, color-get-value : | | Exported functions |
| Function, color-hsv : | | Exported functions |
| Function, color-lerp : | | Exported functions |
| Function, color-multiply : | | Exported functions |
| Function, color-multiply-scalar : | | Exported functions |
| Function, color-rgb : | | Exported functions |
| Function, color-set-hsv : | | Exported functions |
| Function, color-set-hue : | | Exported functions |
| Function, color-set-saturation : | | Exported functions |
| Function, color-set-value : | | Exported functions |
| Function, color-shift-hue : | | Exported functions |
| Function, color-subtract : | | Exported functions |
| Function, colour : | | Exported functions |
| Function, colour->grayscale : | | Exported functions |
| Function, colour->keyword : | | Exported functions |
| Function, colour-add : | | Exported functions |
| Function, colour-equals? : | | Exported functions |
| Function, colour-get-hsv : | | Exported functions |
| Function, colour-get-hue : | | Exported functions |
| Function, colour-get-saturation : | | Exported functions |
| Function, colour-get-value : | | Exported functions |
| Function, colour-hsv : | | Exported functions |
| Function, colour-lerp : | | Exported functions |
| Function, colour-multiply : | | Exported functions |
| Function, colour-multiply-scalar : | | Exported functions |
| Function, colour-rgb : | | Exported functions |
| Function, colour-scale-hsv : | | Internal functions |
| Function, colour-set-hsv : | | Exported functions |
| Function, colour-set-hue : | | Exported functions |
| Function, colour-set-saturation : | | Exported functions |
| Function, colour-set-value : | | Exported functions |
| Function, colour-shift-hue : | | Exported functions |
| Function, colour-subtract : | | Exported functions |
| Function, compose-color : | | Exported functions |
| Function, compose-colour : | | Exported functions |
| Function, console-blit : | | Exported functions |
| Function, console-check-for-keypress : | | Exported functions |
| Function, console-clear : | | Exported functions |
| Function, console-credits : | | Exported functions |
| Function, console-credits-render : | | Internal functions |
| Function, console-credits-reset : | | Exported functions |
| Function, console-delete : | | Exported functions |
| Function, console-disable-keyboard-repeat : | | Exported functions |
| Function, console-fill-char : | | Exported functions |
| Function, console-flush : | | Exported functions |
| Function, console-get-alignment : | | Exported functions |
| Function, console-get-background-flag : | | Exported functions |
| Function, console-get-char : | | Exported functions |
| Function, console-get-char-background : | | Exported functions |
| Function, console-get-char-foreground : | | Exported functions |
| Function, console-get-default-background : | | Exported functions |
| Function, console-get-default-foreground : | | Exported functions |
| Function, console-get-fade : | | Exported functions |
| Function, console-get-fading-color : | | Exported functions |
| Function, console-get-fading-colour : | | Exported functions |
| Function, console-get-height : | | Exported functions |
| Function, console-get-height-rect : | | Exported functions |
| Function, console-get-height-rect-utf : | | Internal functions |
| Function, console-get-width : | | Exported functions |
| Function, console-hline : | | Exported functions |
| Function, console-init-root : | | Exported functions |
| Function, console-initialised? : | | Exported functions |
| Function, console-is-fullscreen? : | | Exported functions |
| Function, console-is-window-closed? : | | Exported functions |
| Function, console-map-ascii-code-to-font : | | Exported functions |
| Function, console-map-ascii-codes-to-font : | | Exported functions |
| Function, console-map-string-to-font : | | Exported functions |
| Function, console-map-string-to-font-utf : | | Exported functions |
| Function, console-new : | | Exported functions |
| Function, console-print : | | Exported functions |
| Function, console-print-double-frame : | | Exported functions |
| Function, console-print-ex : | | Exported functions |
| Function, console-print-ex-utf : | | Exported functions |
| Function, console-print-frame : | | Exported functions |
| Function, console-print-rect : | | Exported functions |
| Function, console-print-rect-ex : | | Exported functions |
| Function, console-print-rect-ex-utf : | | Exported functions |
| Function, console-print-rect-utf : | | Exported functions |
| Function, console-print-return-string : | | Internal functions |
| Function, console-print-utf : | | Exported functions |
| Function, console-put-char : | | Exported functions |
| Function, console-put-char-ex : | | Exported functions |
| Function, console-rect : | | Exported functions |
| Function, console-set-alignment : | | Exported functions |
| Function, console-set-background-flag : | | Exported functions |
| Function, console-set-char : | | Exported functions |
| Function, console-set-char-background : | | Exported functions |
| Function, console-set-char-foreground : | | Exported functions |
| Function, console-set-color-control : | | Exported functions |
| Function, console-set-colour-control : | | Exported functions |
| Function, console-set-custom-font : | | Exported functions |
| Function, console-set-default-background : | | Exported functions |
| Function, console-set-default-foreground : | | Exported functions |
| Function, console-set-dirty : | | Exported functions |
| Function, console-set-fade : | | Exported functions |
| Function, console-set-fullscreen : | | Exported functions |
| Function, console-set-keyboard-repeat : | | Exported functions |
| Function, console-set-window-title : | | Exported functions |
| Function, console-vline : | | Exported functions |
| Function, console-wait-for-keypress : | | Exported functions |
| Function, copy-key : | | Internal functions |
| Function, copy-mouse : | | Internal functions |
| Function, custom-font-flags-predicate : | | Internal functions |
| Function, decompose-color : | | Exported functions |
| Function, decompose-colour : | | Exported functions |
| Function, dijkstra-compute : | | Exported functions |
| Function, dijkstra-delete : | | Exported functions |
| Function, dijkstra-get : | | Exported functions |
| Function, dijkstra-get-distance : | | Exported functions |
| Function, dijkstra-is-empty? : | | Exported functions |
| Function, dijkstra-new : | | Exported functions |
| Function, dijkstra-new-using-function : | | Exported functions |
| Function, dijkstra-path-set : | | Exported functions |
| Function, dijkstra-path-walk : | | Exported functions |
| Function, dijkstra-reverse : | | Exported functions |
| Function, dijkstra-size : | | Exported functions |
| Function, get-bit : | | Internal functions |
| Function, heightmap-add : | | Exported functions |
| Function, heightmap-add-fbm : | | Exported functions |
| Function, heightmap-add-hill : | | Exported functions |
| Function, heightmap-add-hm : | | Exported functions |
| Function, heightmap-add-voronoi : | | Exported functions |
| Function, heightmap-clamp : | | Exported functions |
| Function, heightmap-clear : | | Exported functions |
| Function, heightmap-copy : | | Exported functions |
| Function, heightmap-count-cells : | | Exported functions |
| Function, heightmap-delete : | | Exported functions |
| Function, heightmap-dig-bezier : | | Exported functions |
| Function, heightmap-dig-hill : | | Exported functions |
| Function, heightmap-dig-line : | | Exported functions |
| Function, heightmap-get-interpolated-value : | | Exported functions |
| Function, heightmap-get-max : | | Exported functions |
| Function, heightmap-get-min : | | Exported functions |
| Function, heightmap-get-normal : | | Exported functions |
| Function, heightmap-get-slope : | | Exported functions |
| Function, heightmap-get-value : | | Exported functions |
| Function, heightmap-has-land-on-border? : | | Exported functions |
| Function, heightmap-islandify : | | Exported functions |
| Function, heightmap-kernel-transform : | | Exported functions |
| Function, heightmap-lerp-hm : | | Exported functions |
| Function, heightmap-multiply-hm : | | Exported functions |
| Function, heightmap-new : | | Exported functions |
| Function, heightmap-normalise : | | Exported functions |
| Function, heightmap-normalize : | | Exported functions |
| Function, heightmap-rain-erosion : | | Exported functions |
| Function, heightmap-scale : | | Exported functions |
| Function, heightmap-scale-fbm : | | Exported functions |
| Function, heightmap-set-value : | | Exported functions |
| Function, hello-world : | | Exported functions |
| Function, image-blit : | | Exported functions |
| Function, image-blit-2x : | | Exported functions |
| Function, image-blit-rect : | | Exported functions |
| Function, image-clear : | | Exported functions |
| Function, image-delete : | | Exported functions |
| Function, image-from-console : | | Exported functions |
| Function, image-get-alpha : | | Exported functions |
| Function, image-get-height : | | Exported functions |
| Function, image-get-mipmap-pixel : | | Exported functions |
| Function, image-get-pixel : | | Exported functions |
| Function, image-get-width : | | Exported functions |
| Function, image-hflip : | | Exported functions |
| Function, image-invert : | | Exported functions |
| Function, image-is-pixel-transparent? : | | Exported functions |
| Function, image-load : | | Exported functions |
| Function, image-new : | | Exported functions |
| Function, image-put-pixel : | | Exported functions |
| Function, image-refresh-console : | | Exported functions |
| Function, image-rotate90 : | | Exported functions |
| Function, image-save : | | Exported functions |
| Function, image-scale : | | Exported functions |
| Function, image-set-key-color : | | Exported functions |
| Function, image-set-key-colour : | | Exported functions |
| Function, image-vflip : | | Exported functions |
| Function, invert-color : | | Exported functions |
| Function, invert-colour : | | Exported functions |
| Function, is-key-pressed? : | | Exported functions |
| Function, key->keypress : | | Internal functions |
| Function, key-bitfield->vk : | | Internal functions |
| Function, key-c : | | Exported functions |
| Function, key-lalt : | | Exported functions |
| Function, key-lctrl : | | Exported functions |
| Function, key-lmeta : | | Exported functions |
| Function, key-p : | | Exported functions |
| Function, key-pressed : | | Exported functions |
| Function, key-ralt : | | Exported functions |
| Function, key-rctrl : | | Exported functions |
| Function, key-rmeta : | | Exported functions |
| Function, key-shift : | | Exported functions |
| Function, key-state-predicate : | | Internal functions |
| Function, key-vk : | | Exported functions |
| Function, line-init : | | Exported functions |
| Function, line-line : | | Exported functions |
| Function, line-step : | | Exported functions |
| Function, make-color : | | Exported functions |
| Function, make-colour : | | Exported functions |
| Function, make-key : | | Exported functions |
| Function, make-mouse : | | Exported functions |
| Function, make-rgb.txt-colours : | | Internal functions |
| Function, make-simple-key : | | Exported functions |
| Function, map-clear : | | Exported functions |
| Function, map-compute-fov : | | Exported functions |
| Function, map-copy : | | Exported functions |
| Function, map-delete : | | Exported functions |
| Function, map-get-height : | | Exported functions |
| Function, map-get-nb-cells : | | Exported functions |
| Function, map-get-width : | | Exported functions |
| Function, map-is-in-fov? : | | Exported functions |
| Function, map-is-transparent? : | | Exported functions |
| Function, map-is-walkable? : | | Exported functions |
| Function, map-new : | | Exported functions |
| Function, map-set-in-fov : | | Exported functions |
| Function, map-set-properties : | | Exported functions |
| Function, mouse-cx : | | Exported functions |
| Function, mouse-cy : | | Exported functions |
| Function, mouse-dcx : | | Internal functions |
| Function, mouse-dcy : | | Internal functions |
| Function, mouse-dx : | | Exported functions |
| Function, mouse-dy : | | Exported functions |
| Function, mouse-get-status : | | Exported functions |
| Function, mouse-is-cursor-visible? : | | Exported functions |
| Function, mouse-lbutton : | | Exported functions |
| Function, mouse-lbutton-pressed : | | Exported functions |
| Function, mouse-mbutton : | | Exported functions |
| Function, mouse-mbutton-pressed : | | Exported functions |
| Function, mouse-move : | | Exported functions |
| Function, mouse-p : | | Internal functions |
| Function, mouse-rbutton : | | Exported functions |
| Function, mouse-rbutton-pressed : | | Exported functions |
| Function, mouse-show-cursor : | | Exported functions |
| Function, mouse-wheel-down : | | Exported functions |
| Function, mouse-wheel-up : | | Exported functions |
| Function, mouse-x : | | Exported functions |
| Function, mouse-y : | | Exported functions |
| Function, namegen-destroy : | | Exported functions |
| Function, namegen-generate : | | Exported functions |
| Function, namegen-generate-custom : | | Exported functions |
| Function, namegen-parse : | | Exported functions |
| Function, noise-delete : | | Exported functions |
| Function, noise-get : | | Exported functions |
| Function, noise-get-ex : | | Exported functions |
| Function, noise-get-fbm : | | Exported functions |
| Function, noise-get-fbm-ex : | | Exported functions |
| Function, noise-get-turbulence : | | Exported functions |
| Function, noise-get-turbulence-ex : | | Exported functions |
| Function, noise-new : | | Exported functions |
| Function, noise-set-type : | | Exported functions |
| Function, parse-mouse-state : | | Internal functions |
| Function, path-compute : | | Exported functions |
| Function, path-delete : | | Exported functions |
| Function, path-get : | | Exported functions |
| Function, path-get-destination : | | Exported functions |
| Function, path-get-origin : | | Exported functions |
| Function, path-is-empty? : | | Exported functions |
| Function, path-new-using-function : | | Exported functions |
| Function, path-new-using-map : | | Exported functions |
| Function, path-reverse : | | Exported functions |
| Function, path-size : | | Exported functions |
| Function, path-walk : | | Exported functions |
| Function, prepend-percent : | | Internal functions |
| Function, random-delete : | | Exported functions |
| Function, random-get-double : | | Exported functions |
| Function, random-get-double-mean : | | Exported functions |
| Function, random-get-float : | | Exported functions |
| Function, random-get-float-mean : | | Exported functions |
| Function, random-get-instance : | | Exported functions |
| Function, random-get-int : | | Exported functions |
| Function, random-get-int-mean : | | Exported functions |
| Function, random-new : | | Exported functions |
| Function, random-new-from-seed : | | Exported functions |
| Function, random-restore : | | Exported functions |
| Function, random-save : | | Exported functions |
| Function, random-set-distribution : | | Exported functions |
| Function, same-keys? : | | Exported functions |
| Function, sdl-get-mouse-state : | | Exported functions |
| Function, simple-type? : | | Internal functions |
| Function, start-colors : | | Exported functions |
| Function, start-colours : | | Exported functions |
| Function, sys-check-for-event : | | Exported functions |
| Function, sys-clipboard-get : | | Exported functions |
| Function, sys-clipboard-set : | | Exported functions |
| Function, sys-create-directory : | | Exported functions |
| Function, sys-delete-directory : | | Exported functions |
| Function, sys-elapsed-milli : | | Exported functions |
| Function, sys-elapsed-seconds : | | Exported functions |
| Function, sys-force-fullscreen-resolution : | | Exported functions |
| Function, sys-get-char-size : | | Exported functions |
| Function, sys-get-current-resolution : | | Exported functions |
| Function, sys-get-current-resolution-x : | | Internal functions |
| Function, sys-get-current-resolution-y : | | Internal functions |
| Function, sys-get-events : | | Exported functions |
| Function, sys-get-fps : | | Exported functions |
| Function, sys-get-fullscreen-offsets : | | Exported functions |
| Function, sys-get-last-frame-length : | | Exported functions |
| Function, sys-get-renderer : | | Exported functions |
| Function, sys-register-sdl-renderer : | | Exported functions |
| Function, sys-save-screenshot : | | Exported functions |
| Function, sys-set-fps : | | Exported functions |
| Function, sys-set-renderer : | | Exported functions |
| Function, sys-sleep-milli : | | Exported functions |
| Function, sys-update-char : | | Exported functions |
| Function, sys-wait-events : | | Exported functions |
| Function, sys-wait-for-event : | | Exported functions |
| Function, zip-delete : | | Exported functions |
| Function, zip-get-char : | | Exported functions |
| Function, zip-get-color : | | Exported functions |
| Function, zip-get-colour : | | Exported functions |
| Function, zip-get-console : | | Exported functions |
| Function, zip-get-current-bytes : | | Exported functions |
| Function, zip-get-data : | | Exported functions |
| Function, zip-get-float : | | Exported functions |
| Function, zip-get-image : | | Exported functions |
| Function, zip-get-int : | | Exported functions |
| Function, zip-get-remaining-bytes : | | Exported functions |
| Function, zip-get-string : | | Exported functions |
| Function, zip-load-from-file : | | Exported functions |
| Function, zip-new : | | Exported functions |
| Function, zip-put : | | Exported functions |
| Function, zip-put-char : | | Exported functions |
| Function, zip-put-color : | | Exported functions |
| Function, zip-put-colour : | | Exported functions |
| Function, zip-put-console : | | Exported functions |
| Function, zip-put-data : | | Exported functions |
| Function, zip-put-float : | | Exported functions |
| Function, zip-put-image : | | Exported functions |
| Function, zip-put-int : | | Exported functions |
| Function, zip-put-string : | | Exported functions |
| Function, zip-save-to-file : | | Exported functions |
| Function, zip-skip-bytes : | | Exported functions |
|
G | | |
| get-bit : | | Internal functions |
|
H | | |
| heightmap-add : | | Exported functions |
| heightmap-add-fbm : | | Exported functions |
| heightmap-add-hill : | | Exported functions |
| heightmap-add-hm : | | Exported functions |
| heightmap-add-voronoi : | | Exported functions |
| heightmap-clamp : | | Exported functions |
| heightmap-clear : | | Exported functions |
| heightmap-copy : | | Exported functions |
| heightmap-count-cells : | | Exported functions |
| heightmap-delete : | | Exported functions |
| heightmap-dig-bezier : | | Exported functions |
| heightmap-dig-hill : | | Exported functions |
| heightmap-dig-line : | | Exported functions |
| heightmap-get-interpolated-value : | | Exported functions |
| heightmap-get-max : | | Exported functions |
| heightmap-get-min : | | Exported functions |
| heightmap-get-normal : | | Exported functions |
| heightmap-get-slope : | | Exported functions |
| heightmap-get-value : | | Exported functions |
| heightmap-has-land-on-border? : | | Exported functions |
| heightmap-islandify : | | Exported functions |
| heightmap-kernel-transform : | | Exported functions |
| heightmap-lerp-hm : | | Exported functions |
| heightmap-multiply-hm : | | Exported functions |
| heightmap-new : | | Exported functions |
| heightmap-normalise : | | Exported functions |
| heightmap-normalize : | | Exported functions |
| heightmap-rain-erosion : | | Exported functions |
| heightmap-scale : | | Exported functions |
| heightmap-scale-fbm : | | Exported functions |
| heightmap-set-value : | | Exported functions |
| hello-world : | | Exported functions |
|
I | | |
| image-blit : | | Exported functions |
| image-blit-2x : | | Exported functions |
| image-blit-rect : | | Exported functions |
| image-clear : | | Exported functions |
| image-delete : | | Exported functions |
| image-from-console : | | Exported functions |
| image-get-alpha : | | Exported functions |
| image-get-height : | | Exported functions |
| image-get-mipmap-pixel : | | Exported functions |
| image-get-pixel : | | Exported functions |
| image-get-width : | | Exported functions |
| image-hflip : | | Exported functions |
| image-invert : | | Exported functions |
| image-is-pixel-transparent? : | | Exported functions |
| image-load : | | Exported functions |
| image-new : | | Exported functions |
| image-put-pixel : | | Exported functions |
| image-refresh-console : | | Exported functions |
| image-rotate90 : | | Exported functions |
| image-save : | | Exported functions |
| image-scale : | | Exported functions |
| image-set-key-color : | | Exported functions |
| image-set-key-colour : | | Exported functions |
| image-vflip : | | Exported functions |
| invert-color : | | Exported functions |
| invert-colour : | | Exported functions |
| is-key-pressed? : | | Exported functions |
|
K | | |
| key->keypress : | | Internal functions |
| key-bitfield->vk : | | Internal functions |
| key-c : | | Exported functions |
| key-lalt : | | Exported functions |
| key-lctrl : | | Exported functions |
| key-lmeta : | | Exported functions |
| key-p : | | Exported functions |
| key-pressed : | | Exported functions |
| key-ralt : | | Exported functions |
| key-rctrl : | | Exported functions |
| key-rmeta : | | Exported functions |
| key-shift : | | Exported functions |
| key-state-predicate : | | Internal functions |
| key-vk : | | Exported functions |
|
L | | |
| legal-console-coordinates? : | | Exported macros |
| line-init : | | Exported functions |
| line-line : | | Exported functions |
| line-step : | | Exported functions |
|
M | | |
| Macro, %console-get-height-rect : | | Internal macros |
| Macro, %console-get-height-rect-utf : | | Internal macros |
| Macro, %console-print : | | Internal macros |
| Macro, %console-print-double-frame : | | Internal macros |
| Macro, %console-print-ex : | | Internal macros |
| Macro, %console-print-ex-utf : | | Internal macros |
| Macro, %console-print-frame : | | Internal macros |
| Macro, %console-print-rect : | | Internal macros |
| Macro, %console-print-rect-ex : | | Internal macros |
| Macro, %console-print-rect-ex-utf : | | Internal macros |
| Macro, %console-print-rect-utf : | | Internal macros |
| Macro, %console-print-utf : | | Internal macros |
| Macro, clamp : | | Internal macros |
| Macro, define-c-bitfield : | | Internal macros |
| Macro, define-c-enum : | | Internal macros |
| Macro, define-c-function : | | Internal macros |
| Macro, define-c-type : | | Internal macros |
| Macro, legal-console-coordinates? : | | Exported macros |
| make-color : | | Exported functions |
| make-colour : | | Exported functions |
| make-key : | | Exported functions |
| make-mouse : | | Exported functions |
| make-rgb.txt-colours : | | Internal functions |
| make-simple-key : | | Exported functions |
| map-clear : | | Exported functions |
| map-compute-fov : | | Exported functions |
| map-copy : | | Exported functions |
| map-delete : | | Exported functions |
| map-get-height : | | Exported functions |
| map-get-nb-cells : | | Exported functions |
| map-get-width : | | Exported functions |
| map-is-in-fov? : | | Exported functions |
| map-is-transparent? : | | Exported functions |
| map-is-walkable? : | | Exported functions |
| map-new : | | Exported functions |
| map-set-in-fov : | | Exported functions |
| map-set-properties : | | Exported functions |
| mouse-cx : | | Exported functions |
| mouse-cy : | | Exported functions |
| mouse-dcx : | | Internal functions |
| mouse-dcy : | | Internal functions |
| mouse-dx : | | Exported functions |
| mouse-dy : | | Exported functions |
| mouse-get-status : | | Exported functions |
| mouse-is-cursor-visible? : | | Exported functions |
| mouse-lbutton : | | Exported functions |
| mouse-lbutton-pressed : | | Exported functions |
| mouse-mbutton : | | Exported functions |
| mouse-mbutton-pressed : | | Exported functions |
| mouse-move : | | Exported functions |
| mouse-p : | | Internal functions |
| mouse-rbutton : | | Exported functions |
| mouse-rbutton-pressed : | | Exported functions |
| mouse-show-cursor : | | Exported functions |
| mouse-wheel-down : | | Exported functions |
| mouse-wheel-up : | | Exported functions |
| mouse-x : | | Exported functions |
| mouse-y : | | Exported functions |
|
N | | |
| namegen-destroy : | | Exported functions |
| namegen-generate : | | Exported functions |
| namegen-generate-custom : | | Exported functions |
| namegen-parse : | | Exported functions |
| noise-delete : | | Exported functions |
| noise-get : | | Exported functions |
| noise-get-ex : | | Exported functions |
| noise-get-fbm : | | Exported functions |
| noise-get-fbm-ex : | | Exported functions |
| noise-get-turbulence : | | Exported functions |
| noise-get-turbulence-ex : | | Exported functions |
| noise-new : | | Exported functions |
| noise-set-type : | | Exported functions |
|
P | | |
| parse-mouse-state : | | Internal functions |
| path-compute : | | Exported functions |
| path-delete : | | Exported functions |
| path-get : | | Exported functions |
| path-get-destination : | | Exported functions |
| path-get-origin : | | Exported functions |
| path-is-empty? : | | Exported functions |
| path-new-using-function : | | Exported functions |
| path-new-using-map : | | Exported functions |
| path-reverse : | | Exported functions |
| path-size : | | Exported functions |
| path-walk : | | Exported functions |
| prepend-percent : | | Internal functions |
|
R | | |
| random-delete : | | Exported functions |
| random-get-double : | | Exported functions |
| random-get-double-mean : | | Exported functions |
| random-get-float : | | Exported functions |
| random-get-float-mean : | | Exported functions |
| random-get-instance : | | Exported functions |
| random-get-int : | | Exported functions |
| random-get-int-mean : | | Exported functions |
| random-new : | | Exported functions |
| random-new-from-seed : | | Exported functions |
| random-restore : | | Exported functions |
| random-save : | | Exported functions |
| random-set-distribution : | | Exported functions |
|
S | | |
| same-keys? : | | Exported functions |
| sdl-get-mouse-state : | | Exported functions |
| simple-type? : | | Internal functions |
| start-colors : | | Exported functions |
| start-colours : | | Exported functions |
| sys-check-for-event : | | Exported functions |
| sys-clipboard-get : | | Exported functions |
| sys-clipboard-set : | | Exported functions |
| sys-create-directory : | | Exported functions |
| sys-delete-directory : | | Exported functions |
| sys-elapsed-milli : | | Exported functions |
| sys-elapsed-seconds : | | Exported functions |
| sys-force-fullscreen-resolution : | | Exported functions |
| sys-get-char-size : | | Exported functions |
| sys-get-current-resolution : | | Exported functions |
| sys-get-current-resolution-x : | | Internal functions |
| sys-get-current-resolution-y : | | Internal functions |
| sys-get-events : | | Exported functions |
| sys-get-fps : | | Exported functions |
| sys-get-fullscreen-offsets : | | Exported functions |
| sys-get-last-frame-length : | | Exported functions |
| sys-get-renderer : | | Exported functions |
| sys-register-sdl-renderer : | | Exported functions |
| sys-save-screenshot : | | Exported functions |
| sys-set-fps : | | Exported functions |
| sys-set-renderer : | | Exported functions |
| sys-sleep-milli : | | Exported functions |
| sys-update-char : | | Exported functions |
| sys-wait-events : | | Exported functions |
| sys-wait-for-event : | | Exported functions |
|
Z | | |
| zip-delete : | | Exported functions |
| zip-get-char : | | Exported functions |
| zip-get-color : | | Exported functions |
| zip-get-colour : | | Exported functions |
| zip-get-console : | | Exported functions |
| zip-get-current-bytes : | | Exported functions |
| zip-get-data : | | Exported functions |
| zip-get-float : | | Exported functions |
| zip-get-image : | | Exported functions |
| zip-get-int : | | Exported functions |
| zip-get-remaining-bytes : | | Exported functions |
| zip-get-string : | | Exported functions |
| zip-load-from-file : | | Exported functions |
| zip-new : | | Exported functions |
| zip-put : | | Exported functions |
| zip-put-char : | | Exported functions |
| zip-put-color : | | Exported functions |
| zip-put-colour : | | Exported functions |
| zip-put-console : | | Exported functions |
| zip-put-data : | | Exported functions |
| zip-put-float : | | Exported functions |
| zip-put-image : | | Exported functions |
| zip-put-int : | | Exported functions |
| zip-put-string : | | Exported functions |
| zip-save-to-file : | | Exported functions |
| zip-skip-bytes : | | Exported functions |
|
A.3 Variables
| Index Entry | | Section |
|
* | | |
| *colour-table* : | | Internal special variables |
| *console-height-table* : | | Internal special variables |
| *console-width-table* : | | Internal special variables |
| *initial-colours* : | | Internal special variables |
| *libsdl2-loaded* : | | Internal special variables |
| *libtcod-loaded* : | | Internal special variables |
| *root* : | | Exported special variables |
| *root-console-initialised?* : | | Internal special variables |
|
+ | | |
| +noise-default-hurst+ : | | Internal constants |
| +noise-default-lacunarity+ : | | Internal constants |
| +null+ : | | Exported special variables |
|
C | | |
| c : | | Exported structures |
| Constant, +noise-default-hurst+ : | | Internal constants |
| Constant, +noise-default-lacunarity+ : | | Internal constants |
| cx : | | Exported structures |
| cy : | | Exported structures |
|
D | | |
| dcx : | | Exported structures |
| dcy : | | Exported structures |
| dx : | | Exported structures |
| dy : | | Exported structures |
|
L | | |
| lalt : | | Exported structures |
| lbutton : | | Exported structures |
| lbutton-pressed : | | Exported structures |
| lctrl : | | Exported structures |
| lmeta : | | Exported structures |
|
M | | |
| mbutton : | | Exported structures |
| mbutton-pressed : | | Exported structures |
|
P | | |
| pressed : | | Exported structures |
|
R | | |
| ralt : | | Exported structures |
| rbutton : | | Exported structures |
| rbutton-pressed : | | Exported structures |
| rctrl : | | Exported structures |
| rmeta : | | Exported structures |
|
S | | |
| shift : | | Exported structures |
| Slot, c : | | Exported structures |
| Slot, cx : | | Exported structures |
| Slot, cy : | | Exported structures |
| Slot, dcx : | | Exported structures |
| Slot, dcy : | | Exported structures |
| Slot, dx : | | Exported structures |
| Slot, dy : | | Exported structures |
| Slot, lalt : | | Exported structures |
| Slot, lbutton : | | Exported structures |
| Slot, lbutton-pressed : | | Exported structures |
| Slot, lctrl : | | Exported structures |
| Slot, lmeta : | | Exported structures |
| Slot, mbutton : | | Exported structures |
| Slot, mbutton-pressed : | | Exported structures |
| Slot, pressed : | | Exported structures |
| Slot, ralt : | | Exported structures |
| Slot, rbutton : | | Exported structures |
| Slot, rbutton-pressed : | | Exported structures |
| Slot, rctrl : | | Exported structures |
| Slot, rmeta : | | Exported structures |
| Slot, shift : | | Exported structures |
| Slot, vk : | | Exported structures |
| Slot, wheel-down : | | Exported structures |
| Slot, wheel-up : | | Exported structures |
| Slot, x : | | Exported structures |
| Slot, y : | | Exported structures |
| Special Variable, *colour-table* : | | Internal special variables |
| Special Variable, *console-height-table* : | | Internal special variables |
| Special Variable, *console-width-table* : | | Internal special variables |
| Special Variable, *initial-colours* : | | Internal special variables |
| Special Variable, *libsdl2-loaded* : | | Internal special variables |
| Special Variable, *libtcod-loaded* : | | Internal special variables |
| Special Variable, *root* : | | Exported special variables |
| Special Variable, *root-console-initialised?* : | | Internal special variables |
| Special Variable, +null+ : | | Exported special variables |
|
V | | |
| vk : | | Exported structures |
|
W | | |
| wheel-down : | | Exported structures |
| wheel-up : | | Exported structures |
|
X | | |
| x : | | Exported structures |
|
Y | | |
| y : | | Exported structures |
|
A.4 Data types
| Index Entry | | Section |
|
A | | |
| a*-path : | | Exported types |
| alignment : | | Internal types |
|
B | | |
| background-flag : | | Exported types |
| bsp-ptr : | | Internal types |
|
C | | |
| Class, colour-struct-tclass : | | Internal classes |
| Class, key-press-tclass : | | Internal classes |
| Class, mouse-state-tclass : | | Internal classes |
| colctrl : | | Exported types |
| colour-struct-tclass : | | Internal classes |
| colournum : | | Internal types |
| console : | | Exported types |
| custom-font-flags : | | Internal types |
|
D | | |
| dijkstra-path : | | Exported types |
| drawing-character : | | Exported types |
|
E | | |
| event : | | Internal types |
|
F | | |
| fov-algorithm : | | Exported types |
|
H | | |
| heightmap-ptr : | | Internal types |
|
I | | |
| image : | | Internal types |
| int : | | Internal types |
|
K | | |
| key : | | Exported structures |
| key-press-tclass : | | Internal classes |
| key-state : | | Exported types |
| keycode : | | Exported types |
|
M | | |
| mapptr : | | Exported types |
| mouse : | | Exported structures |
| mouse-state-tclass : | | Internal classes |
|
N | | |
| noise : | | Internal types |
| noise-type : | | Internal types |
|
P | | |
| Package, tcod : | | The tcod package |
| Package, tcod-system : | | The tcod-system package |
| parser : | | Internal types |
|
R | | |
| randomptr : | | Internal types |
| renderer : | | Internal types |
| rng-algorithm : | | Internal types |
| rng-distribution : | | Internal types |
|
S | | |
| signed-char : | | Internal types |
| sint16 : | | Internal types |
| Structure, key : | | Exported structures |
| Structure, mouse : | | Exported structures |
| System, tcod : | | The tcod system |
|
T | | |
| tcod : | | The tcod system |
| tcod : | | The tcod package |
| tcod-system : | | The tcod-system package |
| Type, a*-path : | | Exported types |
| Type, alignment : | | Internal types |
| Type, background-flag : | | Exported types |
| Type, bsp-ptr : | | Internal types |
| Type, colctrl : | | Exported types |
| Type, colournum : | | Internal types |
| Type, console : | | Exported types |
| Type, custom-font-flags : | | Internal types |
| Type, dijkstra-path : | | Exported types |
| Type, drawing-character : | | Exported types |
| Type, event : | | Internal types |
| Type, fov-algorithm : | | Exported types |
| Type, heightmap-ptr : | | Internal types |
| Type, image : | | Internal types |
| Type, int : | | Internal types |
| Type, key-state : | | Exported types |
| Type, keycode : | | Exported types |
| Type, mapptr : | | Exported types |
| Type, noise : | | Internal types |
| Type, noise-type : | | Internal types |
| Type, parser : | | Internal types |
| Type, randomptr : | | Internal types |
| Type, renderer : | | Internal types |
| Type, rng-algorithm : | | Internal types |
| Type, rng-distribution : | | Internal types |
| Type, signed-char : | | Internal types |
| Type, sint16 : | | Internal types |
| Type, uchar : | | Internal types |
| Type, ucoord : | | Internal types |
| Type, uint : | | Internal types |
| Type, uint16 : | | Internal types |
| Type, uint24 : | | Internal types |
| Type, uint32 : | | Internal types |
| Type, uint8 : | | Internal types |
| Type, zipptr : | | Exported types |
|
U | | |
| uchar : | | Internal types |
| ucoord : | | Internal types |
| uint : | | Internal types |
| uint16 : | | Internal types |
| uint24 : | | Internal types |
| uint32 : | | Internal types |
| uint8 : | | Internal types |
|
Z | | |
| zipptr : | | Exported types |
|