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

general.h

Go to the documentation of this file.
00001 #ifndef GENERAL_H
00002 #define GENERAL_H
00003 
00004 #include "shared.h"
00005 #include "polygon.h"
00006 #include "texture.h"
00007 #include "camera.h"
00008 #include "light.h"
00009 #include "bspline.h"
00010 #include "bsp.h"
00011 #include "tll.h"
00012 
00013 VECTOR GetEdgeIntersection(VECTOR point0, VECTOR point1, POLYGON planePolygon);
00014 int SphereInFrustum(VECTOR point, float radius);
00015 bool PointInFrustum(VECTOR point);
00016 void ExtractFrustum();
00017 void AddSpline(int Number, LinkedList<SPLINE>& SplineList);
00018 void DeleteSpline(int Number, LinkedList<SPLINE>& SplineList);
00019 int LoadSplines(char* SplineFileName, CAMERA* camera, LIGHT* light);
00020 void SetSplines(LinkedList<SPLINE> &);
00021 void SetGLLighting(LIGHT *);
00022 void SetGLCamera(CAMERA *);
00023 void SetGLVertices(VERTEX *);
00024 void SetGLWorld(POLYGON *, TEXTURE *, VERTEX *);
00025 void SetGLProperties();
00026 void SetGLProjection(int Width, int Height);
00027 void SetGLView(int Width, int Height);
00028 void SetGLMaterial();
00029 int SetGLTexture(TEXTURE *);
00030 void DrawMyText();
00031 void DrawGrid();
00032 void DrawWorld(BSP_node *);
00033 void DrawSphere();
00034 void DrawGreenSphere();
00035 void DrawLightSphere(LIGHT *);
00036 void DrawCone();
00037 float GetTimePassed(float &, int, float *);
00038 bool CheckClipPlanes(CAMERA Camera, VECTOR Vect);
00039 void DrawHalo(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00040 void DrawFire(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00041 void DrawBillboards(TEXTURE* texture, LIGHT* light, CAMERA* camera);
00042 
00043 #endif //GENERAL_H

Generated on Fri Dec 23 05:20:18 2005 for Portals by doxygen1.2.15