The glaw Reference Manual

Table of Contents

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

The glaw Reference Manual

This is the glaw Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:52:43 2018 GMT+0.


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

1 Introduction

Glaw

The goal of GLAW is to provide a collection of basic functionalities to help developping games.

Quickstart

Using Quicklisp

You can get glaw directly from quicklisp by just doing:

(ql:quickload "glaw")

This may not be the latest git version depending on when I pushed changes.

If you want the latest git version first clone this repository:

git clone git://github.com/patzy/glaw.git

Then change to the new glaw directory and issue the quickload call from here.

If you want to try the examples just do:

(ql:quickload "glaw-examples")

Manual install

Get the following required dependencies (and their respective dependencies):

If you want to use the included extension you may need:

Get ASDF and configure it so glaw's .asd are in the search path and then run:

(asdf:operate 'asdf:load-op :glaw)

for the lib itself, or:

(asdf:operate 'asdf:load-op :glaw-examples)

for the examples.

Examples

A few examples are provided in the examples/ directory, they depend on:

It is possible to use the examples with lispbuilder-sdl and lispbuilder-sdl-image instead of glop and imago. To do so:

Note that I don't test often with lb-sdl and it may not work/compile properly.

To run an example:

 (glaw-examples:run-example 'glaw-examples:example-name)

Where example-name may be one of the following:

In all examples you may use ESC or q to quit and alt-s to toggle render stats display.

There's also a simple breakout game using glaw here, a more polished asteroid clone here and an adaptation of the clans board game here.


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

2 Systems

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


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

2.1 glaw

Author

Morgan Veyret <patzy at oxyde dot org>

License

MIT

Description

Game programming utilities

Dependencies
Source

glaw.asd (file)

Component

src (module)


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

3 Modules

Modules are listed depth-first from the system components tree.


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

3.1 glaw/src

Parent

glaw (system)

Location

src/

Components

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

4 Files

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


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

4.1 Lisp


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

4.1.1 glaw.asd

Location

glaw.asd

Systems

glaw (system)


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

4.1.2 glaw/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

glaw


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

4.1.3 glaw/src/utils.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/utils.lisp

Exported Definitions
Internal Definitions

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

4.1.4 glaw/src/math.lisp

Dependency

utils.lisp (file)

Parent

src (module)

Location

src/math.lisp

Exported Definitions
Internal Definitions

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

4.1.5 glaw/src/resource.lisp

Dependency

math.lisp (file)

Parent

src (module)

Location

src/resource.lisp

Exported Definitions
Internal Definitions

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

4.1.6 glaw/src/assets.lisp

Dependency

resource.lisp (file)

Parent

src (module)

Location

src/assets.lisp

Exported Definitions
Internal Definitions

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

4.1.7 glaw/src/input.lisp

Dependency

assets.lisp (file)

Parent

src (module)

Location

src/input.lisp

Exported Definitions
Internal Definitions

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

4.1.8 glaw/src/stats.lisp

Dependency

input.lisp (file)

Parent

src (module)

Location

src/stats.lisp

Exported Definitions
Internal Definitions

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

4.1.9 glaw/src/graphics.lisp

Dependency

stats.lisp (file)

Parent

src (module)

Location

src/graphics.lisp

Exported Definitions
Internal Definitions

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

4.1.10 glaw/src/shape.lisp

Dependency

graphics.lisp (file)

Parent

src (module)

Location

src/shape.lisp

Exported Definitions
Internal Definitions

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

4.1.11 glaw/src/bbox.lisp

Dependency

shape.lisp (file)

Parent

src (module)

Location

src/bbox.lisp

Exported Definitions
Internal Definitions

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

4.1.12 glaw/src/anim.lisp

Dependency

bbox.lisp (file)

Parent

src (module)

Location

src/anim.lisp

Exported Definitions
Internal Definitions

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

4.1.13 glaw/src/view.lisp

Dependency

anim.lisp (file)

Parent

src (module)

Location

src/view.lisp

Exported Definitions
Internal Definitions

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

4.1.14 glaw/src/2d.lisp

Dependency

view.lisp (file)

Parent

src (module)

Location

src/2d.lisp

Exported Definitions
Internal Definitions

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

4.1.15 glaw/src/3d.lisp

Dependency

2d.lisp (file)

Parent

src (module)

Location

src/3d.lisp

Internal Definitions

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

4.1.16 glaw/src/font.lisp

Dependency

3d.lisp (file)

Parent

src (module)

Location

src/font.lisp

Exported Definitions
Internal Definitions

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

4.1.17 glaw/src/gui.lisp

Dependency

font.lisp (file)

Parent

src (module)

Location

src/gui.lisp

Exported Definitions
Internal Definitions

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

4.1.18 glaw/src/particles.lisp

Dependency

gui.lisp (file)

Parent

src (module)

Location

src/particles.lisp

Exported Definitions
Internal Definitions

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

4.1.19 glaw/src/screen.lisp

Dependency

particles.lisp (file)

Parent

src (module)

Location

src/screen.lisp

Exported Definitions
Internal Definitions

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

4.1.20 glaw/src/scheduler.lisp

Dependency

screen.lisp (file)

Parent

src (module)

Location

src/scheduler.lisp

Exported Definitions
Internal Definitions

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

4.1.21 glaw/src/navmesh.lisp

Dependency

scheduler.lisp (file)

Parent

src (module)

Location

src/navmesh.lisp

Exported Definitions
Internal Definitions

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

4.1.22 glaw/src/skeleton.lisp

Dependency

navmesh.lisp (file)

Parent

src (module)

Location

src/skeleton.lisp

Internal Definitions

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

4.1.23 glaw/src/sound.lisp

Dependency

skeleton.lisp (file)

Parent

src (module)

Location

src/sound.lisp

Exported Definitions
Internal Definitions

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

4.1.24 glaw/src/console.lisp

Dependency

sound.lisp (file)

Parent

src (module)

Location

src/console.lisp

Internal Definitions

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

5 Packages

Packages are listed by definition order.


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

5.1 glaw

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

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

6 Definitions

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


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

6.1 Exported definitions


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

6.1.1 Constants

Constant: +frame-timer-grapher-all-time-fps+
Package

glaw

Source

stats.lisp (file)

Constant: +frame-timer-grapher-all-time-frame-time+
Package

glaw

Source

stats.lisp (file)

Constant: +frame-timer-grapher-avg-fps+
Package

glaw

Source

stats.lisp (file)

Constant: +frame-timer-grapher-avg-frame-time+
Package

glaw

Source

stats.lisp (file)

Constant: +frame-timer-grapher-instant-fps+
Package

glaw

Source

stats.lisp (file)

Constant: +frame-timer-grapher-instant-frame-time+
Package

glaw

Source

stats.lisp (file)

Constant: +matrix-identity+
Package

glaw

Source

math.lisp (file)

Constant: +x-axis+
Package

glaw

Source

math.lisp (file)

Constant: +y-axis+
Package

glaw

Source

math.lisp (file)

Constant: +z-axis+
Package

glaw

Source

math.lisp (file)


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

6.1.2 Special variables

Special Variable: *display-height*
Package

glaw

Source

graphics.lisp (file)

Special Variable: *display-width*
Package

glaw

Source

graphics.lisp (file)

Special Variable: *mouse-x*
Package

glaw

Source

input.lisp (file)

Special Variable: *mouse-y*
Package

glaw

Source

input.lisp (file)


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

6.1.3 Macros

Macro: button-handler CLASS DEVICE (BTN BTN-STATE) &body BODY
Package

glaw

Source

input.lisp (file)

Macro: format-at X Y FNT FMT &rest VALUES
Package

glaw

Source

font.lisp (file)

Macro: input-handler CLASS INPUT &body BODY
Package

glaw

Source

input.lisp (file)

Macro: key-handler CLASS (KEYSYM KEY-STATE) &body BODY
Package

glaw

Source

input.lisp (file)

Macro: motion-handler CLASS DEVICE (DX-SYM DY-SYM) &body BODY
Package

glaw

Source

input.lisp (file)

Macro: use-resource ID &optional RES FINALIZER

Use or create a resource designated by ID.
Resource creation occurs iff ID doesn’t already exist in %RESOURCE-MANAGER%
and requires RES to be specified. FINALIZER is optional but if provided should be a function taking the resource to finalize as its only argument.

Package

glaw

Source

resource.lisp (file)

Macro: with-2d-coords-from-screen ((X-SYM X-VAL) (Y-SYM Y-VAL)) TO-VIEW &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-2d-coords-to-screen ((X-SYM X-VAL) (Y-SYM Y-VAL)) FROM-VIEW &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-2d-screen-deltas ((X-SYM X-VAL) (Y-SYM Y-VAL)) TO-VIEW &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-2d-view-coords ((X-SYM X-VAL) (Y-SYM Y-VAL)) FROM-VIEW TO-VIEW &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-2d-view-deltas ((X-SYM X-VAL) (Y-SYM Y-VAL)) FROM-VIEW TO-VIEW &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-frame-timer TIMER &body BODY
Package

glaw

Source

stats.lisp (file)

Macro: with-fullscreen-view-2d &body BODY
Package

glaw

Source

view.lisp (file)

Macro: with-resource-manager MGR &body BODY

Bind MGR as the current resource manager.

Package

glaw

Source

resource.lisp (file)

Macro: with-resources RESOURCES &body BODY
Package

glaw

Source

resource.lisp (file)

Macro: with-timestep (REAL EXPECTED) &body BODY
Package

glaw

Source

scheduler.lisp (file)


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

6.1.4 Functions

Function: 2d-view-bottom INSTANCE
Function: (setf 2d-view-bottom) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 2d-view-height VIEW
Package

glaw

Source

view.lisp (file)

Writer

(setf 2d-view-height) (generic function)

Function: 2d-view-left INSTANCE
Function: (setf 2d-view-left) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 2d-view-right INSTANCE
Function: (setf 2d-view-right) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 2d-view-top INSTANCE
Function: (setf 2d-view-top) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 2d-view-width VIEW
Package

glaw

Source

view.lisp (file)

Writer

(setf 2d-view-width) (generic function)

Function: 2d-view-zoom INSTANCE
Function: (setf 2d-view-zoom) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-far V
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-far) (setf expander)

Setf Expander: (setf 3d-view-far) V FAR
Package

glaw

Source

view.lisp (file)

Reader

3d-view-far (function)

Writer

3d-view-set-far (function)

Function: 3d-view-fov V
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-fov) (setf expander)

Setf Expander: (setf 3d-view-fov) V FOV
Package

glaw

Source

view.lisp (file)

Reader

3d-view-fov (function)

Writer

3d-view-set-fov (function)

Function: 3d-view-look-at V EYE TARGET
Package

glaw

Source

view.lisp (file)

Function: 3d-view-near V
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-near) (setf expander)

