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 00010 void SetGLLighting(LIGHT *); 00011 void SetGLCamera(CAMERA *); 00012 void SetGLWorld(POLYGON *); 00013 void SetGLProperties(); 00014 void SetGLProjection(int Width, int Height); 00015 void SetGLView(int Width, int Height); 00016 void SetGLMaterial(); 00017 void SetGLLighting(); 00018 void SetGLTexture(TEXTURE *); 00019 void DrawGrid(); 00020 void DrawCube(POLYGON *,TEXTURE *); 00021 void DrawSphere(); 00022 void DrawGreenSphere(); 00023 void DrawLightSphere(LIGHT *); 00024 void DrawCone(); 00025 float GetTimePassed(float &, int, float *); 00026 bool CheckClipPlanes(CAMERA Camera, VECTOR Vect); 00027 00028 #endif //GENERAL_H
1.2.15