This is the consix Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 04:50:06 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
consixLispy Qix-like game in 7 days
death
BSD
alexandria (system).
cl-opengl (system).
cl-glu (system).
cl-glut (system).
packages.lisp (file).
gob.lisp (file).
consix.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
consix/gob.lisppackages.lisp (file).
consix (system).
*draw-collision-shape-for-type* (special variable).
*draw-tick* (special variable).
*frames-per-second* (special variable).
*keys* (special variable).
*tick* (special variable).
*tick-duration* (special variable).
*world* (special variable).
add-object (function).
box-collidable-object (class).
circle-collidable-object (class).
clickable-object (class).
collidable-object (class).
collide-p (generic function).
collision-radius (reader method).
(setf collision-radius) (writer method).
copy-vec (function).
defconstant* (macro).
define-delegating-accessors (macro).
define-level (macro).
define-symmetric (macro).
defsubst (macro).
display (method).
display-text (function).
display-window (method).
do-objects (macro).
draggable-object (class).
draw-circle (compiler macro).
draw-circle (function).
draw-cubic-curve (compiler macro).
draw-cubic-curve (function).
draw-star (compiler macro).
draw-star (function).
find-game-window (function).
game-window (class).
idle (method).
initialize-instance (method).
keyboard (method).
keyboard-up (method).
line-segment-collidable-object (class).
motion (method).
mouse (reader method).
(setf mouse) (writer method).
mouse (class).
mouse (method).
next-world (function).
normalize-deg (function).
object-got-added (generic function).
object-got-removed (generic function).
outer-world (function).
passive-motion (method).
pickable-object (class).
point-collidable-object (class).
pos (reader method).
pos (reader method).
(setf pos) (writer method).
(setf pos) (writer method).
reinitialize-instance (method).
remove-object (function).
render (generic function).
render-collision-shape (generic function).
reshape (method).
select (generic function).
selectable-object (class).
shared-initialize (method).
special (method).
special-up (method).
square (function).
this-world-again (function).
tick (method).
tick (reader method).
(setf tick) (method).
(setf tick) (writer method).
unit (function).
update (generic function).
vec (function).
vec* (function).
vec*= (function).
vec+ (function).
vec+= (function).
vec- (function).
vec-= (function).
vec-angle (function).
vec-assign (function).
vec-clear (function).
vec-contains (function).
vec-contains-xy (function).
vec-distance (function).
vec-distance-sq (function).
vec-mag (function).
vec-mul (function).
vec/ (function).
vec/= (function).
vec=~ (function).
vel-vec (function).
with-vec (macro).
world (reader method).
(setf world) (writer method).
world (class).
x (function).
(setf x) (function).
y (function).
(setf y) (function).
*half-world-dimensions* (special variable).
aspect-viewport (function).
bottom-right (reader method).
(setf bottom-right) (writer method).
box-collides-with-point-p (function).
call-with-circle-multipliers (function).
call-with-curve-multipliers (function).
call-with-star-multipliers (function).
clear-objects (function).
close-enough-p (function).
closest-point-on-segment (function).
collect-results (function).
cosd (function).
deg (function).
end-pos (reader method).
(setf end-pos) (writer method).
ensure-world (function).
expunge-objects (function).
generate-world (function).
left-button (generic function).
map-objects (function).
mod+ (function).
object-list-index (function).
objects (reader method).
(setf objects) (writer method).
objects-to-delete (reader method).
(setf objects-to-delete) (writer method).
obtain-object (function).
order-table (reader method).
(setf order-table) (writer method).
pick-object (function).
rad (function).
release-object (function).
segment-collides-with-circle-p (function).
selection (reader method).
(setf selection) (writer method).
sind (function).
single-pi (constant).
start-pos (reader method).
(setf start-pos) (writer method).
time-to-next-tick (reader method).
(setf time-to-next-tick) (writer method).
top-left (reader method).
(setf top-left) (writer method).
world-generator (reader method).
(setf world-generator) (writer method).
consix/consix.lispgob.lisp (file).
consix (system).
game (function).
initialize-instance (method).
initialize-instance (method).
pos (reader method).
pos (reader method).
(setf pos) (writer method).
(setf pos) (writer method).
render (method).
render (method).
render (method).
render (method).
render (method).
shared-initialize (method).
shared-initialize (method).
shared-initialize (method).
shared-initialize (method).
shared-initialize (method).
tick (reader method).
(setf tick) (writer method).
update (method).
update (method).
update (method).
update (method).
update (method).
*identity-matrix* (special variable).
*render-cell-weights* (special variable).
*scores-filename* (special variable).
*weight-computation* (special variable).
action (reader method).
(setf action) (writer method).
add-score-entry (function).
alphas (reader method).
(setf alphas) (writer method).
angle- (function).
angle-between-position-and-location (function).
angle-between-positions (function).
angle-multiplier (function).
call-with-weight-computation (function).
cell (type).
cell-center-position (function).
cell-claimed (constant).
cell-claiming (constant).
cell-edge (constant).
cell-fill (constant).
cell-height (constant).
cell-local-weight (function).
cell-location (function).
cell-neighbors-weight (function).
cell-ref (function).
(setf cell-ref) (function).
cell-unclaimed (constant).
cell-weight (function).
(setf cell-weight) (function).
cell-weight-radius (constant).
cell-width (constant).
cells (reader method).
(setf cells) (writer method).
choose-target-cell (function).
claim-cells (function).
claim-parts (function).
claimed-percentage (function).
claiming-p (reader method).
(setf claiming-p) (writer method).
col-1+ (function).
col-1- (function).
collect-potential-target-cells (function).
compute-cell-weight (function).
compute-cell-weights (function).
compute-distance-weights (function).
consix-logo (function).
consix-window (class).
consix-worlds (function).
copy-score-entry (function).
current-unclaimed (reader method).
(setf current-unclaimed) (writer method).
death-tick (reader method).
death-tick (reader method).
(setf death-tick) (writer method).
(setf death-tick) (writer method).
define-consix-level (macro).
disclaim-cells (function).
distance-weights-offset (constant).
do-neighbor-cells (macro).
do-neighbors (macro).
do-nothing (function).
enemy (class).
enemy-alpha-and-scale (function).
enemy-check-claiming (function).
enemy-check-growth (function).
enemy-death-ticks (constant).
enemy-die (function).
enemy-fix-direction (function).
enemy-flexibility (constant).
enemy-forward (function).
enemy-grow (function).
enemy-growth-completion-ticks (constant).
enemy-kill-player (function).
enemy-structure (reader method).
(setf enemy-structure) (writer method).
enemy-target-angle (function).
entry (reader method).
(setf entry) (writer method).
fill-claimable-parts (function).
flood-fill (function).
grid (reader method).
grid (reader method).
grid (reader method).
(setf grid) (writer method).
(setf grid) (writer method).
(setf grid) (writer method).
grid (class).
grid-cols (constant).
grid-rows (constant).
grid-x-offset (constant).
grid-y-offset (constant).
growth-rate (reader method).
(setf growth-rate) (writer method).
growth-tick (reader method).
(setf growth-tick) (writer method).
halo (reader method).
(setf halo) (writer method).
halo (class).
halo-step (reader method).
(setf halo-step) (writer method).
halo-update (function).
halo-value (reader method).
(setf halo-value) (writer method).
head-angle (function).
(setf head-angle) (function).
increment-score (function).
initial-location (reader method).
(setf initial-location) (writer method).
level-1 (class).
level-2 (class).
level-3 (class).
level-4 (class).
level-effect (class).
level-effect-ticks (constant).
level-in (class).
level-out (class).
lives (method).
lives (reader method).
(setf lives) (method).
(setf lives) (writer method).
loc (reader method).
(setf loc) (writer method).
location (function).
make-cells (function).
make-score-alphas (function).
make-score-entry (function).
make-weights (function).
map-neighbors (function).
max-size (reader method).
(setf max-size) (writer method).
maybe-next-level (function).
maybe-queue-movement-actions (function).
movement-actions (reader method).
(setf movement-actions) (writer method).
movement-possible-p (function).
need-new-target-p (function).
next-level-p (function).
num-cells (constant).
player (class).
player-changed-cell (function).
player-death-ticks (constant).
player-die (function).
player-life-bonus (constant).
player-movement-steps (constant).
player-stats (class).
read-scores (function).
render-arrow (function).
render-box-filling (function).
render-box-pair (function).
render-structure (function).
requested-moves (function).
row-1+ (function).
row-1- (function).
save-executable (function).
score (method).
score (reader method).
(setf score) (method).
(setf score) (writer method).
score-display (class).
score-display-completion-ticks (constant).
score-entry (structure).
score-entry-p (function).
score-entry-score (reader).
(setf score-entry-score) (writer).
score-entry-title (reader).
(setf score-entry-title) (writer).
score-top-n-p (function).
scoreboard (class).
scores (reader method).
(setf scores) (writer method).
scores-top-n (constant).
set-score-alphas (function).
start-tick (reader method).
(setf start-tick) (writer method).
stats (reader method).
stats (reader method).
(setf stats) (writer method).
(setf stats) (writer method).
structure-positions (function).
structure-positions-toplevel (function).
target-location (reader method).
(setf target-location) (writer method).
title (reader method).
(setf title) (writer method).
total-unclaimed (reader method).
(setf total-unclaimed) (writer method).
transform (reader method).
(setf transform) (writer method).
valid-col+ (function).
valid-location-p (function).
valid-row+ (function).
weight (type).
weights (reader method).
(setf weights) (writer method).
with-weight-computation (macro).
write-scores (function).
Packages are listed by definition order.
gobalexandria.
common-lisp.
*draw-collision-shape-for-type* (special variable).
*draw-tick* (special variable).
*frames-per-second* (special variable).
*keys* (special variable).
*tick* (special variable).
*tick-duration* (special variable).
*world* (special variable).
add-object (function).
box-collidable-object (class).
circle-collidable-object (class).
clickable-object (class).
collidable-object (class).
collide-p (generic function).
collision-radius (generic reader).
(setf collision-radius) (generic writer).
copy-vec (function).
defconstant* (macro).
define-delegating-accessors (macro).
define-level (macro).
define-symmetric (macro).
defsubst (macro).
display-text (function).
do-objects (macro).
draggable-object (class).
draw-circle (compiler macro).
draw-circle (function).
draw-cubic-curve (compiler macro).
draw-cubic-curve (function).
draw-star (compiler macro).
draw-star (function).
find-game-window (function).
game-window (class).
line-segment-collidable-object (class).
mouse (generic reader).
(setf mouse) (generic writer).
mouse (class).
next-world (function).
normalize-deg (function).
object-got-added (generic function).
object-got-removed (generic function).
outer-world (function).
pickable-object (class).
point-collidable-object (class).
pos (generic reader).
(setf pos) (generic writer).
pos (slot).
pos (slot).
remove-object (function).
render (generic function).
render-collision-shape (generic function).
select (generic function).
selectable-object (class).
square (function).
this-world-again (function).
tick (generic function).
(setf tick) (generic function).
tick (slot).
unit (function).
update (generic function).
vec (function).
vec* (function).
vec*= (function).
vec+ (function).
vec+= (function).
vec- (function).
vec-= (function).
vec-angle (function).
vec-assign (function).
vec-clear (function).
vec-contains (function).
vec-contains-xy (function).
vec-distance (function).
vec-distance-sq (function).
vec-mag (function).
vec-mul (function).
vec/ (function).
vec/= (function).
vec=~ (function).
vel-vec (function).
with-vec (macro).
world (generic reader).
(setf world) (generic writer).
world (class).
x (function).
(setf x) (function).
y (function).
(setf y) (function).
*half-world-dimensions* (special variable).
aspect-viewport (function).
bottom-right (generic reader).
(setf bottom-right) (generic writer).
box-collides-with-point-p (function).
call-with-circle-multipliers (function).
call-with-curve-multipliers (function).
call-with-star-multipliers (function).
clear-objects (function).
close-enough-p (function).
closest-point-on-segment (function).
collect-results (function).
cosd (function).
deg (function).
end-pos (generic reader).
(setf end-pos) (generic writer).
ensure-world (function).
expunge-objects (function).
generate-world (function).
left-button (generic function).
map-objects (function).
mod+ (function).
object-list-index (function).
objects (generic reader).
(setf objects) (generic writer).
objects-to-delete (generic reader).
(setf objects-to-delete) (generic writer).
obtain-object (function).
order-table (generic reader).
(setf order-table) (generic writer).
pick-object (function).
rad (function).
release-object (function).
segment-collides-with-circle-p (function).
selection (generic reader).
(setf selection) (generic writer).
sind (function).
single-pi (constant).
start-pos (generic reader).
(setf start-pos) (generic writer).
time-to-next-tick (generic reader).
(setf time-to-next-tick) (generic writer).
top-left (generic reader).
(setf top-left) (generic writer).
world-generator (generic reader).
(setf world-generator) (generic writer).
consixalexandria.
common-lisp.
gob.
game (function).
*identity-matrix* (special variable).
*render-cell-weights* (special variable).
*scores-filename* (special variable).
*weight-computation* (special variable).
action (generic reader).
(setf action) (generic writer).
add-score-entry (function).
alphas (generic reader).
(setf alphas) (generic writer).
angle- (function).
angle-between-position-and-location (function).
angle-between-positions (function).
angle-multiplier (function).
call-with-weight-computation (function).
cell (type).
cell-center-position (function).
cell-claimed (constant).
cell-claiming (constant).
cell-edge (constant).
cell-fill (constant).
cell-height (constant).
cell-local-weight (function).
cell-location (function).
cell-neighbors-weight (function).
cell-ref (function).
(setf cell-ref) (function).
cell-unclaimed (constant).
cell-weight (function).
(setf cell-weight) (function).
cell-weight-radius (constant).
cell-width (constant).
cells (generic reader).
(setf cells) (generic writer).
choose-target-cell (function).
claim-cells (function).
claim-parts (function).
claimed-percentage (function).
claiming-p (generic reader).
(setf claiming-p) (generic writer).
col-1+ (function).
col-1- (function).
collect-potential-target-cells (function).
compute-cell-weight (function).
compute-cell-weights (function).
compute-distance-weights (function).
consix-logo (function).
consix-window (class).
consix-worlds (function).
copy-score-entry (function).
current-unclaimed (generic reader).
(setf current-unclaimed) (generic writer).
death-tick (generic reader).
(setf death-tick) (generic writer).
define-consix-level (macro).
disclaim-cells (function).
distance-weights-offset (constant).
do-neighbor-cells (macro).
do-neighbors (macro).
do-nothing (function).
enemy (class).
enemy-alpha-and-scale (function).
enemy-check-claiming (function).
enemy-check-growth (function).
enemy-death-ticks (constant).
enemy-die (function).
enemy-fix-direction (function).
enemy-flexibility (constant).
enemy-forward (function).
enemy-grow (function).
enemy-growth-completion-ticks (constant).
enemy-kill-player (function).
enemy-structure (generic reader).
(setf enemy-structure) (generic writer).
enemy-target-angle (function).
entry (generic reader).
(setf entry) (generic writer).
fill-claimable-parts (function).
flood-fill (function).
grid (generic reader).
(setf grid) (generic writer).
grid (class).
grid-cols (constant).
grid-rows (constant).
grid-x-offset (constant).
grid-y-offset (constant).
growth-rate (generic reader).
(setf growth-rate) (generic writer).
growth-tick (generic reader).
(setf growth-tick) (generic writer).
halo (generic reader).
(setf halo) (generic writer).
halo (class).
halo-step (generic reader).
(setf halo-step) (generic writer).
halo-update (function).
halo-value (generic reader).
(setf halo-value) (generic writer).
head-angle (function).
(setf head-angle) (function).
increment-score (function).
initial-location (generic reader).
(setf initial-location) (generic writer).
level-1 (class).
level-2 (class).
level-3 (class).
level-4 (class).
level-effect (class).
level-effect-ticks (constant).
level-in (class).
level-out (class).
lives (generic function).
(setf lives) (generic function).
loc (generic reader).
(setf loc) (generic writer).
location (function).
make-cells (function).
make-score-alphas (function).
make-score-entry (function).
make-weights (function).
map-neighbors (function).
max-size (generic reader).
(setf max-size) (generic writer).
maybe-next-level (function).
maybe-queue-movement-actions (function).
movement-actions (generic reader).
(setf movement-actions) (generic writer).
movement-possible-p (function).
need-new-target-p (function).
next-level-p (function).
num-cells (constant).
player (class).
player-changed-cell (function).
player-death-ticks (constant).
player-die (function).
player-life-bonus (constant).
player-movement-steps (constant).
player-stats (class).
read-scores (function).
render-arrow (function).
render-box-filling (function).
render-box-pair (function).
render-structure (function).
requested-moves (function).
row-1+ (function).
row-1- (function).
save-executable (function).
score (generic function).
(setf score) (generic function).
score-display (class).
score-display-completion-ticks (constant).
score-entry (structure).
score-entry-p (function).
score-entry-score (reader).
(setf score-entry-score) (writer).
score-entry-title (reader).
(setf score-entry-title) (writer).
score-top-n-p (function).
scoreboard (class).
scores (generic reader).
(setf scores) (generic writer).
scores-top-n (constant).
set-score-alphas (function).
start-tick (generic reader).
(setf start-tick) (generic writer).
stats (generic reader).
(setf stats) (generic writer).
structure-positions (function).
structure-positions-toplevel (function).
target-location (generic reader).
(setf target-location) (generic writer).
title (generic reader).
(setf title) (generic writer).
total-unclaimed (generic reader).
(setf total-unclaimed) (generic writer).
transform (generic reader).
(setf transform) (generic writer).
valid-col+ (function).
valid-location-p (function).
valid-row+ (function).
weight (type).
weights (generic reader).
(setf weights) (generic writer).
with-weight-computation (macro).
write-scores (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Define an inline function at top level.
gob.
circle-collidable-object) (a box-collidable-object)) ¶box-collidable-object) (b circle-collidable-object)) ¶point-collidable-object) (a box-collidable-object)) ¶box-collidable-object) (b point-collidable-object)) ¶circle-collidable-object) (a line-segment-collidable-object)) ¶line-segment-collidable-object) (b circle-collidable-object)) ¶point-collidable-object) (a circle-collidable-object)) ¶circle-collidable-object) (b point-collidable-object)) ¶circle-collidable-object) (b circle-collidable-object)) ¶gob.
circle-collidable-object)) ¶automatically generated reader method
gob.
circle-collidable-object)) ¶automatically generated writer method
gob.
game-window)) ¶automatically generated reader method
gob.
game-window)) ¶automatically generated writer method
gob.
player)) ¶automatically generated reader method
pos.
circle-collidable-object)) ¶automatically generated reader method
point-collidable-object)) ¶automatically generated reader method
gob.
enemy)) ¶automatically generated writer method
pos.
player)) ¶automatically generated writer method
pos.
circle-collidable-object)) ¶automatically generated writer method
point-collidable-object)) ¶automatically generated writer method
gob.
point-collidable-object)) ¶box-collidable-object)) ¶circle-collidable-object)) ¶gob.
level-effect)) ¶automatically generated reader method
tick.
game-window)) ¶gob.
level-effect)) ¶automatically generated writer method
tick.
game-window)) ¶gob.
game-window)) ¶automatically generated reader method
gob.
game-window)) ¶automatically generated writer method
game-window)) ¶cl-glut.
game-window)) ¶cl-glut.
game-window)) ¶cl-glut.
game-window) &rest initargs &key world) ¶game-window) key x y) ¶cl-glut.
game-window) key x y) ¶cl-glut.
game-window) x y) ¶cl-glut.
game-window) button state x y) ¶cl-glut.
game-window) x y) ¶cl-glut.
game-window) width height) ¶cl-glut.
game-window) special-key x y) ¶cl-glut.
game-window) special-key x y) ¶cl-glut.
gob.
window.
| Initarg | Value | 
|---|---|
| :name | (quote game-window) | 
| :width | 800 | 
| :height | 800 | 
| :mode | (quote (double rgb)) | 
:world-generator
(make-instance (quote gob:mouse))
level-effect)) ¶automatically generated reader method
level-effect)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
gob.
box-collidable-object)) ¶automatically generated reader method
gob.
box-collidable-object)) ¶automatically generated writer method
gob.
line-segment-collidable-object)) ¶automatically generated reader method
gob.
line-segment-collidable-object)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
grid.
enemy)) ¶automatically generated reader method
grid.
score-display)) ¶automatically generated writer method
grid.
enemy)) ¶automatically generated writer method
grid.
gob.
(eql :up)) mouse selected-object (picked-object clickable-object)) ¶(eql :down)) mouse selected-object (picked-object clickable-object)) ¶(eql :up)) mouse (selected-object draggable-object) picked-object) ¶(eql :down)) mouse selected-object (picked-object draggable-object)) ¶(eql :down)) mouse selected-object (picked-object selectable-object)) ¶(eql :down)) mouse (selected-object selectable-object) (picked-object null)) ¶player-stats)) ¶automatically generated reader method
player-stats)) ¶automatically generated writer method
player-stats)) ¶automatically generated reader method
player-stats)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
gob.
line-segment-collidable-object)) ¶automatically generated reader method
gob.
line-segment-collidable-object)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
gob.
game-window)) ¶automatically generated reader method
gob.
game-window)) ¶automatically generated writer method
score-display)) ¶automatically generated reader method
score-display)) ¶automatically generated writer method
gob.
box-collidable-object)) ¶automatically generated reader method
gob.
box-collidable-object)) ¶automatically generated writer method
level-effect)) ¶automatically generated reader method
level-effect)) ¶automatically generated writer method
gob.
game-window)) ¶automatically generated reader method
gob.
game-window)) ¶automatically generated writer method
| Initarg | Value | 
|---|---|
| :title | consix | 
common-lisp.
:structure
:growth-rate
:max-size
| Initarg | Value | 
|---|---|
| :test-order | (quote (player enemy grid t)) | 
| Initarg | Value | 
|---|---|
| :test-order | (quote (player enemy grid t)) | 
| Initarg | Value | 
|---|---|
| :test-order | (quote (player enemy grid t)) | 
| Initarg | Value | 
|---|---|
| :test-order | (quote (player enemy grid t)) | 
| Initarg | Value | 
|---|---|
| :action | (function do-nothing) | 
| :transform | (function identity) | 
| Initarg | Value | 
|---|---|
| :transform | (lambda (x) (- 1.0 x)) | 
(setf claiming-p).
claiming-p.
(setf death-tick).
death-tick.
(setf grid).
grid.
(setf halo).
halo.
(setf initial-location).
initial-location.
initialize-instance.
(setf lives).
lives.
(setf loc).
loc.
(setf movement-actions).
movement-actions.
(setf pos).
pos.
render.
(setf score).
score.
(setf stats).
stats.
update.
| Initarg | Value | 
|---|---|
| :loc | (location (1- grid-rows) (floor grid-cols 2)) | 
:loc
(quote nil)
:stats
:player-stats
:player-title
(consix::make-score-alphas)
| Initarg | Value | 
|---|---|
| :test-order | (quote (score-display enemy grid t)) | 
| Jump to: | ( A B C D E F G H I K L M N O P R S T U V W X Y | 
|---|
| Jump to: | ( A B C D E F G H I K L M N O P R S T U V W X Y | 
|---|
| Jump to: | * A B C D E G H I L M N O P S T V W | 
|---|
| Jump to: | * A B C D E G H I L M N O P S T V W | 
|---|
| Jump to: | B C D E F G H L M P S T W | 
|---|
| Jump to: | B C D E F G H L M P S T W | 
|---|