Setf Expander: (setf 3d-view-near) V NEAR
Package

glaw

Source

view.lisp (file)

Reader

3d-view-near (function)

Writer

3d-view-set-near (function)

Function: 3d-view-orientation V
Package

glaw

Source

view.lisp (file)

Function: 3d-view-pitch V DPITCH
Package

glaw

Source

view.lisp (file)

Function: 3d-view-point-at V TARGET
Package

glaw

Source

view.lisp (file)

Function: 3d-view-position V
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-position) (setf expander)

Setf Expander: (setf 3d-view-position) V POS
Package

glaw

Source

view.lisp (file)

Reader

3d-view-position (function)

Writer

3d-view-set-position (function)

Function: 3d-view-ratio V
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-ratio) (setf expander)

Setf Expander: (setf 3d-view-ratio) V RATIO
Package

glaw

Source

view.lisp (file)

Reader

3d-view-ratio (function)

Writer

3d-view-set-ratio (function)

Function: 3d-view-roll V DROLL
Package

glaw

Source

view.lisp (file)

Function: 3d-view-side VIEW
Package

glaw

Source

view.lisp (file)

Function: 3d-view-translate V DX DY DZ
Package

glaw

Source

view.lisp (file)

Function: 3d-view-up VIEW
Package

glaw

Source

view.lisp (file)

Function: 3d-view-yaw V DYAW
Package

glaw

Source

view.lisp (file)

Function: add-input-handler HANDLER
Package

glaw

Source

input.lisp (file)

Function: alias-resource RES-ID ALIAS-ID
Package

glaw

Source

resource.lisp (file)

Function: anim-state-apply STATE OBJ
Package

glaw

Source

anim.lisp (file)

Function: anim-state-update STATE DT
Package

glaw

Source

anim.lisp (file)

Function: avg-fps ()
Package

glaw

Source

stats.lisp (file)

Function: avg-frame-time ()
Package

glaw

Source

stats.lisp (file)

Function: avg-max-fps ()
Package

glaw

Source

stats.lisp (file)

Function: avg-min-fps ()
Package

glaw

Source

stats.lisp (file)

Function: basis-axis-angle BASIS
Package

glaw

Source

math.lisp (file)

Function: basis-cancel-rotation BASIS
Package

glaw

Source

math.lisp (file)

Function: basis-local-x BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-local-x) (setf expander)

Setf Expander: (setf basis-local-x) BASIS AXIS
Package

glaw

Source

math.lisp (file)

Reader

basis-local-x (function)

Writer

basis-set-local-x (function)

Function: basis-local-y BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-local-y) (setf expander)

Setf Expander: (setf basis-local-y) BASIS AXIS
Package

glaw

Source

math.lisp (file)

Reader

basis-local-y (function)

Writer

basis-set-local-y (function)

Function: basis-local-z BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-local-z) (setf expander)

Setf Expander: (setf basis-local-z) BASIS AXIS
Package

glaw

Source

math.lisp (file)

Reader

basis-local-z (function)

Writer

basis-set-local-z (function)

Function: basis-pitch BASIS DPITCH
Package

glaw

Source

math.lisp (file)

Function: basis-position BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-position) (setf expander)

Setf Expander: (setf basis-position) BASIS POS
Package

glaw

Source

math.lisp (file)

Reader

basis-position (function)

Writer

basis-set-position (function)

Function: basis-roll BASIS DROLL
Package

glaw

Source

math.lisp (file)

Function: basis-translate BASIS DX DY DZ
Package

glaw

Source

math.lisp (file)

Function: basis-xyz-orientation BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-xyz-orientation) (setf expander)

Setf Expander: (setf basis-xyz-orientation) BASIS ORIENTATION
Package

glaw

Source

math.lisp (file)

Reader

basis-xyz-orientation (function)

Writer

basis-set-xyz-orientation (function)

Function: basis-yaw BASIS DYAW
Package

glaw

Source

math.lisp (file)

Function: basis-zyx-orientation BASIS
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf basis-zyx-orientation) (setf expander)

Setf Expander: (setf basis-zyx-orientation) BASIS ORIENTATION
Package

glaw

Source

math.lisp (file)

Reader

basis-zyx-orientation (function)

Writer

basis-set-zyx-orientation (function)

Function: bbox-inside-p BBOX X Y &optional Z
Package

glaw

Source

bbox.lisp (file)

Function: bbox-intersect-p BBOX-1 BBOX-2
Package

glaw

Source

bbox.lisp (file)

Function: bbox-invalidate BBOX
Package

glaw

Source

bbox.lisp (file)

Function: bbox-overwrite/shape BBOX SHAPE
Package

glaw

Source

bbox.lisp (file)

Function: bbox-translate BBOX DX DY &optional DZ
Package

glaw

Source

bbox.lisp (file)

Function: bbox-update BBOX X Y &optional Z
Package

glaw

Source

bbox.lisp (file)

Function: bbox-update/shape BBOX SHAPE
Package

glaw

Source

bbox.lisp (file)

Function: bbox-visible-p BBOX VIEW
Package

glaw

Source

bbox.lisp (file)

Function: bbox-x-max INSTANCE
Function: (setf bbox-x-max) VALUE INSTANCE
Package

glaw

Source

bbox.lisp (file)

Function: bbox-x-min INSTANCE
Function: (setf bbox-x-min) VALUE INSTANCE
Package

glaw

Source

bbox.lisp (file)

Function: bbox-y-max INSTANCE
Function: (setf bbox-y-max) VALUE INSTANCE
Package

glaw

Source

bbox.lisp (file)

Function: bbox-y-min INSTANCE
Function: (setf bbox-y-min) VALUE INSTANCE
Package

glaw

Source

bbox.lisp (file)

Function: begin-draw ()
Package

glaw

Source

graphics.lisp (file)

Function: cancel-timer TIMER
Package

glaw

Source

scheduler.lisp (file)

Function: channel-volume CHAN
Package

glaw

Source

sound.lisp (file)

Setf Expander

(setf channel-volume) (setf expander)

Setf Expander: (setf channel-volume) CHAN VALUE
Package

glaw

Source

sound.lisp (file)

Reader

channel-volume (function)

Writer

set-channel-volume (function)

Function: char-width FNT CHAR
Package

glaw

Source

font.lisp (file)

Function: clear-display ()
Package

glaw

Source

graphics.lisp (file)

Function: clear-input-handlers ()
Package

glaw

Source

input.lisp (file)

Function: color-copy ()
Package

glaw

Source

graphics.lisp (file)

Function: connect-grid-navmesh NV CELL-SIZE

Make bi-directional connections between all cells of a complete grid navmesh.

Package

glaw

Source

navmesh.lisp (file)

Function: coords-overlap-p A B C D
Package

glaw

Source

utils.lisp (file)

Function: create-2d-view X Y WIDTH HEIGHT
Package

glaw

Source

view.lisp (file)

Function: create-bbox-from-shape SHAPE
Package

glaw

Source

bbox.lisp (file)

Function: create-box-shape SIZE-X SIZE-Y SIZE-Z
Package

glaw

Source

shape.lisp (file)

Function: create-circle-shape X Y RADIUS &key RESOLUTION FILLED
Package

