HydroSDL/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 #include "SDL.h"
00015 #include "SDL_OpenGL.h"
00016 #include "SDL_ttf/SDL_ttf.h"   
00017 
00018 
00019 
00020 #include "../main.h"
00021 
00022 #include "../hydro_source/Datas.h"
00023 #include "Sea.h"
00024 
00025 #include "solid_objects.h"
00026 
00027 #include "../joystick_SDL/joystick_SDL.h"
00028 
00029 #include "../hydro_source/hydro_includes.h"
00030 
00031 
00032 GLuint* get_texture();
00033 
00035 
00038 bool getCallibatingPhase();
00039 
00040 
00042 
00047 void resize_window(int height, int width);
00048 
00049 
00051 
00056 void setup_opengl(int width, int height);
00057 
00058 
00060 
00065 void setup_SDL(int width, int height); 
00066 
00067 
00069 
00072 void process_events( void );
00073 
00075 
00078 void handle_key_down( SDL_keysym* keysym );
00079 
00080 
00082 
00085 void do_on_keystate(datas *d);
00086 
00087 
00089 
00093 void setup_font();
00094 
00095 
00097 
00100 void close_font();
00101 
00102 
00104 
00109 int DrawGLScene(datas* d);//, graphicDatas *gd);//int DrawGLScene(datas *d, seaDatas *sd, boatDatas *bd);
00110 //GLvoid KillGLWindow(GLvoid);
00111 
00112 
00113 
00115 
00120 void pass_joy_parameters(joy_parameters *jP);
00121 // c*********************************************************************
00122 
00123 #endif

Generated on Wed Sep 20 14:30:04 2006 for hydroSDL by  doxygen 1.4.7