Package Cityscape - internal and external symbols

Part of:

asdf-system cityscape-builder, asdf-system cityscape-osd, asdf-system cityscape-city, asdf-system cityscape-terrain, asdf-system cityscape-building, asdf-system cityscape-draw, asdf-system cityscape-input, asdf-system cityscape-externals, asdf-system cityscape-util
See only external symbols
Package Cityscape uses the packages Common-Lisp. It is also known as Cs. It has 5493 total symbols and 30 external ones.

Condition

element-not-found
key-handledSignal when a key press has been accounted for and no other handlers should be called.
mouse-handledSignal when mouse motion, press or release has been accounted for and no other handlers should be...
object-selected

Class

application
base-modelAbstract model type for collections of gemetric data and textures.
Inherited by cs3d-model, and m...
builder-applicationStub class for builder application context loading
building
camera
cityClass used to represent a city.
cs3d-drawLeaf of the cs3d model hierachy. Contains the actual mesh data.
cs3d-materialDrawable that binds a material for the duration of the draw method.
cs3d-meshBasic drawable mesh geometry type
cs3d-objectObject exported from the blender scene.
cs3d-parentBase class for a cs3d model that contains children
cs3d-textureDrawable that binds a texture for the duration of the draw method.
marker
opengl-loadableBase class for any object that has data to be loadable into an OpenGL context.
See the opengl-loa...
opengl-singleton-loadableLoadable specialization that only has one of its exact type in existance at a time.
When another ...
osd-buttonA clickable OSD GUI button. All of the slots should signal the event-handled condition
when this ...
osd-containerA grid-layout container for other osd-elements.
osd-elementThe base class for all on-screen-display widgets
osd-element-measurementA measurement in one dimension (namely x or y) of an element and
its associated data for laying ...
osd-graphGraph for the on-screen display.
osd-inputWidget for editable text.
osd-numeric-inputWidget for editable numbers.
The writer initarg function will be automatically wrapped in
the in...
osd-textWrappable text object on the on-screen-display system.

Variable

*1/fps*
*alpha-bits*
*application*
*blue-bits*
*button-background-colour*
*button-depressed-background-colour*
*button-foreground-colour*
*camera*
*camera-gui-number-format*
*camera-move-speed*
*city*
*cityscape-data-directory*
*cityscape-data-search-directories*
*cityscape-lib-search-directories*
*cityscape-library-directory*
*data-dir*
*default-background-colour*
*default-foreground-colour*
*depth-bits*
*depth-divide*
*display-height*
*display-mode*
*display-width*
*edit-mode-active-input*The currently active osd-input element. If nil, nothing is currently being edited.
*edit-mode-cursor-blink-last-change*Current time of the last state change of blink
*edit-mode-cursor-blink-state*Whether the cursor is currently blinked on or off
*edit-mode-cursor-blink-time*Setting for how long the cursor should blink before toggling
*edit-mode-cursor-positions*A list of two values of the current cursor position. If the values are different,
this signifies...
*edit-mode-drag-anchors*If not-nil, the first is the initial position of the drag and the second
Or nil if there is no d...
*edit-mode-text-memento*The text before we entered edit-mode (for reverting back if the user cancels editing)
*fps*
*generic-background-colour*
*generic-foreground-colour*
*green-bits*
*info-frame*
*key-handlers*
*loaded-textures*
*lod-multiscreen*
*meshes-cache*The current meshes cache. Only used while loading files, after meshes are loaded, they can be res...
*model-file-pathname*Special to hold the path of the currently loading file.
*models*The current models database to look in, used when a model is loaded to add itself to the cache.
*mouse-button-handlers*
*mouse-motion-handlers*
*mouse-wheel-handlers*
*object-volumes*
*opengl-loadables*List of opengl-loadable type objects to be loaded in an OpenGL context.
See the opengl-load and o...
*opengl-loadables-loaded*List of opengl-loadable type objects currently loaded into the current context.
See the opengl-lo...
*osd-objects*
*osd-root-element*
*previous-mouse-wheel-position*
*red-bits*
*select-buffer-size*
*select-mode*
*select-object-x*
*select-object-y*
*selectable-objects*
*selected-object*
*stencil-bits*
*terrain-cursor*
*texture-relative-path*
*tight-frustum-slices*When splitting up the view volumes, having this true will mean
that they are precisely boundaried...
*un-projected-mouse-0*
*un-projected-mouse-1*
*use-vbo*
*view-depth*

Function

