Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

engineAbstract.h File Reference

Header that chooses and abstracts an engine. More...

#include <ltengineobjectsclient.h>
#include "shared_types.h"

Go to the source code of this file.

Defines

#define __ENGINE_LITHTECH__
 Only defined if the engine being used to display virpets is LithTech. More...

#define HANDLE_TYPE   HOBJECT
 Standard handle type. More...

#define RESULT_TYPE   LTRESULT
 Standard result type. More...

#define VECTOR_TYPE   LTVector
 Standard vector type. More...

#define VECTOR_TYPE_3F   LTVector3f
 Standard three-dimensional vector type. More...

#define STAGE_DEBUG   g_pLTClient->CPrint
 Debugging output function for appropriate engine. More...


Detailed Description

Header that chooses and abstracts an engine.

The goal is to make the puppets and the stage a platform capable of working in many graphics engines, if possible; this define will be used to choose between platform specific code segments. Simply uncomment only the line that described the engine being used.


Define Documentation

#define HANDLE_TYPE   HOBJECT
 

Standard handle type.

The definition of the engine-specific handle-type that a Puppet should use.

#define RESULT_TYPE   LTRESULT
 

Standard result type.

The definition of the engine-specific result-type that a Puppet should use. What gets returns as a error-check measure by the engine.

#define STAGE_DEBUG   g_pLTClient->CPrint
 

Debugging output function for appropriate engine.

The graphical equivalent of a printf in whatever engine environment we're working with.

#define VECTOR_TYPE   LTVector
 

Standard vector type.

The definition of the engine-specific handle-type that a Puppet should use. If the engine has none, just use a standard OpenGL-style vector.

#define VECTOR_TYPE_3F   LTVector3f
 

Standard three-dimensional vector type.

The definition of the engine-specific worldspace vector that a Puppet should use. If there's no differentiation between a three-dimensional vector and a standard vector, just have VECTOR_TYPE_3F point to VECTOR_TYPE.

#define __ENGINE_LITHTECH__
 

Only defined if the engine being used to display virpets is LithTech.

Uncomment this line to choose the LithTech engine for your rendering needs.


Generated on Tue Oct 16 13:42:10 2001 for The Stage by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001