Difference for arch/ogl/include/ogl_init.h from version 1.1 to 1.2


version 1.1 version 1.2
Line 1
 
Line 1
 //prototypes opengl platform specific functions - Added 9/15/99 Matthew Mueller  //prototypes opengl functions - Added 9/15/99 Matthew Mueller
 #ifndef _OGL_INIT_H_   #ifndef _OGL_INIT_H_
 #define _OGL_INIT_H_  #define _OGL_INIT_H_
   
   #include "gr.h"
   #include "palette.h"
   #include <GL/gl.h>
   
   extern int gl_initialized;
   
   //platform specific funcs
 inline void ogl_swap_buffers(void);  inline void ogl_swap_buffers(void);
 int ogl_init_window(int x, int y);//create a window/switch modes/etc  int ogl_init_window(int x, int y);//create a window/switch modes/etc
 void ogl_destroy_window(void);//destroy window/etc  void ogl_destroy_window(void);//destroy window/etc
 void ogl_init(void);//one time initialization  void ogl_init(void);//one time initialization
 void ogl_close(void);//one time shutdown  void ogl_close(void);//one time shutdown
   
 extern int gl_initialized;  //generic funcs
   inline void ogl_loadbmtexture(grs_bitmap *bm);
   void ogl_loadtexture(unsigned char * data, int width, int height, int *texid);
   void ogl_do_palfx(void);
   
   
   //whee
   inline GLfloat PAL2Tr(int c);
   inline GLfloat PAL2Tg(int c);
   inline GLfloat PAL2Tb(int c);
 #endif  #endif

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2