12b8c71998-11-03Marcus Comstedt array funcEV = ({
39073f1999-07-18Marcus Comstedt  "glBegin", "glCullFace",
12b8c71998-11-03Marcus Comstedt  "glDisable",
39073f1999-07-18Marcus Comstedt  "glEnable",
12b8c71998-11-03Marcus Comstedt  "glFrontFace", "glMatrixMode",
39073f1999-07-18Marcus Comstedt  "glShadeModel",
12b8c71998-11-03Marcus Comstedt }); array funcV = ({ "glEnd",
39073f1999-07-18Marcus Comstedt 
12b8c71998-11-03Marcus Comstedt  "glEndList", "glFlush",
39073f1999-07-18Marcus Comstedt  "glLoadIdentity",
12b8c71998-11-03Marcus Comstedt  "glPopMatrix",
39073f1999-07-18Marcus Comstedt  "glPushMatrix",
12b8c71998-11-03Marcus Comstedt }); array func_misc = ({
39073f1999-07-18Marcus Comstedt  ({"glAccum", "VEF"}), ({"glAlphaFunc", "VEF"}), ({"glArrayElement", "VI"}), ({"glBindTexture","VEI"}), ({"glBlendFunc", "VEE"}), ({"glCallList","VI"}), ({"glClear","VB"}), ({"glClearAccum", "V+FFFF"}),
12b8c71998-11-03Marcus Comstedt  ({"glClearColor", "V+FFFF"}),
39073f1999-07-18Marcus Comstedt  ({"glClearDepth", "VD"}), ({"glClearIndex", "VF"}), ({"glClearStencil", "VI"}), ({"glClipPlane", "VE=DDDD"}), ({"glColor", "V+ZZZZ"}), ({"glColorMask", "VOOOO"}), ({"glColorMaterial", "VEE"}), ({"glCopyPixels", "VIIIIE"}), ({"glCopyTexImage1D", "VEIEIIII"}), ({"glCopyTexImage2D", "VEIEIIIII"}), ({"glCopyTexSubImage1D", "VEIIIII"}), ({"glCopyTexSubImage2D", "VEIIIIIII"}), ({"glDeleteLists", "VII"}),
12b8c71998-11-03Marcus Comstedt  ({"glFrustum", "VDDDDDD"}),
005fe31999-07-16Marcus Comstedt  ({"glOrtho", "VDDDDDD"}), ({"glViewport", "VIIII"}),
12b8c71998-11-03Marcus Comstedt  ({"glTranslate", "V!RRR"}), ({"glScale", "V!RRR"}), ({"glRotate", "V!RRRR"}), ({"glMaterial","VEE@Q"}),
4538f61998-11-03Marcus Comstedt  ({"glFog","VE@Q"}), ({"glLightModel","VE@Q"}),
12b8c71998-11-03Marcus Comstedt  ({"glGenLists","II"}), ({"glNewList","VIE"}), ({"glNormal","V#ZZZ"}), ({"glVertex","V+ZZZ"}),
4538f61998-11-03Marcus Comstedt  ({"glIsEnabled","OE"}),
1588bf1999-07-17Marcus Comstedt  ({"glTexEnv","VEE@Q"}), ({"glTexParameter","VEE@Q"}), ({"glTexCoord", "V+Z"}), ({"glTexGen","VEE@Z"}), ({"glTexImage2D","VEIIwhIfti"}),
12b8c71998-11-03Marcus Comstedt }); mapping func_cat = ([ "VE":funcEV, "V":funcV, ]);
39073f1999-07-18Marcus Comstedt /* Not implemented: glAreTexturesResident glBitmap glCallLists glColorPointer */