]> git.jsancho.org Git - lugaru.git/blob - Source/glstubs.h
6d0ed44955aedede5700557c71469eef80a49c01
[lugaru.git] / Source / glstubs.h
1 GL_FUNC(void,glAlphaFunc,(GLenum f,GLclampf x),(f,x),)
2 GL_FUNC(void,glBegin,(GLenum e),(e),)
3 GL_FUNC(void,glBindTexture,(GLenum target,GLuint name),(target,name),)
4 GL_FUNC(void,glBlendFunc,(GLenum f,GLenum x),(f,x),)
5 GL_FUNC(void,glCallLists,(GLsizei a,GLenum b,const GLvoid* c),(a,b,c),)
6 GL_FUNC(void,glClear,(GLbitfield a),(a),)
7 GL_FUNC(void,glClearColor,(GLclampf r,GLclampf g,GLclampf b,GLclampf a),(r,g,b,a),)
8 GL_FUNC(void,glClearDepth,(GLclampd x),(x),)
9 GL_FUNC(void,glColor3f,(GLfloat r,GLfloat g,GLfloat b),(r,g,b),)
10 GL_FUNC(void,glColor4f,(GLfloat r,GLfloat g,GLfloat b,GLfloat a),(r,g,b,a),)
11 GL_FUNC(void,glColorMask,(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha),(red,green,blue,alpha),)
12 GL_FUNC(void,glColorPointer,(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer),(size, type, stride, pointer),)
13 GL_FUNC(void,glCopyTexImage2D,(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border),(target, level, internalFormat, x, y, width, height, border),)
14 GL_FUNC(void,glCopyTexSubImage2D,(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height),(target, level, xoffset, yoffset, x, y, width, height),)
15 GL_FUNC(void,glCullFace,(GLenum mode),(mode),)
16 GL_FUNC(void,glDeleteLists,(GLuint list, GLsizei range),(list,range),)
17 GL_FUNC(void,glDeleteTextures,(GLsizei n, const GLuint *textures),(n,textures),)
18 GL_FUNC(void,glDepthFunc,(GLenum func),(func),)
19 GL_FUNC(void,glDepthMask,(GLboolean flag),(flag),)
20 GL_FUNC(void,glDisable,(GLenum cap),(cap),)
21 GL_FUNC(void,glDisableClientState,(GLenum array),(array),)
22 GL_FUNC(void,glDrawArrays,(GLenum mode, GLint first, GLsizei count),(mode,first,count),)
23 GL_FUNC(void,glDrawBuffer,(GLenum mode),(mode),)
24 GL_FUNC(void,glEnable,(GLenum cap),(cap),)
25 GL_FUNC(void,glEnableClientState,(GLenum array),(array),)
26 GL_FUNC(void,glEnd,(void),(),)
27 GL_FUNC(void,glEndList,(void),(),)
28 GL_FUNC(void,glFinish,(void),(),)
29 GL_FUNC(GLuint,glGenLists,(GLsizei range),(range),return)
30 GL_FUNC(void,glGenTextures,(GLsizei n, GLuint *textures),(n,textures),)
31 GL_FUNC(GLenum,glGetError,(void),(),return)
32 GL_FUNC(void,glGetFloatv,(GLenum pname, GLfloat *params),(pname,params),)
33 GL_FUNC(void,glHint,(GLenum target, GLenum mode),(target,mode),)
34 GL_FUNC(void,glInterleavedArrays,(GLenum format, GLsizei stride, const GLvoid *pointer),(format,stride,pointer),)
35 GL_FUNC(GLboolean,glIsTexture,(GLuint texture),(texture),return)
36 GL_FUNC(void,glLightfv,(GLenum light, GLenum pname, const GLfloat *params),(light,pname,params),)
37 GL_FUNC(void,glListBase,(GLuint base),(base),)
38 GL_FUNC(void,glLoadIdentity,(void),(),)
39 GL_FUNC(void,glLoadMatrixf,(const GLfloat *m),(m),)
40 GL_FUNC(void,glMatrixMode,(GLenum mode),(mode),)
41 GL_FUNC(void,glNewList,(GLuint list, GLenum mode),(list,mode),)
42 GL_FUNC(void,glNormal3f,(GLfloat nx, GLfloat ny, GLfloat nz),(nx,ny,nz),)
43 GL_FUNC(void,glOrtho,(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar),(left,right,bottom,top,zNear,zFar),)
44 GL_FUNC(void,glPixelStorei,(GLenum pname, GLint param),(pname,param),)
45 GL_FUNC(void,glPixelTransferi,(GLenum pname, GLint param),(pname,param),)
46 GL_FUNC(void,glPointSize,(GLfloat size),(size),)
47 GL_FUNC(void,glPopMatrix,(void),(),)
48 GL_FUNC(void,glPushMatrix,(void),(),)
49 GL_FUNC(void,glReadBuffer,(GLenum mode),(mode),)
50 GL_FUNC(void,glReadPixels,(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels),(x,y,width,height,format,type,pixels),)
51 GL_FUNC(void,glRotatef,(GLfloat angle, GLfloat x, GLfloat y, GLfloat z),(angle,x,y,z),)
52 GL_FUNC(void,glScalef,(GLfloat x, GLfloat y, GLfloat z),(x,y,z),)
53 GL_FUNC(void,glShadeModel,(GLenum mode),(mode),)
54 GL_FUNC(void,glTexCoord2f,(GLfloat s, GLfloat t),(s,t),)
55 GL_FUNC(void,glTexCoordPointer,(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer),(size,type,stride,pointer),)
56 GL_FUNC(void,glTexEnvf,(GLenum target, GLenum pname, GLfloat param),(target,pname,param),)
57 GL_FUNC(void,glTexEnvfv,(GLenum target, GLenum pname, const GLfloat *params),(target,pname,params),)
58 GL_FUNC(void,glTexEnvi,(GLenum target, GLenum pname, GLint param),(target,pname,param),)
59 GL_FUNC(void,glTexParameterf,(GLenum target, GLenum pname, GLfloat param),(target,pname,param),)
60 GL_FUNC(void,glTexParameteri,(GLenum target, GLenum pname, GLint param),(target,pname,param),)
61 GL_FUNC(void,glTexSubImage2D,(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels),(target,level,xoffset,yoffset,width,height,format,type,pixels),)
62 GL_FUNC(void,glTranslated,(GLdouble x, GLdouble y, GLdouble z),(x,y,z),)
63 GL_FUNC(void,glTranslatef,(GLfloat x, GLfloat y, GLfloat z),(x,y,z),)
64 GL_FUNC(void,glVertex2i,(GLint x, GLint y),(x,y),)
65 GL_FUNC(void,glVertex3f,(GLfloat x, GLfloat y, GLfloat z),(x,y,z),)
66 GL_FUNC(void,glVertexPointer,(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer),(size,type,stride,pointer),)
67 GL_FUNC(void,glViewport,(GLint x, GLint y, GLsizei width, GLsizei height),(x,y,width,height),)
68 GL_FUNC(void,glLockArraysEXT,(GLint first, GLsizei count),(first,count),)
69 GL_FUNC(void,glUnlockArraysEXT,(void),(),)
70
71 // stuff GLU needs...
72 GL_FUNC(void,glGetIntegerv,(GLenum pname, GLint *params),(pname,params),)
73 GL_FUNC(const GLubyte *,glGetString,(GLenum name),(name),return)
74 GL_FUNC(void,glGetTexLevelParameteriv,(GLenum target, GLint level, GLenum pname, GLint *params),(target,level,pname,params),)
75 GL_FUNC(void,glMultMatrixd,(const GLdouble *m),(m),)
76 GL_FUNC(void,glMultMatrixf,(const GLfloat *m),(m),)
77 GL_FUNC(void,glGetTexImage,(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels),(target,level,format,type,pixels),)
78 GL_FUNC(void,glTexImage1D,(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels),(target,level,internalFormat,width,border,format,type,pixels),)
79 GL_FUNC(void,glTexImage2D,(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels),(target,level,internalFormat,width,height,border,format,type,pixels),)
80 GL_FUNC(void,glTexImage3D,(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels),(target,level,internalformat,width,height,depth,border,format,type,pixels),)
81