6.1 Quick Overview
This section presents a quick overview of the libraries provided by Crystal
Space. More detailed descriptions of these facilities may be found in later
sections.
csEngine
- The 3d engine is currently moved to a separate plug-in. For documentation on
the engine, have a look at 7.6 The 3D Engine (
csEngine
). In the future the preferred way
to access the engine will be to use the engine plugin. At this moment
this is still not fully possible because the SCF interfaces for the
engine plugin are not complete yet.
csTool
- This library contains various things that are useful for Crystal Space
but are too specialized in order to be placed in CSENGINE. Currently
it contains the
csPixmap
class for simple 2D graphics and
a number of predefined procedural textures. It also contains basic support
structures for the model importers, the csColliderWrapper class and the
notion of key-value pairs (to be attached to csObject's).
csSys
- All system dependent functionality (non-graphics and non-sound related) is in
this library, for example keyboard, joystick and mouse driver, system-dependent
file handling, loading dynamic libraries etc. This library is the main module
to make Crystal Space applications system-independent.
csUtil
- This library contains various utilities. There is an Archive class which can
read/write ZIP archives. There is a vector class, a sparse matrix class
and some other useful goodies. This library requires the use of the external
ZLib library which is used to read/write ZIP archives. One module from
this library is explained in a separate section: SCF.
SCF (Shared Class Facility)
- The SCF is actually part of the
csUtil
library. It is explained
in a separate section as it is both complex (compared to the rest of
csUtil
) and fundamental to the understanding of plug-ins. See section 6.4 Shared Class Facility (SCF).
csGeom
- A library for 3d geometry operations. It provides 2d and 3d vectors, polygons
and bounding boxes, 3d matrices and some other useful things. See section 6.5 Geometry Library (
csGeom
).
csGfx
- Basic image support.
csWS
- A window system nicely integrated with Crystal Space. It is also platform
independent, as it is based on the CS graphics drivers. See section 6.6 Crystal Space Windowing System (CSWS).
This document was generated using
texi2html