ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

opinfo.h

Go to the documentation of this file.
00001 /* ResidualVM - A 3D game interpreter
00002  *
00003  * ResidualVM is the legal property of its developers, whose names
00004  * are too numerous to list here. Please refer to the AUTHORS
00005  * file distributed with this source distribution.
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License
00009  * as published by the Free Software Foundation; either version 2
00010  * of the License, or (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 
00023 /*
00024  * This file is based on, or a modified version of code from TinyGL (C) 1997-1998 Fabrice Bellard,
00025  * which is licensed under the zlib-license (see LICENSE).
00026  * It also has modifications by the ResidualVM-team, which are covered under the GPLv2 (or later).
00027  */
00028 
00029 
00030 ADD_OP(Color, 7, "%f %f %f %f %d %d %d")
00031 ADD_OP(TexCoord, 4, "%f %f %f %f")
00032 ADD_OP(EdgeFlag, 1, "%d")
00033 ADD_OP(Normal, 3, "%f %f %f")
00034 
00035 ADD_OP(Begin, 1, "%C")
00036 ADD_OP(Vertex, 4, "%f %f %f %f")
00037 ADD_OP(End, 0, "")
00038 
00039 ADD_OP(EnableDisable, 2, "%C %d")
00040 
00041 ADD_OP(MatrixMode, 1, "%C")
00042 ADD_OP(LoadMatrix, 16, "")
00043 ADD_OP(LoadIdentity, 0, "")
00044 ADD_OP(MultMatrix, 16, "")
00045 ADD_OP(PushMatrix, 0, "")
00046 ADD_OP(PopMatrix, 0, "")
00047 ADD_OP(Rotate, 4, "%f %f %f %f")
00048 ADD_OP(Translate, 3, "%f %f %f")
00049 ADD_OP(Scale, 3, "%f %f %f")
00050 ADD_OP(Ortho, 6, "%f %f %f %f %f %f")
00051 
00052 ADD_OP(Viewport, 4, "%d %d %d %d")
00053 ADD_OP(Frustum, 6, "%f %f %f %f %f %f")
00054 
00055 ADD_OP(Material, 6, "%C %C %f %f %f %f")
00056 ADD_OP(ColorMaterial, 2, "%C %C")
00057 ADD_OP(Light, 6, "%C %C %f %f %f %f")
00058 ADD_OP(LightModel, 5, "%C %f %f %f %f")
00059 
00060 ADD_OP(Clear, 1, "%d")
00061 ADD_OP(ClearColor, 4, "%f %f %f %f")
00062 ADD_OP(ClearDepth, 1, "%f")
00063 
00064 ADD_OP(InitNames, 0, "")
00065 ADD_OP(PushName, 1, "%d")
00066 ADD_OP(PopName, 0, "")
00067 ADD_OP(LoadName, 1, "%d")
00068 
00069 ADD_OP(TexImage2D, 9, "%d %d %d %d %d %d %d %d %d")
00070 ADD_OP(BindTexture, 2, "%C %d")
00071 ADD_OP(TexEnv, 7, "%C %C %C %f %f %f %f")
00072 ADD_OP(TexParameter, 7, "%C %C %C %f %f %f %f")
00073 ADD_OP(PixelStore, 2, "%C %C")
00074 
00075 ADD_OP(ShadeModel, 1, "%C")
00076 ADD_OP(CullFace, 1, "%C")
00077 ADD_OP(FrontFace, 1, "%C")
00078 ADD_OP(PolygonMode, 2, "%C %C")
00079 ADD_OP(ColorMask, 1, "%08x")
00080 ADD_OP(DepthMask, 1, "%d")
00081 ADD_OP(BlendFunc, 2, "%d %d")
00082 ADD_OP(AlphaFunc, 2, "%d %f")
00083 ADD_OP(DepthFunc, 1, "%d")
00084 
00085 ADD_OP(CallList, 1, "%d")
00086 ADD_OP(Hint, 2, "%C %C")
00087 
00088 // special opcodes
00089 ADD_OP(EndList, 0, "")
00090 ADD_OP(NextBuffer, 1, "%p")
00091 
00092 // opengl 1.1 arrays
00093 ADD_OP(ArrayElement, 1, "%d")
00094 ADD_OP(DrawArrays, 3, "%C %d %d")
00095 ADD_OP(EnableClientState, 1, "%C")
00096 ADD_OP(DisableClientState, 1, "%C")
00097 ADD_OP(VertexPointer, 4, "%d %C %d %p")
00098 ADD_OP(ColorPointer, 4, "%d %C %d %p")
00099 ADD_OP(NormalPointer, 3, "%C %d %p")
00100 ADD_OP(TexCoordPointer, 4, "%d %C %d %p")
00101 
00102 // opengl 1.1 polygon offset
00103 ADD_OP(PolygonOffset, 2, "%f %f")
00104 
00105 #undef ADD_OP


Generated on Sat Mar 23 2019 05:01:54 for ResidualVM by doxygen 1.7.1
curved edge   curved edge