29 #include "../../../idlib/precompiled.h"
59 static int level = 128;
65 light = (level&255)/255.0;
124 for ( p = node->
portals; p; p = nextp )
126 if ( p->
nodes[0] == node )
void OutputWinding(idWinding *w, idFile *glview)
idFileSystem * fileSystem
void WriteGLView_r(node_t *node, idFile *glview)
struct uPortal_s * next[2]
int PortalVisibleSides(uPortal_t *p)
idWinding * Reverse(void) const
GLsizei GLsizei GLcharARB * source
int GetNumPoints(void) const
struct node_s * children[2]
GLubyte GLubyte GLubyte GLubyte w
void OutputPortal(uPortal_t *p, idFile *glview)
struct uPortal_s * portals
virtual int WriteFloatString(const char *fmt,...) id_attribute((format(printf
virtual void Printf(const char *fmt,...) id_attribute((format(printf
virtual idFile * OpenExplicitFileWrite(const char *OSPath)=0
void WriteGLView(tree_t *tree, char *source)
virtual void CloseFile(idFile *f)=0
virtual void Error(const char *fmt,...) id_attribute((format(printf