glaw

Source

shape.lisp (file)

Function: create-color ()
Package

glaw

Source

graphics.lisp (file)

Function: create-color-gradient ()
Package

glaw

Source

graphics.lisp (file)

Function: create-cross-shape X Y SIZE
Package

glaw

Source

shape.lisp (file)

Function: create-font TEXTURE &key LINE-HEIGHT NB-GLYPHS

Create a new font object that can be used to render text using the provided texture.

Package

glaw

Source

font.lisp (file)

Function: create-fragment-shader-from-file ()
Package

glaw

Source

graphics.lisp (file)

Function: create-framebuffer ()
Package

glaw

Source

graphics.lisp (file)

Function: create-grid-navmesh WIDTH HEIGHT CELL-SIZE

Creates naive grid plane navigation mesh with its origin at (0;0).

Package

glaw

Source

navmesh.lisp (file)

Function: create-grid-shape WIDTH HEIGHT STEP-X STEP-Y &key START-X START-Y ALTITUDE COLOR TEXTURE
Package

glaw

Source

shape.lisp (file)

Function: create-image ()
Package

glaw

Source

graphics.lisp (file)

Function: create-isometric-view X Y WIDTH HEIGHT
Package

glaw

Source

view.lisp (file)

Function: create-line-shape X0 Y0 X1 Y1
Package

glaw

Source

shape.lisp (file)

Function: create-particle-system &optional MAX-PARTICLES
Package

glaw

Source

particles.lisp (file)

Function: create-polygon-shape COORDS
Package

glaw

Source

shape.lisp (file)

Function: create-rectangle-shape LEFT BOTTOM RIGHT TOP &key TEX-WIDTH TEX-HEIGHT COLOR
Package

glaw

Source

shape.lisp (file)

Function: create-renderbuffer ()
Package

glaw

Source

graphics.lisp (file)

Function: create-resource-manager &optional KEEP-CURRENT

Make a new resource manager, maybe binds %RESOURCE-MANAGER% and returns it.

Package

glaw

Source

resource.lisp (file)

Function: create-shader-program ()
Package

glaw

Source

graphics.lisp (file)

Function: create-shape NB-VERTICES NB-INDICES &key COLOR TEXTURE NORMALS TANGENTS BITANGENTS PRIMITIVE
Package

glaw

Source

shape.lisp (file)

Function: create-sprite X Y WIDTH HEIGHT TEXTURE &key BBOX FLIP SCALE ANGLE COLOR
Package

glaw

Source

2d.lisp (file)

Function: create-sprite-batch ()
Package

glaw

Source

2d.lisp (file)

Function: create-texture ()

Create a new GL texture. Texture’s origin is bottom-left.

Package

glaw

Source

graphics.lisp (file)

Function: create-texture-from-image ()
Package

glaw

Source

graphics.lisp (file)

Function: create-tilemap WIDTH HEIGHT
Package

glaw

Source

2d.lisp (file)

Function: create-triangle-shape X0 Y0 X1 Y1 X2 Y2 &key FILLED
Package

glaw

Source

shape.lisp (file)

Function: create-vertex-shader-from-file ()
Package

glaw

Source

graphics.lisp (file)

Function: create-widget WIDGET-TYPE PARENT-WIDGET &rest INITARGS
Package

glaw

Source

gui.lisp (file)

Function: current-screen STACK

Returns current active game screen or NIL if there’s no screen in the stack.

Package

glaw

Source

screen.lisp (file)

Function: defasset ASSET-TYPE EXTENSIONS LOAD &optional UNLOAD

Defines an asset loader for ASSET-TYPE. Extension check will be done upon loading unless EXTENSIONS is :ANY.

Package

glaw

Source

assets.lisp (file)

Function: deg->rad ANGLE
Package

glaw

Source

math.lisp (file)

Function: destroy-font FNT
Package

glaw

Source

font.lisp (file)

Function: destroy-resource-manager &optional MGR

Destroy specified resource manager, removing all managed resources before. Defaults to %RESOURCE-MANAGER%.

Package

glaw

Source

resource.lisp (file)

Function: destroy-sprite-batch BATCH
Package

glaw

Source

2d.lisp (file)

Function: destroy-texture ()
Package

glaw

Source

graphics.lisp (file)

Function: dispatch-button-event DEVICE BTN STATE

Dispatch digital button events.

Package

glaw

Source

input.lisp (file)

Function: dispatch-key-event KEYSYM STATE KEYCODE STRING

Dispatch keyboard events.

Package

glaw

Source

input.lisp (file)

Function: dispatch-motion-event DEVICE DX DY

Dispatch relative axis device events.

Package

glaw

Source

input.lisp (file)

Function: dispose-asset IDENTIFIER

Dispose designated asset regardless of its current users.

Package

glaw

Source

assets.lisp (file)

Function: draw-origin ()
Package

glaw

Source

graphics.lisp (file)

Function: drop-alias ALIAS-ID
Package

glaw

Source

resource.lisp (file)

Function: drop-resource ID

Stop using the designated resource.

Package

glaw

Source

resource.lisp (file)

Function: drop-resources &rest RES-IDS
Package

glaw

Source

resource.lisp (file)

Function: empty-screen-stack STACK
Package

glaw

Source

screen.lisp (file)

Function: end-draw ()
Package

glaw

Source

graphics.lisp (file)

Function: find-path NV START-X START-Y END-X END-Y &key G-FUNC H-FUNC

Find a path from (START-X;START-Y) to (END-X;END-Y) if possible.

Package

glaw

Source

navmesh.lisp (file)

Function: find-path/nodes NV START-NODE END-NODE &optional G-FUNC H-FUNC

Find a path from START-NODE to END-NODE using A star algorithm on the provided navigation mesh.

Package

glaw

Source

navmesh.lisp (file)

Function: font-build-cache FNT
Package

glaw

Source

font.lisp (file)

Function: font-line-height INSTANCE
Function: (setf font-line-height) VALUE INSTANCE
Package

glaw

Source

font.lisp (file)

Function: font-set-glyph-data FNT INDEX U V DU DV ADVANCE
Package

glaw

Source

font.lisp (file)

Function: frame-timer-avg-frame-time INSTANCE
Function: (setf frame-timer-avg-frame-time) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-avg-framerate INSTANCE
Function: (setf frame-timer-avg-framerate) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-avg-max INSTANCE
Function: (setf frame-timer-avg-max) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-avg-min INSTANCE
Function: (setf frame-timer-avg-min) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-grapher-update GRAPHER TIMER
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-instant-frame-time INSTANCE
Function: (setf frame-timer-instant-frame-time) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-instant-framerate INSTANCE
Function: (setf frame-timer-instant-framerate) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-instant-max INSTANCE
Function: (setf frame-timer-instant-max) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-instant-min INSTANCE
Function: (setf frame-timer-instant-min) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-total-frame-time INSTANCE
Function: (setf frame-timer-total-frame-time) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-total-framerate INSTANCE
Function: (setf frame-timer-total-framerate) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-total-nb-frames INSTANCE
Function: (setf frame-timer-total-nb-frames) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-total-time INSTANCE
Function: (setf frame-timer-total-time) VALUE INSTANCE
Package

glaw

Source

stats.lisp (file)

Function: frame-timer-update TIMER DT

Updates framerate informations. DT is the elapsed time since last frame was rendered.

Package

glaw

Source

stats.lisp (file)

Function: framebuffer-colors ()
Function: (setf framebuffer-colors) ()
Package

glaw

Source

graphics.lisp (file)

Function: framebuffer-depth ()
Function: (setf framebuffer-depth) ()
Package

glaw

Source

graphics.lisp (file)

Function: get-color-from-gradient ()
Package

glaw

Source

graphics.lisp (file)

Function: get-color-from-gradient/rgb ()
Package

glaw

Source

graphics.lisp (file)

Function: gui-view INSTANCE
Function: (setf gui-view) VALUE INSTANCE
Package

glaw

Source

gui.lisp (file)

Function: has-screens STACK
Package

glaw

Source

screen.lisp (file)

Function: image-bpp ()
Function: (setf image-bpp) ()
Package

glaw

Source

graphics.lisp (file)

Function: image-get-pixel ()
Package

glaw

Source

graphics.lisp (file)

Function: image-get-pixel/index ()
Package

glaw

Source

graphics.lisp (file)

Function: image-height ()
Function: (setf image-height) ()
Package

glaw

Source

graphics.lisp (file)

Function: image-set-pixel ()
Package

glaw

Source

graphics.lisp (file)

Function: image-set-pixel/index ()
Package

glaw

Source

graphics.lisp (file)

Function: image-width ()
Function: (setf image-width) ()
Package

glaw

Source

graphics.lisp (file)

Function: init-content-manager &key ROOT CONFIG
Package

glaw

Source

assets.lisp (file)

Function: init-gui FONT

Init GUI singleton using the provided bitmap font.

Package

glaw

Source

gui.lisp (file)

Function: init-sound &optional MAX-CHANNELS
Package