add-to-volumes
blankp
builder-autosave
builder-key-handler
builder-mainMain entry point for the builder application.
If you wish to run Cityscape Builder interactively,...
builder-main-loopJust run the main loop of cityscape builder. Expects a valid context to be set up.
builder-mouse-button-handler
builder-mouse-motion-handler
builder-mouse-wheel-handler
builder-view-draw
camera-transform
check-gl-errors
clear-input-callbacks
clear-loaded-textures
clear-object-volumes
column-element-widths
compute-ideal-sizes
compute-set-sizes
copy-model-uriReturn a copy of STRUCTURE with the same (EQL) slot values.
cursor-position
depth-level-to-dist
dist-to-depth-level
draw
draw-environment
draw-marker
draw-osd
draw-selected-object
draw-volume
draw-volumes
draw-with-select-object
edit-mode-backspace-text
edit-mode-backwards-word
edit-mode-cursor-positions
edit-mode-cursor-positions-fix
edit-mode-delete-text
edit-mode-forwards-word
edit-mode-handle-key
edit-mode-insert-text
edit-mode-move-line
edit-mode-update-cursor-blink
exitExit program completely.
find-data-pathnames
find-lib-pathnames
find-pathnames
font-string-character-positionReturns the integer character index in string at the offset-x
font-string-cursor-offsetReturns the pixels offset from left of a cursor in the string
font-text-wrapUsing a font, wraps a string of text to a given width.
Returns a list of strings of the lines and...
frame-sleeperIf the measured dt of a frame is less than *1/fps* and not 0, sleep
for the rest of the time in t...
get-cityscape-personal-directory
get-modelReturns the model named either from this model cache, or by loading from the data/ directories.
get-seconds
get-textureTakes the filename and (rest) of the arguments of make-texture
gl-get-list
gl-print
initialize-gui
initialize-input
interactive-builder-initInitialise GLFW, and build a new builder-application object.
interactive-builder-mainCreate a context and run a main loop, leaving the context when the loop exits.
interleaved-format-elements
leave-builder-main-loopCall to drop out of the builder main loop.
leave-edit-mode
load-model-file
load-texture
macroexpand-all
make-model-uri
model-uri-model-name
model-uri-p
model-uri-pathname
move-camera
opengl-context-endingTop-level function to call before opengl-context is destroyed.
Will ensure all opengl-loadables a...
opengl-context-remove
opengl-context-restartStop a context if it's already running and re-start it.
opengl-context-startTry to start a new opengl context with all the opengl-loadables.
opengl-context-startedTop-level function to call once opengl context becomes available.
Will ensure all opengl-loadabl...
opengl-context-stopStop a running context cleanly unloading all the loadables.
opengl-information
osd-element
osd-handle-mouse-buttonsJust dispatch to the current osd-root-element
osd-handle-mouse-wheelJust dispatch to the current osd-root-element
osd-input-selection-drag-finish
osd-input-selection-drag-mouse-motionHandler for mouse motion while an osd-input is having a selection dragged.
osd-style
process-hits
reshapeCalled when window is resized, to recalculate projection matrix.
rotate-camera
rotate-shade-model
row-element-heights
select-object
setup-input-callbacks
setup-profiler
setup-projection
string-insertReturns a string with the character at the position, or between the cons pair of positions, in st...
string-splitSplit a string into a list of strings, partitioning by characters matching the predicate.
Default...
to-model-uri

Generic-Function

accept-char-p
add
after-border-colour
after-border-width
after-margin
after-padding
before-border-colour
before-border-width
before-margin
before-padding
content-offset
contents-list
cumulative-offset
current-offset-before-border
cursor-x-y-to-position
detach
draw-cursor
enter-edit-mode
finish-edit-mode
first-border-width
graph-data
handle-mouse-buttonWhen a GUI element needs to respond to a click, implement this.
The x and y arguments are the rel...
handle-mouse-wheelWhen a GUI element needs to respond to wheel motion, implement this.
The x and y arguments are th...
ideal-height
ideal-width
layout
maximum-size
minimum-size
name
nuke-buildings
offset-to-char-x-char-y
opengl-context-addAdd an opengl-loadable object to the running context, or queue for when one is started.
opengl-loadCode to be run when an opengl-loadable object is added to a running context or when the context c...
opengl-unloadCode to be run as an OpenGL context is closed, or an object is removed from the context.
radius
set-borders
set-cell
to-single-floats
total-current-size
total-ideal-height
total-ideal-size
total-ideal-width
x
y
z

Macro

as-selectable-object
clean-foreign-alloc
clean-slot-foreign-alloc
define-before-after-accessors
gl-toggle
gl-toggler-button
if-letIf execute forms with bindings only if one or more binding value is
non-nil
make-button
make-grid
make-hbox
make-label
make-scroll-button
make-tab-panel
make-text-block
make-vbox
rotate-polygon-mode
when-letIf value is non-nil, bind variable to value and evaluate forms
with-foreign-object
with-foreign-objects
with-fps-counterPerform timed-forms, updating a frame counter, and returning result
forms
with-opengl-contextRun forms in context with all the opengl-context/loadables handled nicely
with-osd-element-box-bindingsMakes bindings for b[xy][01][01] thus:
bx00 bx01 bx10 bx11
by00 + +...
with-pedantic-gl-errorsIntercepts anything that looks like a (gl:function-name ...) call in forms and wraps an error
che...
with-push-projection-matrixSaves the OpenGL projection matrix for the duration of forms, restoring it afterwards.
with-unique-names