Go to the source code of this file.
Renderer Functions | |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
#define | WHERE extern |
WHERE void(* | UpdateScanBuffers )(double, double, long, long, face *, double, long *[], long *[], double *[], long *, long *, double *, double *) |
WHERE int(* | X_message )(const char *,...) |
WHERE short | R_terminator (void) |
WHERE void | read_vec (vector v) |
WHERE void | MakeVertexNormals (void) |
WHERE long | RenderHide (void) |
Renders the frame. | |
WHERE char * | short_form (char *filename) |
WHERE void | SetUpParticles (ParticleSystem *) |
WHERE void | SetUpSingleParticle (ParticleSystem *) |
WHERE void | LoadParticleImages (void) |
WHERE void | UnloadParticleImages (void) |
WHERE void | MakeParticleTextures (void) |
WHERE void | ReleaseParticleTextures (void) |
WHERE void | RenderParticlesGL (BOOL clip) |
WHERE void | RenderParticles (void) |
WHERE long | RenderGL (long frame, BOOL ppGL) |
WHERE void | SetUpCorrectContext (BOOL) |
WHERE HWND | SetUpGlWindow (HANDLE, HWND, long, long, BOOL, BOOL, BOOL, long) |
WHERE void | CloseGlWindow (void) |
WHERE void | accPerspective (GLdouble fovy, GLdouble aspect, GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus) |
WHERE void | CopyGLtoFSB (void) |
WHERE void | CopyGLtoZbuffer (void) |
WHERE BOOL | CheckGPUhardware (HWND) |
WHERE void | RenderCameraView (BOOL renderbuffer, BOOL bAntiAliases, int jitter, int, GLfloat aspect) |
WHERE long | PostProcessRenderGL (long frame) |
WHERE void | DrawExternalMaterialPolys (BOOL bDrawTransparent, BOOL bClip, long nMats, matl *iMat, long Nface, face *MainFp, long Nvert, vertex *MainVp) |
WHERE int | GetCommand (long, long, long, char *) |
WHERE void | FreeFrameObjects (void) |
WHERE void | FreeAllObjects (void) |
WHERE char | R_getl (long *val) |
WHERE char | R_getsht (short *val) |
WHERE char | R_getusht (unsigned short *val) |
WHERE long | LoadMorphObject (long, short mo, char *FileName, double mr, char *QmorphFile, double qr) |
WHERE long | R_LoadObject (long ObjectID, char *FileName, long frame, short robo, double robo_ratio, char *robo_file1, char *robo_file2) |
WHERE void | R_getchunk (long clen) |
WHERE long | FindNumberVertices (char *ofile, long *nvs) |
WHERE void | InvertRotationMatrix (double T[4][4], double t[4][4]) |
WHERE void | RenderTransformToRobot (long O, long *Skid, skel *Skel, double mr, char *robo_f1, char *robo_f2) |
WHERE void | RenderRubberBones (long O, int nSkeleton, long *Skid, skel *Skeleton) |
WHERE double | dot (vector v1, vector v2) |
WHERE short | ClipObject (long O) |
WHERE long | IShadow (long scanline, long v1x, long v1y, long v2x, long v2y, long *xi) |
WHERE void | ShadowFillLine (long scanline, long vx[3], long vy[3], long *leftedge, long *rightedge) |
WHERE void | ShadowGround (void) |
WHERE double | hitpoint (vector n, vector x, vector y, vector pb, vector pf, double *a, double *b) |
WHERE BOOL | hitpoint2 (vector n, vector x, vector y, vector pb, vector pf, double *a, double *b) |
WHERE double | hitcylinder (vector n, vector x, vector y, vector p0, vector p, double *a, double *b) |
WHERE double | hitsphere (vector n, vector x, vector y, vector p0, vector p, double *a, double *b) |
WHERE void | UpdateGlassScanBuffers (double, double, long, long, face *, double, long *[], long *[], double *[], long *, long *, double *, double *) |
WHERE void | UpdateNoGlassScanBuffers (double, double, long, long, face *, double, long *[], long *[], double *[], long *, long *, double *, double *) |
WHERE long | Intersect (long scanline, vertex *v1, vertex *v2, double *xi) |
WHERE long | Active (long scanline, vertex *v, face *f, double *leftedge, double *rightedge) |
WHERE void | SetPerspectiveView (long) |
WHERE void | ApplyViewingTransformToPoint (vector, vector) |
WHERE void | BendNormal (vector, vector, vector) |
WHERE void | MakeObjectTransformation (double fi, double theta, double alpha, short im, double ima, double sx, double sy, double sz, vector Offset, vector Position, double trpos[4][4], double pos[4][4], double trinv[4][4]) |
WHERE void | TransformMappingRectangle (double[4][4], vector, vector, vector, vector, vector, vector, vector) |
WHERE void | PerspObstra (double xo, double yo, double zo, double xt, double yt, double zt, double to[4][4]) |
WHERE void | R_scal (double tr[4][4], double sx, double sy, double sz) |
WHERE void | R_rotz (double tr[4][4], double ang) |
WHERE void | R_rotx (double tr[4][4], double ang) |
WHERE void | R_roty (double tr[4][4], double ang) |
WHERE void | R_tram (double t[4][4], double dx, double dy, double dz) |
WHERE void | R_m4by4 (double t1[4][4], double t2[4][4], double tr[4][4]) |
WHERE void | R_c4to4 (double tin[4][4], double tout[4][4]) |
WHERE void | R_null_transform (double t[4][4]) |
WHERE void | R_m4by1 (double t4[4][4], double x, double y, double z, double *xx, double *yy, double *zz) |
WHERE void | R_m3by1 (double t4[4][4], double x, double y, double z, double *xx, double *yy, double *zz) |
WHERE void | R_reflect (double t4[4][4], vector p, vector n) |
WHERE void | veccopy (vector v1, vector r) |
WHERE void | vecsub (vector v1, vector v2, vector r) |
WHERE void | vecsum (vector v1, vector v2, vector r) |
WHERE void | vecscale (double s, vector v, vector r) |
WHERE short | normalize (vector v) |
WHERE double | R_length (vector v) |
WHERE void | cross (vector v1, vector v2, vector r) |
WHERE void | AssignMappingCoordinatesToVertices (object *) |
WHERE void | EffectObjectVertices (long global, long O) |
WHERE short | LoadExternalTexture (char *name, char *parameters) |
WHERE short | MorphExternalTexture (char *name, char *parameters, long obj) |
WHERE void | FreeExternalTextures (void) |
WHERE BOOL | RenderExternalTexture (long tid, vector p, vector n, double alpha, double beta, double gamma, double bump_scale, double *ac, double *transparency, unsigned char sc[3], long model_id, face *fp, double colour[3]) |
WHERE long | ExternalImageProcess (long frame, long HWrender) |
WHERE long | MotionBlurFrame (long frame, long subframe, long command_id) |
WHERE void | ReleaseImageStore (void) |
WHERE long | SetupImageMap (imap *Map, char *objectfile) |
WHERE void | LoadSingleRenderImageMap (imap *Map, char *mfname, char *ofname, char *tempfile, int type) |
WHERE BOOL | CheckSingleRenderImageMap (imap *Map, char *mfname, char *ofname, char *tempfile, int type) |
WHERE void | CompleteMovieMapLoading (long ObjectID, char *objectfilename) |
WHERE void | FreeMovieMapImages (long ObjectID) |
WHERE unsigned char * | LoadSystemMAP (BOOL, BOOL, char *fn, long *xx, long *yy) |
WHERE void | ScaleImageBuffer3 (long xi, long yi, unsigned char *pi, long xo, long yo, unsigned char *po) |
WHERE void | ScaleImageBuffer4 (long xi, long yi, unsigned char *pi, long xo, long yo, unsigned char *po) |
WHERE void | OneExternalFrame (long frame, void *, char *out_root, long type, long quality) |
WHERE long | out_line (unsigned char *pixels, long linelen) |
WHERE long | get_byte (void) |
WHERE long | ScreenTo32bitFile (long frame, char *rawfile, char *out_root, fullscreenbuffer *) |
WHERE void | FillAlfaLine (UCHAR *, long *[], long *) |
WHERE void | ScanlineToZbuffer (long, double *) |
WHERE void | ScanlineToZobject (long, long *) |
WHERE long | AntiAliasLine (long, long, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *, UCHAR *) |
WHERE void | init_spec (void) |
WHERE void | GetSkyLocation (void) |
WHERE long | PutBackIntersection (long, double, UCHAR *, double *, long *[], long *[], double *[], long *, long *, double *, double *, double *) |
long | ShadedScanline (long scanline, double d2, UCHAR *Red, UCHAR *Green, UCHAR *Blue, double *Zground, long Wsky, double Rsky, long *Zglass[], long *ZglassO[], double *Zglassd[], long *Zbuffer, long *Zobject, double *Zdepth, double *Zposn) |
Renders a whole scanline - Calls GetRowPixelValue(). | |
long | FastAntiAliasShadedScanline (long scanline, long aaline, double d2, UCHAR *Red, UCHAR *Green, UCHAR *Blue, double *Zground, long Wsky, double Rsky, long *Xbuffer, long *Xobject, long *Zglass[], long *ZglassO[], double *Zglassd[], long *Zbuffer, long *Zobject, double *Zdepth, double *Zposn) |
Renders a whole scanline - Calls GetRowPixelValue(). | |
WHERE long | MapFromProjection (imap *, short type, short clear, vector p, double *red, double *green, double *blue) |
WHERE long | MapByCoordinates (imap *Map, long obj, face *f, short type, short clear, vector p, double *red, double *green, double *blue) |
WHERE long | MapTransByCoordinates (imap *Map, short type, long obj, face *f, vector p, double *trans) |
WHERE long | MapTextureByCoordinates (long obj, face *f, vector p, double *alpha, double *beta, double *gamma) |
WHERE void | GetMirrorValues (double *color, vector p, vector d, vector n, int, face *, long, long, long) |
WHERE void | BumpByCoordinates (imap *, short, long, face *, vector, vector) |
WHERE void | GetGroundLight (vector p0, double *R, double *G, double *B) |
WHERE void | BoxMapIntersect (vector, long *, double *, double *) |
WHERE void | MapMirror (double *, double *, double *, imap *, vector, vector) |
WHERE void | MapEnvironment (long, long, UCHAR *, UCHAR *, UCHAR *, imap *) |
WHERE void | MapEnvironmentInDirection (vector, double *, double *, double *, imap *) |
void | GetPixelValue (vector p, vector dinput, vector n, double pdotn, imap *Map, matl *Mat, face *f, long obj, long row, long col, BOOL first_trace, long trace_relection_depth, long trace_refraction_depth, long refractive_flag, double *Red, double *Green, double *Blue) |
The main rendering fuction. | |
void | GetRowPixelValue (long row, long col, imap *Map, matl *Mat, face *f, long obj, vector nn, UCHAR *Red, UCHAR *Green, UCHAR *Blue, double *Zdepth, UCHAR *ZobjChar) |
Renders a pixel on a scanline - Calls GetPixelValue(). | |
WHERE double | DepthCueLight (long, double) |
WHERE void | GetPixelLighting (matl *Matl, vector p, vector n, double pdotn, double ddotn, long obj, face *f, double *IdR, double *IdG, double *IdB, double *IsR, double *IsG, double *IsB) |
WHERE void | GetSurfaceValue (int, face *, vertex *, vector, vector, double *, double *, double *, long, long, long) |
WHERE void | FreeTextureHashTable (void) |
WHERE short | InitialiseNoise (void) |
WHERE void | STurbulence (double x, double y, double z, double *r) |
WHERE void | Cycloidal (double value, double *r) |
WHERE void | DTurbulence (vector result, double x, double y, double z) |
WHERE double | Triangle_Wave (double value) |
WHERE void | Snoise2 (double x, double y, double z, double *r) |
WHERE void | Dnoise2 (vector result, double x, double y, double z) |
WHERE void | ripples2 (double x, double y, double z, double Frequency, double phase, double Bump_Amount, vector Vector) |
WHERE void | calcripple (vector point, vector wave_centre, double wave_propagate, double wave_wavelength, double wave_drag, double wave_amplitude, vector ripple) |
WHERE void | init_ripples (void) |
WHERE void | Ocean (vector p0, vector Groundn, vector gn) |
WHERE BOOL | GetInternalTexture (matl *Mat, double alpha, double beta, double gamma, long textID, vector p, vector n, long obj, face *f, double *colors, double *colort, long *flag_trans, double tr, double *tr1, long trace_relection_depth, long trace_refraction_depth, long refractive_flag) |
WHERE void | DitherLine (long scanline, long xmax, unsigned char *R, unsigned char *G, unsigned char *B) |
WHERE BOOL | AllocateThreadStorage (THD *) |
WHERE void | FreeThreadStorage (THD *) |
short | AllocateRamBuffers (void) |
Allocate storage. | |
WHERE void | ResetDither (void) |
WHERE void | FreeRamBuffers (void) |
WHERE void | InitialiseLibraryHandleList (void) |
WHERE void | FreeLibraryHandleList (void) |
WHERE HMODULE | AddLoadedLibrary (char *) |
WHERE void | Render_Message (short number, short query, char *str) |
WHERE int | X__local_print (const char *,...) |
WHERE void | setup_render_discarded_list (void) |
WHERE void | free_render_discarded_list (void) |
WHERE FILE * | GetRenderRelativeFile (char *fn, char *objectfilename, char *newname) |
WHERE HANDLE | GetRenderRelativeHandle (char *fn, char *objectfilename, char *newname) |
WHERE int | R_intersect_face (vector p, vector d, vector p0, vector p1, vector p2, vector n, double *depth, double tollerance) |
WHERE void | PointInShadow (vector p, long id, double *intensity) |
WHERE void | Add_Ground_Mirror (long, long, vector, unsigned char *, unsigned char *, unsigned char *) |
WHERE void | FreeNurbs (long, nurbs *) |
WHERE BOOL | AllocNurbs (nurbs *, double *, double *) |
WHERE BOOL | MeshNurbsSurfaces (long) |
void | AddToRenderImagePreview (long index, long xmax, long ymax, fullscreenbuffer *f, unsigned char *R, unsigned char *G, unsigned char *B) |