glaw

Source

sound.lisp (file)

Function: instant-fps ()
Package

glaw

Source

stats.lisp (file)

Function: instant-frame-time ()
Package

glaw

Source

stats.lisp (file)

Function: instant-max-fps ()
Package

glaw

Source

stats.lisp (file)

Function: instant-min-fps ()
Package

glaw

Source

stats.lisp (file)

Function: key-value KEY LST
Package

glaw

Source

utils.lisp (file)

Function: load-asset NAME &optional TYPE IDENTIFIER PROPERTIES

Load the specified asset from disk using whatever valid loader exist.
If the optional argument TYPE is provided then NAME is used as the filename to load from. Otherwise an asset declaration for the provided NAME is searched. If such a declaration exists then the corresponding asset is loaded and returned, otherwise an error occurs. If load is called directly with a filename, a new ASSET is created and stored in *ASSETS*. When no identifier is specified, the filename is used.

Package

glaw

Source

assets.lisp (file)

Function: main-volume ()
Package

glaw

Source

sound.lisp (file)

Function: make-3d-view &key FOV RATIO NEAR FAR POSITION ORIENTATION
Package

glaw

Source

view.lisp (file)

Function: make-anim-state &key (ANIMATION ANIMATION) (TIME TIME) (SCALE SCALE)
Package

glaw

Source

anim.lisp (file)

Function: make-axis &key (X X) (Y Y) (Z Z)
Package

glaw

Source

math.lisp (file)

Function: make-basis &key (R00 R00) (R10 R10) (R20 R20) (Z0 Z0) (R01 R01) (R11 R11) (R21 R21) (Z1 Z1) (R02 R02) (R12 R12) (R22 R22) (Z2 Z2) (TX TX) (TY TY) (TZ TZ) (ONE ONE)
Package

glaw

Source

math.lisp (file)

Function: make-bbox &key (VALID VALID) (X-MIN X-MIN) (Y-MIN Y-MIN) (Z-MIN Z-MIN) (X-MAX X-MAX) (Y-MAX Y-MAX) (Z-MAX Z-MAX)
Package

glaw

Source

bbox.lisp (file)

Function: make-frame-timer &key (AVG-SAMPLE-SIZE AVG-SAMPLE-SIZE) (AVG-MIN AVG-MIN) (AVG-MAX AVG-MAX) (TIME-SUM TIME-SUM) (AVG-FRAME-TIME AVG-FRAME-TIME) (AVG-NB-FRAMES AVG-NB-FRAMES) (AVG-FRAMERATE AVG-FRAMERATE) (INSTANT-MIN INSTANT-MIN) (INSTANT-MAX INSTANT-MAX) (INSTANT-FRAMERATE INSTANT-FRAMERATE) (TIME-RATIO TIME-RATIO) (INSTANT-FRAME-TIME INSTANT-FRAME-TIME) (TOTAL-FRAMERATE TOTAL-FRAMERATE) (TOTAL-FRAME-TIME TOTAL-FRAME-TIME) (TOTAL-TIME TOTAL-TIME) (TOTAL-NB-FRAMES TOTAL-NB-FRAMES)
Package

glaw

Source

stats.lisp (file)

Function: make-frame-timer-grapher ()
Package

glaw

Source

stats.lisp (file)

Function: make-frustum-matrix LEFT RIGHT BOTTOM TOP NEAR FAR
Package

glaw

Source

math.lisp (file)

Function: make-image ()
Package

glaw

Source

graphics.lisp (file)

Function: make-input-chord &key INPUTS DELAY OUTPUT MAX-DELAY PRESSED
Package

glaw

Source

input.lisp (file)

Function: make-input-repeat &key INPUT DELAY OUTPUT AUTO-RESET MAX-DELAY
Package

glaw

Source

input.lisp (file)

Function: make-input-sequence &key INPUTS DELAY OUTPUT MAX-DELAY REMAINING-INPUTS
Package

glaw

Source

input.lisp (file)

Function: make-keyframe-anim &key (CHANNELS CHANNELS) (HINTS HINTS) (FRAME-TIME FRAME-TIME) (START-FRAME START-FRAME) (NB-FRAMES NB-FRAMES)
Package

glaw

Source

anim.lisp (file)

Function: make-matrix &key (R00 R00) (R10 R10) (R20 R20) (Z0 Z0) (R01 R01) (R11 R11) (R21 R21) (Z1 Z1) (R02 R02) (R12 R12) (R22 R22) (Z2 Z2) (TX TX) (TY TY) (TZ TZ) (ONE ONE)
Package

glaw

Source

math.lisp (file)

Function: make-navmesh &key (CELLS CELLS)
Package

glaw

Source

navmesh.lisp (file)

Function: make-navmesh-cell ()
Package

glaw

Source

navmesh.lisp (file)

Function: make-orientation &key (ROLL ROLL) (PITCH PITCH) (YAW YAW)
Package

glaw

Source

math.lisp (file)

Function: make-orientation-from-vector-3d V
Package

glaw

Source

math.lisp (file)

Function: make-ortho-matrix LEFT RIGHT BOTTOM TOP NEAR FAR
Package

glaw

Source

math.lisp (file)

Function: make-perspective &key FOV RATIO NEAR FAR
Package

glaw

Source

math.lisp (file)

Function: make-point-2d &key (X X) (Y Y)
Package

glaw

Source

math.lisp (file)

Function: make-point-2d-from-polar DISTANCE ANGLE
Package

glaw

Source

math.lisp (file)

Function: make-point-3d-from-spherical DISTANCE YAW PITCH
Package

glaw

Source

math.lisp (file)

Function: make-quaternion &key (X X) (Y Y) (Z Z) (W W)
Package

glaw

Source

math.lisp (file)

Function: make-quaternion-from-angles &key ROLL PITCH YAW
Package

glaw

Source

math.lisp (file)

Function: make-quaternion-from-axis-angle &key AXIS ANGLE
Package

glaw

Source

math.lisp (file)

Function: make-quaternion-from-orientation ORIENTATION
Package

glaw

Source

math.lisp (file)

Function: make-screen-stack &key (SCREENS SCREENS) (RENDER RENDER) (RENDER-BACKUP RENDER-BACKUP) (UPDATE UPDATE) (UPDATE-BACKUP UPDATE-BACKUP)
Package

glaw

Source

screen.lisp (file)

Function: make-tileset &key (START-INDEX START-INDEX) (TEXTURE TEXTURE) (TILE-WIDTH TILE-WIDTH) (TILE-HEIGHT TILE-HEIGHT) (SPACING SPACING) (MARGIN MARGIN) (CACHE CACHE)
Package

glaw

Source

2d.lisp (file)

Function: make-vector-2d &key (X X) (Y Y)
Package

glaw

Source

math.lisp (file)

Function: make-vector-2d-from-coords &rest COORDS
Package

glaw

Source

math.lisp (file)

Function: make-vector-2d-from-list COORD-LIST
Package

glaw

Source

math.lisp (file)

Function: make-vector-3d &key (X X) (Y Y) (Z Z)
Package

glaw

Source

math.lisp (file)

Function: make-vector-3d-from-coords &rest COORDS
Package

glaw

Source

math.lisp (file)

Function: make-vector-3d-from-list COORD-LIST
Package

glaw

Source

math.lisp (file)

Function: make-vector-4d &key (X X) (Y Y) (Z Z) (W W)
Package

glaw

Source

math.lisp (file)

Function: make-vector-4d-from-3d VEC &optional W
Package

glaw

Source

math.lisp (file)

Function: matrix-set-frustum MTX LEFT RIGHT BOTTOM TOP NEAR FAR
Package

glaw

Source

math.lisp (file)

Function: matrix-set-ortho MTX LEFT RIGHT BOTTOM TOP NEAR FAR
Package

glaw

Source

math.lisp (file)

Function: mix-colors ()
Package

glaw

Source

graphics.lisp (file)

Function: move-2d-view VIEW DX DY
Package

glaw

Source

view.lisp (file)

Function: move-isometric-view VIEW DX DY
Package

glaw

Source

view.lisp (file)

Function: move-sprite SP X Y

Set sprite position.

Package

glaw

Source

2d.lisp (file)

Function: move-sprite-center SP X Y
Package

glaw

Source

2d.lisp (file)

Function: navmesh-cell NV INDEX
Package

glaw

Source

navmesh.lisp (file)

Function: navmesh-cell-add-vertex CELL X Y
Package

glaw

Source

navmesh.lisp (file)

Function: navmesh-cell-center CELL
Package

glaw

Source

navmesh.lisp (file)

Function: navmesh-cell-polygon INSTANCE
Function: (setf navmesh-cell-polygon) VALUE INSTANCE
Package

glaw

Source

navmesh.lisp (file)

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

glaw

Source

navmesh.lisp (file)

Function: navmesh-nb-cells NV
Package

glaw

Source

navmesh.lisp (file)

Function: navmesh-remove-cell-at NV X Y
Package

glaw

Source

