-/*
-void lightpolybegin(int texnum)
-{
- if (currentlightpoly >= MAX_LIGHTPOLYS || currentlightvert >= MAX_LIGHTVERTS)
- return;
- lightpoly[currentlightpoly].texnum = (unsigned short) texnum;
- lightpoly[currentlightpoly].firstvert = currentlightvert;
- lightpoly[currentlightpoly].verts = 0;
-}
-
-// lightpolyvert is a #define
-
-void lightpolyend()
-{
- if (currentlightpoly >= MAX_LIGHTPOLYS)
- return;
- if (lightpoly[currentlightpoly].verts < 3) // skip invalid polygons
- {
- currentlightvert = lightpoly[currentlightpoly].firstvert; // reset vert pointer
- return;
- }
- if (currentlightvert >= MAX_LIGHTVERTS)
- return;
- currentlightpoly++;
-}
-*/
-