1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#include "server_dispatch.h"
#include "server.h"
/**
* All glWindowPos commands go through here.
*/
static void crServerWindowPos( GLfloat x, GLfloat y, GLfloat z )
{
crStateWindowPos3fARB(x, y, z);
cr_server.head_spu->dispatch_table.WindowPos3fARB(x, y, z);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2dARB( GLdouble x, GLdouble y )
{
crServerWindowPos((GLfloat) x, (GLfloat) y, 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2dvARB( const GLdouble * v )
{
crServerWindowPos((GLfloat) v[0], (GLfloat) v[1], 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2fARB( GLfloat x, GLfloat y )
{
crServerWindowPos(x, y, 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2fvARB( const GLfloat * v )
{
crServerWindowPos(v[0], v[1], 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2iARB( GLint x, GLint y )
{
crServerWindowPos((GLfloat)x, (GLfloat)y, 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2ivARB( const GLint * v )
{
crServerWindowPos((GLfloat)v[0], (GLfloat)v[1], 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2sARB( GLshort x, GLshort y )
{
crServerWindowPos(x, y, 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos2svARB( const GLshort * v )
{
crServerWindowPos(v[0], v[1], 0.0F);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3dARB( GLdouble x, GLdouble y, GLdouble z )
{
crServerWindowPos((GLfloat) x, (GLfloat) y, (GLfloat) z);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3dvARB( const GLdouble * v )
{
crServerWindowPos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2]);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3fARB( GLfloat x, GLfloat y, GLfloat z )
{
crServerWindowPos(x, y, z);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3fvARB( const GLfloat * v )
{
crServerWindowPos(v[0], v[1], v[2]);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3iARB( GLint x, GLint y, GLint z )
{
crServerWindowPos((GLfloat)x,(GLfloat)y, (GLfloat)z);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3ivARB( const GLint * v )
{
crServerWindowPos((GLfloat)v[0], (GLfloat)v[1], (GLfloat)v[2]);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3sARB( GLshort x, GLshort y, GLshort z )
{
crServerWindowPos(x, y, z);
}
void SERVER_DISPATCH_APIENTRY crServerDispatchWindowPos3svARB( const GLshort * v )
{
crServerWindowPos(v[0], v[1], v[2]);
}
|