navmesh.lisp (file)

Function: nshuffle SEQ
Package

glaw

Source

utils.lisp (file)

Function: orientation-pitch STRUCTURE
Function: (setf orientation-pitch) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: orientation-roll STRUCTURE
Function: (setf orientation-roll) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: orientation-yaw STRUCTURE
Function: (setf orientation-yaw) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: particle-system-nb-particles SYST
Package

glaw

Source

particles.lisp (file)

Function: perspective-apply P MTX
Package

glaw

Source

math.lisp (file)

Function: perspective-fov INSTANCE
Function: (setf perspective-fov) VALUE INSTANCE
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf perspective-fov) (setf expander)

Setf Expander: (setf perspective-fov) P FOV
Package

glaw

Source

math.lisp (file)

Reader

perspective-fov (function)

Writer

perspective-set-fov (function)

Function: perspective-ratio INSTANCE
Function: (setf perspective-ratio) VALUE INSTANCE
Package

glaw

Source

math.lisp (file)

Setf Expander

(setf perspective-ratio) (setf expander)

Setf Expander: (setf perspective-ratio) P RATIO
Package

glaw

Source

math.lisp (file)

Reader

perspective-ratio (function)

Writer

perspective-set-ratio (function)

Function: play-channel CHAN
Package

glaw

Source

sound.lisp (file)

Function: play-sound SND &key LOOP VOLUME PITCH
Package

glaw

Source

sound.lisp (file)

Function: point-2d-angle P
Package

glaw

Source

math.lisp (file)

Function: point-2d-distance P
Package

glaw

Source

math.lisp (file)

