D:/Basile/VisualCppProjects/hydroMEX3/hydroMEX3/oGL_graphics/graphics_relative.h

Go to the documentation of this file.
00001 
00010 #ifndef GRAPHIC_RELATIVE_H_DEF
00011 #define GRAPHIC_RELATIVE_H_DEF
00012 
00013 
00014 // c********* Includes for openGL compilation under Windows ************
00015 #include <windows.h>                                                            // Header File For Windows
00016 #include <stdio.h>      
00017 #include <stdarg.h>                                             // Header File For Variable Argument Routines   
00018 #include <GL\glut.h>
00019 #include <GL\gl.h>                                                              // Header File For The OpenGL32 Library
00020 #include <GL\glu.h>                                                             // Header File For The GLu32 Library
00021 #include <GL\glaux.h>
00022 
00023 #include "../joystick/joystick_PC.h"
00024 // c*********************************************************************
00025 
00026 // c********  Includes for openGL compilation under Mac *****************
00027 // c*********************************************************************
00028 
00029 
00030 #include "../hydro_source/Datas.h"
00031 //#include "boat.h"
00032 #include "Sea.h"
00033 
00034 #include "solid_objects.h"
00035 
00036 
00037 
00038 
00039 // c******** declarations for graphics_main.cpp *************************
00040 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
00041 GLvoid ReSizeGLScene(GLsizei width, GLsizei height);
00042 
00044 
00048 int InitGL(GLvoid);
00049 
00051 
00056 int DrawGLScene(datas* d);//, graphicDatas *gd);//int DrawGLScene(datas *d, seaDatas *sd, boatDatas *bd);
00057 GLvoid KillGLWindow(GLvoid);
00058 
00060 BOOL CreateGLWindow(char* title, int width, int height, int bits, bool fullscreenflag);
00061 
00063 
00068 int draw_graphics_init(datas *d);//, graphicDatas *gd);
00069 
00071 
00078 bool draw_graphics(datas *d);//, graphicDatas *gd);
00079 
00080 
00082 
00086 int draw_graphics_kill();//graphicDatas *gd);
00087 
00089 
00094 void pass_joy_parameters(joy_parameters *jP);
00095 // c*********************************************************************
00096 
00097 #endif

Generated on Fri Jun 9 19:10:21 2006 for hydroMex3 by  doxygen 1.4.6-NO