OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
qgl.h
1/*
2===========================================================================
3Copyright (C) 1999-2005 Id Software, Inc.
4
5This file is part of Quake III Arena source code.
6
7Quake III Arena source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12Quake III Arena source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with Foobar; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22/*
23** QGL.H
24*/
25
26#pragma once
27
28//===========================================================================
29
30/*
31** multitexture extension definitions
32*/
33#define GL_ACTIVE_TEXTURE_ARB 0x84E0
34#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
35#define GL_MAX_ACTIVE_TEXTURES_ARB 0x84E2
36
37#define GL_TEXTURE0_ARB 0x84C0
38#define GL_TEXTURE1_ARB 0x84C1
39#define GL_TEXTURE2_ARB 0x84C2
40#define GL_TEXTURE3_ARB 0x84C3
41
42#define GL_COMBINE 0x8570
43#define GL_COMBINE4_NV 0x8503
44#define GL_COMBINE_RGB 0x8571
45#define GL_COMBINE_ALPHA 0x8572
46
47#define GL_SOURCE0_RGB 0x8580
48#define GL_SOURCE1_RGB 0x8581
49#define GL_SOURCE2_RGB 0x8582
50#define GL_SOURCE3_RGB 0x8583
51#define GL_SOURCE0_ALPHA 0x8588
52#define GL_SOURCE1_ALPHA 0x8589
53#define GL_SOURCE2_ALPHA 0x858A
54#define GL_SOURCE3_ALPHA 0x858B
55#define GL_OPERAND0_RGB 0x8590
56#define GL_OPERAND1_RGB 0x8591
57#define GL_OPERAND2_RGB 0x8592
58#define GL_OPERAND3_RGB 0x8593
59#define GL_OPERAND0_ALPHA 0x8598
60#define GL_OPERAND1_ALPHA 0x8599
61#define GL_OPERAND2_ALPHA 0x859A
62#define GL_OPERAND3_ALPHA 0x859B