Function: point-2d-x STRUCTURE
Function: (setf point-2d-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: point-2d-y STRUCTURE
Function: (setf point-2d-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: point-3d-angles P
Package

glaw

Source

math.lisp (file)

Function: point-3d-distance P
Package

glaw

Source

math.lisp (file)

Function: point-3d-x STRUCTURE
Function: (setf point-3d-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: point-3d-y STRUCTURE
Function: (setf point-3d-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: point-3d-z STRUCTURE
Function: (setf point-3d-z) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: pop-input-handlers ()
Package

glaw

Source

input.lisp (file)

Function: pop-screen STACK

Shutdown current screen and pop it from STACK.

Package

glaw

Source

screen.lisp (file)

Function: push-input-handlers ()
Package

glaw

Source

input.lisp (file)

Function: push-screen SCREEN STACK &key PROPAGATE-RENDERING PROPAGATE-UPDATING INITARGS

Push SCREEN on top of STACK and then initialize SCREEN.

Package

glaw

Source

screen.lisp (file)

Function: quaternion-add Q1 Q2
Package

glaw

Source

math.lisp (file)

Function: quaternion-diff Q1 Q2
Package

glaw

Source

math.lisp (file)

Function: quaternion-mag Q
Package

glaw

Source

math.lisp (file)

Function: quaternion-mult Q1 Q2
Package

glaw

Source

math.lisp (file)

Function: quaternion-normalize Q
Package

glaw

Source

math.lisp (file)

Function: quaternion-nscale Q FACTOR
Package

glaw

Source

math.lisp (file)

Function: quaternion-scale Q FACTOR
Package

glaw

Source

math.lisp (file)

Function: quaternion-sub Q1 Q2
Package

glaw

Source

math.lisp (file)

Function: quaternion-sum Q1 Q2
Package

glaw

Source

math.lisp (file)

Function: quaternion-w STRUCTURE
Function: (setf quaternion-w) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: quaternion-x STRUCTURE
Function: (setf quaternion-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: quaternion-y STRUCTURE
Function: (setf quaternion-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: quaternion-z STRUCTURE
Function: (setf quaternion-z) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: rad->deg ANGLE
Package

glaw

Source

math.lisp (file)

Function: random-between MIN MAX
Package

glaw

Source

utils.lisp (file)

Function: random-nth SEQ
Package

glaw

Source

utils.lisp (file)

Function: remove-input-handler HANDLER
Package

glaw

Source

input.lisp (file)

Function: render-bbox BBOX
Package

glaw

Source

bbox.lisp (file)

Function: render-gui &optional GUI
Package

glaw

Source

gui.lisp (file)

Function: render-particles S
Package

glaw

Source

particles.lisp (file)

Function: render-screens STACK
Package

glaw

Source

screen.lisp (file)

Function: render-shape SHAPE &key PRIMITIVE SHADER
Package

glaw

Source

shape.lisp (file)

Function: render-sprite SP
Package

glaw

Source

2d.lisp (file)

Function: render-stats-grapher GRAPHER &key X Y
Package

glaw

Source

stats.lisp (file)

Function: render-string X Y FNT STR
Package

glaw

Source

font.lisp (file)

Function: render-tilemap TILEMAP TILESET
Package

glaw

Source

2d.lisp (file)

Function: render-wrapped-string X Y WDTH FNT STR &key JUSTIFY
Package

glaw

Source

font.lisp (file)

Function: replace-screen STACK SCREEN
Package

glaw

Source

screen.lisp (file)

Function: reshape ()
Package

glaw

Source

graphics.lisp (file)

Function: rotate-shape-2d SHAPE ANGLE &optional CENTER-X CENTER-Y
Package

glaw

Source

shape.lisp (file)

Function: rotate-sprite SP DANGLE
Package

glaw

Source

2d.lisp (file)

Function: run-timers TIMER-LIST DT
Package

glaw

Source

scheduler.lisp (file)

Function: scale-sprite SP DSCALE
Package

glaw

Source

2d.lisp (file)

Function: schedule SECS REPEAT FUNCTION &rest ARGS
Package

glaw

Source

scheduler.lisp (file)

Function: screen-to-view X Y VIEW
Package

glaw

Source

view.lisp (file)

Function: select-framebuffer ()
Package

glaw

Source

graphics.lisp (file)

Function: select-texture ()

Set TEX as the current gl texture if necessary.

Package

glaw

Source

graphics.lisp (file)

Function: set-background-color ()
Package

glaw

Source

graphics.lisp (file)

Function: set-color ()
Package

glaw

Source

graphics.lisp (file)

Function: set-color-from-gradient ()
Package

glaw

Source

graphics.lisp (file)

Function: set-color/rgb ()
Package

glaw

Source

graphics.lisp (file)

Function: set-main-volume VAL
Package

glaw

Source

sound.lisp (file)

Function: set-shader-program ()
Package

glaw

Source

graphics.lisp (file)

Function: set-view VIEW
Package

glaw

Source

view.lisp (file)

Function: set-view-2d VIEW
Package

glaw

Source

view.lisp (file)

Function: set-view-3d VIEW
Package

glaw

Source

view.lisp (file)

Function: set-view-isometric VIEW
Package

glaw

Source

view.lisp (file)

Function: setup-2d-defaults ()
Package

glaw

Source

graphics.lisp (file)

Function: setup-3d-defaults ()
Package

glaw

Source

graphics.lisp (file)

Function: shape-add-color SHAPE COLOR
Package

glaw

Source

shape.lisp (file)

Function: shape-add-color/rgb SHAPE R G B &optional A
Package

glaw

Source

shape.lisp (file)

Function: shape-add-indices SHAPE &rest INDICES
Package

glaw

Source

shape.lisp (file)

Function: shape-add-normal SHAPE X Y Z
Package

glaw

Source

shape.lisp (file)

Function: shape-add-tex-vertex SHAPE U V
Package

glaw

Source

shape.lisp (file)

Function: shape-add-vertex SHAPE X Y &optional Z
Package

glaw

Source

shape.lisp (file)

Function: shape-add-vertex/index SHAPE X Y &optional Z
Package

glaw

Source

shape.lisp (file)

Function: shape-get-index SHAPE INDEX
Package

glaw

Source

shape.lisp (file)

Function: shape-get-vertex SHAPE INDEX
Package

glaw

Source

shape.lisp (file)

Function: shape-nb-indices SHAPE
Package

glaw

Source

shape.lisp (file)

Function: shape-nb-vertices SHAPE
Package

glaw

Source

shape.lisp (file)

Function: shape-set-color SHAPE INDEX COLOR
Package

glaw

Source

shape.lisp (file)

Function: shape-set-tex-coord SHAPE INDEX U V
Package

glaw

Source

shape.lisp (file)

Function: shape-set-vertex SHAPE INDEX X Y &optional Z
Package

glaw

Source

shape.lisp (file)

Function: shuffle SEQ
Package

glaw

Source

utils.lisp (file)

Function: shutdown-content-manager ()
Package

glaw

Source

assets.lisp (file)

Function: shutdown-gui ()

Shutdown GUI singleton.

Package

glaw

Source

gui.lisp (file)

Function: shutdown-sound ()
Package

glaw

Source

sound.lisp (file)

Function: simplify-navmesh NV

Simplify the provided navigation mesh trying to merge adjacent cells.

Package

glaw

Source

navmesh.lisp (file)

Function: sound-nb-channels ()
Package

glaw

Source

sound.lisp (file)

Function: sound-nb-free-channels ()
Package

glaw

Source

sound.lisp (file)

Function: sound-nb-used-channels ()
Package

glaw

Source

sound.lisp (file)

Function: sprite-batch-append BATCH SP
Package

glaw

Source

2d.lisp (file)

Function: sprite-batch-clear BATCH
Package

glaw

Source

2d.lisp (file)

Function: sprite-batch-render BATCH
Package

glaw

Source

2d.lisp (file)

Function: stop-channel CHAN
Package

glaw

Source

sound.lisp (file)

Function: stop-sound SND
Package

glaw

Source

sound.lisp (file)

Function: string-height FNT &optional STR
Package

glaw

Source

font.lisp (file)

Function: string-width FNT STR
Package

glaw

Source

font.lisp (file)

Function: string-wrap FNT STR MAX-WIDTH

Wrap the provided string at MAX-WIDTH and returns a list of string, one for each line of the wrapped text.

Package

glaw

Source

font.lisp (file)

Function: supported-assets ()

Return list of supported assets types.

Package

glaw

Source

assets.lisp (file)

Function: tilemap-nb-tiles TILEMAP
Package

glaw

Source

2d.lisp (file)

Function: tileset-margin INSTANCE
Function: (setf tileset-margin) VALUE INSTANCE
Package

glaw

Source

2d.lisp (file)

Function: tileset-pixel-height TILESET
Package

glaw

Source

2d.lisp (file)

Function: tileset-pixel-width TILESET
Package

glaw

Source

2d.lisp (file)

Function: tileset-spacing INSTANCE
Function: (setf tileset-spacing) VALUE INSTANCE
Package

glaw

Source

2d.lisp (file)

Function: tileset-start-index INSTANCE
Function: (setf tileset-start-index) VALUE INSTANCE
Package

glaw

Source

2d.lisp (file)

Function: tileset-tiles-height TILESET
Package

glaw

Source

2d.lisp (file)

Function: tileset-tiles-width TILESET
Package

glaw

Source

2d.lisp (file)

Function: total-fps ()
Package

glaw

Source

stats.lisp (file)

Function: total-frame-time ()
Package

glaw

Source

stats.lisp (file)

Function: total-timer-nb-frames ()
Package

glaw

Source

stats.lisp (file)

Function: total-timer-time ()
Package

glaw

Source

stats.lisp (file)

Function: translate-mouse-button BUTTON
Package

glaw

Source

gui.lisp (file)

Function: translate-shape SHAPE DX DY &optional DZ
Package

glaw

Source

shape.lisp (file)

Function: translate-sprite SP DX DY
Package

glaw

Source

2d.lisp (file)

Function: unalias-resource RES-ID
Package

glaw

Source

resource.lisp (file)

Function: update-2d-view VIEW X Y WIDTH HEIGHT
Package

glaw

Source

view.lisp (file)

Function: update-fps DT
Package

glaw

Source

stats.lisp (file)

Function: update-gui &optional GUI WIDTH HEIGHT
Package

glaw

Source

gui.lisp (file)

Function: update-mouse-position X Y
Package

glaw

Source

input.lisp (file)

Function: update-particles S DT
Package

glaw

Source

particles.lisp (file)

Function: update-scheduler DT
Package

glaw

Source

scheduler.lisp (file)

Function: update-screens STACK DT
Package

glaw

Source

screen.lisp (file)

Function: update-sound ()
Package

glaw

Source

sound.lisp (file)

Function: update-texture ()
Package

glaw

Source

graphics.lisp (file)

Function: update-texture-from-image ()
Package

glaw

Source

graphics.lisp (file)

Function: update-timer TIMER DT

Update timer state and execute if expired.
Returns updated timer or NIL if timer expired and repeat was not set.

Package

glaw

Source

scheduler.lisp (file)

Function: use-asset IDENTIFIER &optional RES
Package

glaw

Source

assets.lisp (file)

Function: use-resources &rest RES-IDS
Package

glaw

Source

resource.lisp (file)

Function: vector-2d-add V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-angle V1 &optional V2

Returns relative v1 angle relative to v2 in [-PI;+PI].

Package

glaw

Source

math.lisp (file)

Function: vector-2d-diff V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-dot-product V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-mag V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-normalize V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-null-p V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-opposite V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-perp V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-perp-dot-product V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-rotate V ANGLE
Package

glaw

Source

math.lisp (file)

Function: vector-2d-scale V FACTOR
Package

glaw

Source

math.lisp (file)

Function: vector-2d-slope V
Package

glaw

Source

math.lisp (file)

Function: vector-2d-sub V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-sum V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-2d-x STRUCTURE
Function: (setf vector-2d-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-2d-y STRUCTURE
Function: (setf vector-2d-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-3d-add V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-cross-product V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-diff V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-dot-product V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-mag V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-normalize V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-nscale V FACTOR
Package

glaw

Source

math.lisp (file)

Function: vector-3d-null-p V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-opposite V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-project-xy V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-project-xz V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-project-yz V
Package

glaw

Source

math.lisp (file)

Function: vector-3d-scale V FACTOR
Package

glaw

Source

math.lisp (file)

Function: vector-3d-sub V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-sum V1 V2
Package

glaw

Source

math.lisp (file)

Function: vector-3d-x STRUCTURE
Function: (setf vector-3d-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-3d-y STRUCTURE
Function: (setf vector-3d-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-3d-z STRUCTURE
Function: (setf vector-3d-z) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-4d-w STRUCTURE
Function: (setf vector-4d-w) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-4d-x STRUCTURE
Function: (setf vector-4d-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-4d-y STRUCTURE
Function: (setf vector-4d-y) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: vector-4d-z STRUCTURE
Function: (setf vector-4d-z) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: view-to-screen X Y VIEW
Package

glaw

Source

view.lisp (file)

Function: view-to-view X Y FROM-VIEW TO-VIEW &optional ABSOLUTE
Package

glaw

Source

view.lisp (file)

Function: zoom-2d-view VIEW DFACTOR &key LOCK-LEFT LOCK-BOTTOM LOCK-RIGHT LOCK-TOP
Package

glaw

Source

view.lisp (file)


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

6.1.5 Generic functions

Generic Function: (setf 2d-view-height) VALUE VIEW
Package

glaw

Reader

2d-view-height (function)

Methods
Method: (setf 2d-view-height) VALUE (VIEW 2d-view)
Source

view.lisp (file)

Generic Function: (setf 2d-view-width) VALUE VIEW
Package

glaw

Reader

2d-view-width (function)

Methods
Method: (setf 2d-view-width) VALUE (VIEW 2d-view)
Source

view.lisp (file)

Generic Function: animation-apply ANIM OBJ DATE

Apply animation ANIM at DATE to OBJ.

Package

glaw

Source

anim.lisp (file)

Methods
Method: animation-apply (IT keyframe-anim) OBJ DATE
Generic Function: framebuffer-attach-color FB BUF &optional INDEX
Package

glaw

Methods
Method: framebuffer-attach-color FB (BUF renderbuffer) &optional INDEX
Source

graphics.lisp (file)

Method: framebuffer-attach-color FB (BUF texture) &optional INDEX
Source

graphics.lisp (file)

Generic Function: framebuffer-attach-depth FB BUF &optional INDEX
Package

glaw

Methods
Method: framebuffer-attach-depth FB (BUF renderbuffer) &optional INDEX
Source

graphics.lisp (file)

Method: framebuffer-attach-depth FB (BUF texture) &optional INDEX
Source

graphics.lisp (file)

Generic Function: gui-focus IT
Generic Function: (setf gui-focus) VALUE IT
Package

glaw

Methods
Method: gui-focus (IT gui)
Method: (setf gui-focus) VALUE (IT gui)
Source

gui.lisp (file)

Generic Function: gui-focus-next IT
Package

glaw

Methods
Method: gui-focus-next (IT gui)
Source

gui.lisp (file)

Generic Function: gui-focus-prev IT
Package

glaw

Methods
Method: gui-focus-prev (IT gui)
Source

gui.lisp (file)

Generic Function: gui-slider-step-down W
Package

glaw

Methods
Method: gui-slider-step-down (W gui-slider)
Source

gui.lisp (file)

Generic Function: gui-slider-step-up W
Package

glaw

Methods
Method: gui-slider-step-up (W gui-slider)
Source

gui.lisp (file)

Generic Function: gui-widget-visible OBJECT
Generic Function: (setf gui-widget-visible) NEW-VALUE OBJECT
Package

glaw

Methods
Method: gui-widget-visible (GUI-WIDGET gui-widget)

automatically generated reader method

Source

gui.lisp (file)

Method: (setf gui-widget-visible) NEW-VALUE (GUI-WIDGET gui-widget)

automatically generated writer method

Source

gui.lisp (file)

Generic Function: init-screen SCREEN &rest INITARGS &key &allow-other-keys
Package

glaw

Source

screen.lisp (file)

Methods
Method: init-screen SCREEN &key
Generic Function: input-processor-reset PROCESSOR

Cancel current processor state.

Package

glaw

Source

input.lisp (file)

Methods
Method: input-processor-reset (IT input-chord)
Method: input-processor-reset (IT input-sequence)
Method: input-processor-reset (IT input-repeat)
Generic Function: input-processor-valid-p IT
Package

glaw

Methods
Method: input-processor-valid-p (IT input-chord)
Source

input.lisp (file)

Method: input-processor-valid-p (IT input-sequence)
Source

input.lisp (file)

Method: input-processor-valid-p (IT input-repeat)
Source

input.lisp (file)

Generic Function: move-widget IT X Y
Package

glaw

Methods
Method: move-widget (IT gui-widget) X Y
Source

gui.lisp (file)

Generic Function: navstruct-node-at NV X Y

Returns the navigation structure node at the specified position.

Package

glaw

Source

navmesh.lisp (file)

Methods
Method: navstruct-node-at (NV navmesh) X Y
Generic Function: render-screen SCREEN
Package

glaw

Source

screen.lisp (file)

Generic Function: resume-screen SCREEN
Package

glaw

Source

screen.lisp (file)

Methods
Method: resume-screen SCREEN
Generic Function: shutdown-screen SCREEN
Package

glaw

Source

screen.lisp (file)

Methods
Method: shutdown-screen SCREEN
Generic Function: suspend-screen SCREEN
Package

glaw

Source

screen.lisp (file)

Methods
Method: suspend-screen SCREEN
Generic Function: text OBJECT
Generic Function: (setf text) NEW-VALUE OBJECT
Package

glaw

Methods
Method: text (GUI-BUTTON gui-button)

automatically generated reader method

Source

gui.lisp (file)

Method: (setf text) NEW-VALUE (GUI-BUTTON gui-button)

automatically generated writer method

Source

gui.lisp (file)

Method: text (IT gui-widget)
Source

gui.lisp (file)

Method: text (GUI-LABEL gui-label)

automatically generated reader method

Source

gui.lisp (file)

Method: (setf text) NEW-VALUE (GUI-LABEL gui-label)

automatically generated writer method

Source

gui.lisp (file)

Generic Function: update-screen SCREEN DT
Package

glaw

Source

screen.lisp (file)


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

6.1.6 Structures

Structure: navmesh-cell ()
Package

glaw

Source

navmesh.lisp (file)

Direct superclasses

structure-object (structure)

Direct methods

navstruct-node-neighbors (method)

Direct slots
Slot: neighbors
Readers

navmesh-cell-neighbors (function)

Writers

(setf navmesh-cell-neighbors) (function)

Slot: polygon
Readers

navmesh-cell-polygon (function)

Writers

(setf navmesh-cell-polygon) (function)


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

6.1.7 Classes

Class: gui-button ()
Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: text
Initargs

:text

Initform

"some text?"

Readers

text (generic function)

Writers

(setf text) (generic function)

Slot: action
Initargs

:action

Readers

action (generic function)

Writers

(setf action) (generic function)

Slot: args
Initargs

:args

Readers

gui-button-args (generic function)

Writers

(setf gui-button-args) (generic function)

Slot: pressed
Readers

gui-button-pressed (generic function)

Writers

(setf gui-button-pressed) (generic function)

Slot: pressed-texture
Initargs

:pressed-texture

Readers

gui-button-pressed-texture (generic function)

Writers

(setf gui-button-pressed-texture) (generic function)

Direct Default Initargs
InitargValue
:color(glaw:create-color 1 1 1 0.3)
Class: gui-gauge ()
Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: value
Initargs

:value

Initform

0.5

Readers

gui-gauge-value (generic function)

Writers

(setf gui-gauge-value) (generic function)

Slot: fill-color
Initargs

:fill-color

Initform

(glaw:create-color 1.0 1.0 1.0 0.75)

Readers

gui-gauge-fill-color (generic function)

Writers

(setf gui-gauge-fill-color) (generic function)

Class: gui-label ()

One line text

Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: text
Initargs

:text

Initform

"some text?"

Readers

text (generic function)

Writers

(setf text) (generic function)

Slot: text-color
Initargs

:text-color

Initform

(glaw:create-color 1 1 1)

Readers

text-color (generic function)

Writers

(setf text-color) (generic function)

Class: gui-slider ()
Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: min
Initargs

:min

Initform

0

Readers

gui-slider-min (generic function)

Writers

(setf gui-slider-min) (generic function)

Slot: max
Initargs

:max

Initform

100

Readers

gui-slider-max (generic function)

Writers

(setf gui-slider-max) (generic function)

Slot: step
Initargs

:step

Initform

1

Readers

gui-slider-step (generic function)

Writers

(setf gui-slider-step) (generic function)

Slot: value
Initargs

:value

Initform

50

Readers

gui-slider-value (generic function)

Writers

(setf gui-slider-value) (generic function)

Slot: sliding
Readers

gui-slider-sliding (generic function)

Writers

(setf gui-slider-sliding) (generic function)

Class: gui-text-input ()
Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: input
Initargs

:input

Initform

(quote nil)

Readers

input (generic function)

Writers

(setf input) (generic function)

Slot: action
Initargs

:action

Readers

action (generic function)

Writers

(setf action) (generic function)

Class: gui-widget ()

Base class for all gui components.

Package

glaw

Source

gui.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: x
Initargs

:x

Initform

0

Readers

pos-x (generic function)

Writers

(setf pos-x) (generic function)

Slot: y
Initargs

:y

Initform

0

Readers

pos-y (generic function)

Writers

(setf pos-y) (generic function)

Slot: width
Initargs

:width

Initform

1.0

Slot: height
Initargs

:height

Initform

1.0

Slot: x-off
Initargs

:x-off

Initform

0

Readers

gui-widget-x-off (generic function)

Writers

(setf gui-widget-x-off) (generic function)

Slot: y-off
Initargs

:y-off

Initform

0

Readers

gui-widget-y-off (generic function)

Writers

(setf gui-widget-y-off) (generic function)

Slot: layout
Initargs

:layout

Initform

:absolute

Readers

gui-widget-layout (generic function)

Writers

(setf gui-widget-layout) (generic function)

Slot: color
Initargs

:color

Initform

(glaw:create-color 0.35 0.35 0.35 0.5)

Readers

gui-widget-color (generic function)

Writers

(setf gui-widget-color) (generic function)

Slot: texture
Initargs

:texture

Readers

gui-widget-texture (generic function)

Writers

(setf gui-widget-texture) (generic function)

Slot: visible
Initargs

:visible

Initform

t

Readers

gui-widget-visible (generic function)

Writers

(setf gui-widget-visible) (generic function)

Slot: font
Initargs

:font

Readers

gui-widget-font (generic function)

Writers

(setf gui-widget-font) (generic function)

Slot: focused
Initform

t

Readers

focused (generic function)

Writers

(setf focused) (generic function)

Slot: parent
Readers

parent-widget (generic function)

Writers

(setf parent-widget) (generic function)

Slot: children
Initform

(quote nil)

Readers

children (generic function)

Writers

(setf children) (generic function)

Class: gui-window ()
Package

glaw

Source

gui.lisp (file)

Direct superclasses

gui-widget (class)

Direct methods
Direct slots
Slot: moveable
Initargs

:moveable

Readers

gui-window-moveable (generic function)

Writers

(setf gui-window-moveable) (generic function)

Slot: moving
Readers

gui-window-moving (generic function)

Writers

(setf gui-window-moving) (generic function)

Slot: title
Initargs

:title

Readers

gui-window-title (generic function)


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

6.2 Internal definitions


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

6.2.1 Constants

Constant: +basis-sin-precision+
Package

glaw

Source

math.lisp (file)

Constant: +epsilon+
Package

glaw

Source

math.lisp (file)


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

6.2.2 Special variables

Special Variable: %frame-timer%

Current frame timer.

Package

glaw

Source

stats.lisp (file)

Special Variable: %resource-manager%
Package

glaw

Source

resource.lisp (file)

Special Variable: %selected-framebuffer-index%

Currently selected framebuffer object index.

Package

glaw

Source

graphics.lisp (file)

Special Variable: %selected-shader-index%
Package

glaw

Source

graphics.lisp (file)

Special Variable: %selected-texture-index%

Current texture in GL context.

Package

glaw

Source

graphics.lisp (file)

Special Variable: *asset-loaders*
Package

glaw

Source

assets.lisp (file)

Special Variable: *assets*
Package

glaw

Source

assets.lisp (file)

Special Variable: *content-directory*
Package

glaw

Source

assets.lisp (file)

Special Variable: *content-manager*
Package

glaw

Source

assets.lisp (file)

Special Variable: *debug-stream*
Package

glaw

Source

utils.lisp (file)

Special Variable: *free-sources*
Package

glaw

Source

sound.lisp (file)

Special Variable: *gui*
Package

glaw

Source

gui.lisp (file)

Special Variable: *input-handlers*

All active input handlers.

Package

glaw

Source

input.lisp (file)

Special Variable: *input-stack*
Package

glaw

Source

input.lisp (file)

Special Variable: *sounds*
Package

glaw

Source

sound.lisp (file)

Special Variable: *timers*
Package

glaw

Source

scheduler.lisp (file)

Special Variable: *used-sources*
Package

glaw

Source

sound.lisp (file)

Special Variable: +default-2d-render-state+
Package

glaw

Source

graphics.lisp (file)

Special Variable: +default-3d-render-state+
Package

glaw

Source

graphics.lisp (file)

Special Variable: +default-material+
Package

glaw

Source

graphics.lisp (file)


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

6.2.3 Macros

Macro: define-anim-channels ((OBJ-SYM OBJ-TYPE) DATA-SYM) &rest CHANNELS

Define channels type and their apply-state code for a specific object.

Package

glaw

Source

anim.lisp (file)

Macro: define-constant NAME VALUE &optional DOC
Package

glaw

Source

utils.lisp (file)

Macro: map-particles (P-SYM P-SYSTEM) &body BODY
Package

glaw

Source

particles.lisp (file)

Macro: with-profiling FMT &body BODY
Package

glaw

Source

utils.lisp (file)

Macro: with-shape-colors (C-SYM SHAPE) &body BODY
Package

glaw

Source

shape.lisp (file)

Macro: with-shape-normals (V-SYM SHAPE) &body BODY
Package

glaw

Source

shape.lisp (file)

Macro: with-shape-tex-coords (T-SYM SHAPE) &body BODY
Package

glaw

Source

shape.lisp (file)

Macro: with-shape-vertices (V-SYM SHAPE) &body BODY
Package

glaw

Source

shape.lisp (file)


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

6.2.4 Functions

Function: %2d-view-update-matrix VIEW
Package

glaw

Source

view.lisp (file)

Function: %3d-view-update-eye-matrix VIEW
Package

glaw

Source

view.lisp (file)

Function: %3d-view-update-proj-matrix VIEW
Package

glaw

Source

view.lisp (file)

Function: %asset-loader TYPE EXTENSION

Try to find a valid asset loader for the specified TYPE and EXTENSION.

Package

glaw

Source

assets.lisp (file)

Function: %framebuffer-attach-renderbuffer ()
Package

glaw

Source

graphics.lisp (file)

Function: %framebuffer-attach-texture ()
Package

glaw

Source

graphics.lisp (file)

Function: %index-buffer-setup-arrays ()
Package

glaw

Source

graphics.lisp (file)

Function: %isometric-view-update-matrix VIEW
Package

glaw

Source

view.lisp (file)

Function: %load-asset ASSET &optional ROOT-PATH
Package

glaw

Source

assets.lisp (file)

Function: %loaded-asset-p ASSET
Package

glaw

Source

assets.lisp (file)

Function: %lowest-cost-node NODE-LIST COSTS-TABLE
Package

glaw

Source

navmesh.lisp (file)

Function: %make-3d-view &key (PROJ-MTX PROJ-MTX) (EYE-MTX EYE-MTX) (PERSPECTIVE PERSPECTIVE) (BASIS BASIS)
Package

glaw

Source

view.lisp (file)

Function: %make-navmesh-cell &key (NEIGHBORS NEIGHBORS) (POLYGON POLYGON)
Package

glaw

Source

navmesh.lisp (file)

Function: %make-perspective &key (FOV FOV) (RATIO RATIO) (NEAR NEAR) (FAR FAR) (UP-SLOPE UP-SLOPE) (DOWN-SLOPE DOWN-SLOPE) (LEFT-SLOPE LEFT-SLOPE) (RIGHT-SLOPE RIGHT-SLOPE)
Package

glaw

Source

math.lisp (file)

Function: %mesh-add-wavefront-part MESH NAME MATERIAL VERTICES TEX-COORDS NORMALS VERTEX-INDICES TEX-VERTEX-INDICES NORMAL-INDICES
Package

glaw

Source

3d.lisp (file)

Function: %perspective-update-slopes P
Package

glaw

Source

math.lisp (file)

Function: %polygon-update-centroid P
Package

glaw

Source

math.lisp (file)

Function: %polygon-update-edges P
Package

glaw

Source

math.lisp (file)

Function: %polygon-update-internal P
Package

glaw

Source

math.lisp (file)

Function: %reconstruct-path CURRENT-NODE PREVS
Package

glaw

Source

navmesh.lisp (file)

Function: %register-asset ASSET
Package

glaw

Source

assets.lisp (file)

Function: %shader-add-program ()
Package

glaw

Source

graphics.lisp (file)

Function: %shader-remove-program ()
Package

glaw

Source

graphics.lisp (file)

Function: %shader-set-source ()
Package

glaw

Source

graphics.lisp (file)

Function: %vertex-buffer-setup-arrays ()
Package

glaw

Source

graphics.lisp (file)

Function: %vertex-data-from-face-data DATA INDICES

Linearize per face data to per vertex mode.

Package

glaw

Source

shape.lisp (file)

Function: 2d-view-eye-mtx INSTANCE
Function: (setf 2d-view-eye-mtx) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 2d-view-p OBJECT
Package

glaw

Source

view.lisp (file)

Function: 2d-view-proj-mtx INSTANCE
Function: (setf 2d-view-proj-mtx) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-basis INSTANCE
Function: (setf 3d-view-basis) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-eye-mtx INSTANCE
Function: (setf 3d-view-eye-mtx) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-forward VIEW
Package

glaw

Source

view.lisp (file)

Function: 3d-view-p OBJECT
Package

glaw

Source

view.lisp (file)

Function: 3d-view-perspective INSTANCE
Function: (setf 3d-view-perspective) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-proj-mtx INSTANCE
Function: (setf 3d-view-proj-mtx) VALUE INSTANCE
Package

glaw

Source

view.lisp (file)

Function: 3d-view-set-far V FAR
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-far) (setf expander)

Function: 3d-view-set-fov V FOV
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-fov) (setf expander)

Function: 3d-view-set-near V NEAR
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-near) (setf expander)

Function: 3d-view-set-orientation V ORIENTATION
Package

glaw

Source

view.lisp (file)

Function: 3d-view-set-position V POS
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-position) (setf expander)

Function: 3d-view-set-ratio V RATIO
Package

glaw

Source

view.lisp (file)

Setf Expander

(setf 3d-view-ratio) (setf expander)

Function: add-particle P SYST
Package

glaw

Source

particles.lisp (file)

Function: add-particle-affector SYST AFFECTOR
Package

glaw

Source

particles.lisp (file)

Function: add-particle-emitter SYST EMITTER
Package

glaw

Source

particles.lisp (file)

Function: add-resource MGR ID RES &optional FINALIZER

Create a new RESOURCE-HOLDER for RES designated by ID.

Package

glaw

Source

resource.lisp (file)

Function: add-resource-alias MGR RES-ID ALIAS-ID
Package

glaw

Source

resource.lisp (file)

Function: add-source SRC
Package

glaw

Source

sound.lisp (file)

Function: adjacent-neighbor CELL
Package

glaw

Source

navmesh.lisp (file)

Function: al-sample-format CHANS BITS
Package

glaw

Source

sound.lisp (file)

Function: alias-asset IDENTIFIER ALIAS
Package

glaw

Source

assets.lisp (file)

Function: anim-state-animation INSTANCE
Function: (setf anim-state-animation) VALUE INSTANCE
Package

glaw

Source

anim.lisp (file)

Function: anim-state-p OBJECT
Package

glaw

Source

anim.lisp (file)

Function: anim-state-reset STATE
Package

glaw

Source

anim.lisp (file)

Function: anim-state-scale INSTANCE
Function: (setf anim-state-scale) VALUE INSTANCE
Package

glaw

Source

anim.lisp (file)

Function: anim-state-time INSTANCE
Function: (setf anim-state-time) VALUE INSTANCE
Package

glaw

Source

anim.lisp (file)

Function: asset-loader-extension-supported-p LOADER EXTENSION
Package

glaw

Source

assets.lisp (file)

Function: asset-loader-extensions LOADER
Package

glaw

Source

assets.lisp (file)

Function: asset-loader-load LOADER
Package

glaw

Source

assets.lisp (file)

Function: asset-loader-unload LOADER
Package

glaw

Source

assets.lisp (file)

Function: asset-name INSTANCE
Function: (setf asset-name) VALUE INSTANCE
Package

glaw

Source

assets.lisp (file)

Function: asset-p OBJECT
Package

glaw

Source

assets.lisp (file)

Function: asset-properties INSTANCE
Function: (setf asset-properties) VALUE INSTANCE
Package

glaw

Source

assets.lisp (file)

Function: asset-type INSTANCE
Function: (setf asset-type) VALUE INSTANCE
Package

glaw

Source

assets.lisp (file)

Function: axis-x STRUCTURE
Function: (setf axis-x) VALUE STRUCTURE
Package

glaw

Source

math.lisp (file)

Function: axis-y STRUCTURE
Function: (setf axis-y)