1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: Tutorial Simple</TITLE>
<META NAME="description" CONTENT="Crystal Space: Tutorial Simple">
<META NAME="keywords" CONTENT="Crystal Space: Tutorial Simple">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC171"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_72.html#SEC170"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_74.html#SEC172"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_70.html#SEC158"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_69.html#SEC157"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_79.html#SEC177"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H2> 5.2 Simple Tutorial 1 </H2>
<!--docid::SEC171::-->
<P>
This tutorial provides a step-by-step explanation on how you can use Crystal
Space from within your application. This tutorial is mainly based on the
`<TT>simple</TT>' application which you can compile and run to see what it does
(type `<SAMP>make tutsimp1</SAMP>' if you use commandline based compilation).
</P><P>
When you downloaded the Crystal Space package it contains a `<SAMP>CS/include</SAMP>'
directory. This directory contains all header files you need to be able to
use the Crystal Space components and libraries in your own applications. On
one hand, the include directory contains SCF interface definitions.
These pure interface file names start with the letter `<SAMP>i</SAMP>' (as in
`<TT>iengine/engine.h</TT>'). On the other hand we also have plain C++ include
files for interfacing with the libraries of Crystal Space.
When you install Crystal Space on your development system (for instance,
by invoking `<SAMP>make install</SAMP>'), these headers are placed in a location where
they can be easily accessed when writing new programs based on Crystal Space.
On Unix systems, for instance, these files usually end up in
`<TT>/usr/local/crystal/include</TT>'.
</P><P>
Crystal Space also has a reference manual and API documentation.
The manual is included in HTML form Crystal Space itself and is also
available online. The API documentation can be generated locally or
viewed online. See section <A HREF="cs_7.html#SEC7">1.6 Where to Get Crystal Space</A>.
</P><P>
Before reading this tutorial you should read the Tutorial Introduction first
(see section <A HREF="cs_70.html#SEC158">5.1 Developing a Crystal Space Application</A>).
</P><P>
<BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0>
<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="cs_74.html#SEC172">5.2.1 Simple Header File</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP"></TD></TR>
<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="cs_75.html#SEC173">5.2.2 Event Handling</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP"></TD></TR>
<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="cs_76.html#SEC174">5.2.3 Creating a "World"</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP"></TD></TR>
<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="cs_77.html#SEC175">5.2.4 The Camera</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP"></TD></TR>
<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="cs_78.html#SEC176">5.2.5 Locomotion (Moving Around)</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP"></TD></TR>
</TABLE></BLOCKQUOTE>
<P>
<A NAME="Simple Header File"></A>
<HR SIZE=1>
<BR>
<FONT SIZE="-1">
This document was generated
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>
|