Merge branch 'master' of ssh://repo.or.cz/srv/git/tgl
[tgl.git] / src / opinfo.h
blobe57344e831801bc50609936321b09e6e0509243e
3 ADD_OP(Color,7,"%f %f %f %f %d %d %d")
4 ADD_OP(TexCoord,4,"%f %f %f %f")
5 ADD_OP(EdgeFlag,1,"%d")
6 ADD_OP(Normal,3,"%f %f %f")
8 ADD_OP(Begin,1,"%C")
9 ADD_OP(Vertex,4,"%f %f %f %f")
10 ADD_OP(End,0,"")
12 ADD_OP(EnableDisable,2,"%C %d")
14 ADD_OP(MatrixMode,1,"%C")
15 ADD_OP(LoadMatrix,16,"")
16 ADD_OP(LoadIdentity,0,"")
17 ADD_OP(MultMatrix,16,"")
18 ADD_OP(PushMatrix,0,"")
19 ADD_OP(PopMatrix,0,"")
20 ADD_OP(Rotate,4,"%f %f %f %f")
21 ADD_OP(Translate,3,"%f %f %f")
22 ADD_OP(Scale,3,"%f %f %f")
24 ADD_OP(Viewport,4,"%d %d %d %d")
25 ADD_OP(Frustum,6,"%f %f %f %f %f %f")
27 ADD_OP(Material,6,"%C %C %f %f %f %f")
28 ADD_OP(ColorMaterial,2,"%C %C")
29 ADD_OP(Light,6,"%C %C %f %f %f %f")
30 ADD_OP(LightModel,5,"%C %f %f %f %f")
32 ADD_OP(Clear,1,"%d")
33 ADD_OP(ClearColor,4,"%f %f %f %f")
34 ADD_OP(ClearDepth,1,"%f")
36 ADD_OP(InitNames,0,"")
37 ADD_OP(PushName,1,"%d")
38 ADD_OP(PopName,0,"")
39 ADD_OP(LoadName,1,"%d")
41 ADD_OP(TexImage2D,9,"%d %d %d %d %d %d %d %d %d")
42 ADD_OP(BindTexture,2,"%C %d")
43 ADD_OP(TexEnv,7,"%C %C %C %f %f %f %f")
44 ADD_OP(TexParameter,7,"%C %C %C %f %f %f %f")
45 ADD_OP(PixelStore,2,"%C %C")
47 ADD_OP(ShadeModel,1,"%C")
48 ADD_OP(CullFace,1,"%C")
49 ADD_OP(FrontFace,1,"%C")
50 ADD_OP(PolygonMode,2,"%C %C")
52 ADD_OP(CallList,1,"%d")
53 ADD_OP(Hint,2,"%C %C")
55 /* special opcodes */
56 ADD_OP(EndList,0,"")
57 ADD_OP(NextBuffer,1,"%p")
59 /* opengl 1.1 arrays */
60 ADD_OP(ArrayElement, 1, "%d")
61 ADD_OP(EnableClientState, 1, "%C")
62 ADD_OP(DisableClientState, 1, "%C")
63 ADD_OP(VertexPointer, 4, "%d %C %d %p")
64 ADD_OP(ColorPointer, 4, "%d %C %d %p")
65 ADD_OP(NormalPointer, 3, "%C %d %p")
66 ADD_OP(TexCoordPointer, 4, "%d %C %d %p")
68 /* opengl 1.1 polygon offset */
69 ADD_OP(PolygonOffset, 2, "%f %f")
71 #undef ADD_OP