icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
53 extern void D_Aff8Patch(
void );
55 extern void D_PolysetAff8Start(
void );
60 (
int)D_Aff8Patch - (
int)D_PolysetAff8Start);
153 int ms, dp_time, r_time2, rw_time, db_time, se_time, de_time, da_time;
166 ms, dp_time, rw_time, db_time, se_time, de_time, da_time);
192 for (
i=0 ;
i<4 ;
i++)
227 __asm mov eax, dword ptr [esp+4]
228 __asm mov edx, dword ptr [esp+8]
230 __asm fld dword ptr [eax+0]
231 __asm fmul dword ptr [
vright+0]
232 __asm fld dword ptr [eax+0]
233 __asm fmul dword ptr [
vup+0]
234 __asm fld dword ptr [eax+0]
235 __asm fmul dword ptr [
vpn+0]
237 __asm fld dword ptr [eax+4]
238 __asm fmul dword ptr [
vright+4]
239 __asm fld dword ptr [eax+4]
240 __asm fmul dword ptr [
vup+4]
241 __asm fld dword ptr [eax+4]
242 __asm fmul dword ptr [
vpn+4]
246 __asm faddp
st(5),
st(0)
247 __asm faddp
st(3),
st(0)
248 __asm faddp
st(1),
st(0)
250 __asm fld dword ptr [eax+8]
251 __asm fmul dword ptr [
vright+8]
252 __asm fld dword ptr [eax+8]
253 __asm fmul dword ptr [
vup+8]
254 __asm fld dword ptr [eax+8]
255 __asm fmul dword ptr [
vpn+8]
259 __asm faddp
st(5),
st(0)
260 __asm faddp
st(3),
st(0)
261 __asm faddp
st(1),
st(0)
263 __asm fstp dword ptr [edx+8]
264 __asm fstp dword ptr [edx+4]
265 __asm fstp dword ptr [edx+0]
301 for (
i=0 ;
i<4 ;
i++)
303 for (
j=0 ;
j<3 ;
j++)
414 for (
i=0 ;
i<4 ;
i++)
547 int rowbytes,
byte *palette)
581 if ( (*data & 0xc0) != 0xc0)
590 data += rowbytes -
width;
595 for (
i=0 ;
i<768 ;
i++)
596 *pack++ = *palette++;
599 length = pack - (
byte *)pcx;
600 f = fopen (filename,
"wb");
605 fwrite ((
void *)pcx, 1, length, f);
634 strcpy(pcxname,
"quake00.pcx");
636 for (
i=0 ;
i<=99 ;
i++)
638 pcxname[5] =
i/10 +
'0';
639 pcxname[6] =
i%10 +
'0';
641 f = fopen (checkname,
"r");
653 for (
i=0 ;
i<256 ;
i++)
void WritePCXfile(char *filename, byte *data, int width, int height, int rowbytes, byte *palette)
void R_ScreenShot_f(void)
short LittleShort(short l)
CONST PIXELFORMATDESCRIPTOR int
void TransformVector(vec3_t in, vec3_t out)
void Sys_MakeCodeWriteable(unsigned long startaddr, unsigned long length)
int * pfrustum_indexes[4]
float verticalFieldOfView
void Sys_Mkdir(char *path)
int d_vrectbottom_particle
int vrectright_adj_shift20
mleaf_t * Mod_PointInLeaf(vec3_t p, model_t *model)
unsigned char * alias_colormap
void R_PrintAliasStats(void)
void R_TransformPlane(mplane_t *p, float *normal, float *dist)
void R_ViewChanged(vrect_t *vr)
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
void(* Con_Printf)(int print_level, char *str,...)
GLdouble GLdouble GLint GLint GLdouble GLdouble v2
static float basemip[NUM_MIPS-1]
char *(* FS_Gamedir)(void)
vec_t VectorNormalize(vec3_t v)
short * zspantable[MAXHEIGHT]
unsigned short palette_type
int d_vrectright_particle
surfcache_t * d_initial_rover
float horizontalFieldOfView
unsigned char palette[48]
byte r_warpbuffer[WARP_WIDTH *WARP_HEIGHT]
void R_PrintDSpeeds(void)
void R_SetUpFrustumIndexes(void)
float d_scalemip[NUM_MIPS-1]
clipplane_t view_clipplanes[4]
void R_SurfacePatch(void)
int r_frustum_indexes[4 *6]
void R_TransformFrustum(void)
int Sys_Milliseconds(void)
byte currentpalette[1024]
int d_scantable[MAXHEIGHT]
void Com_sprintf(char *dest, int size, char *fmt,...)
unsigned short bytes_per_line