definition.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00025
#ifndef DRIVE_DEFS_H
00026 #define DRIVE_DEFS_H 1
00028 int windowhd;
00031 typedef enum
00032
{
00033
BOX,
SPHERE,
CYLINDER,
CONE,
FACE
00034 }
type_object;
00035
00037 typedef struct Object_u{
00038 GLfloat
position[16];
00039 type_object type;
00040 GLint
level;
00041 GLfloat
min[3];
00042 GLfloat
max[3];
00043 GLfloat
emissive[3];
00044 GLfloat
diffuse[3];
00045 GLfloat*
face;
00046 GLfloat
vertex[8];
00047 int nvertex;
00048 bool ccw;
00049 void*
fields;
00050 }
object_u;
00051
00053 typedef struct WU{
00054 float x,
y,
z;
00055 float w,
h,
d;
00056 int level;
00057 }
wu;
00058
00060 typedef struct LEVEL{
00061 int id;
00062 float min;
00063 float max;
00064 }
level;
00065
00067 typedef struct HOTSPOT{
00068 float x,
y,
z;
00069 char*
description;
00070 char*
id;
00071 char**
url;
00072 int url_length;
00073 int level;
00074 }
hotspot;
00075
00077 typedef struct PATHNODE{
00078 char*
id;
00079 int x,
z;
00080 int level;
00081 }
pathnode;
00082
00084 typedef struct _point{
00085 float x,
y,
z;
00086 }
point;
00087
#endif
00088
Generated on Mon Jun 14 17:25:56 2004 for D.R.I.V.E. by
1.3.7