those can all be static

This commit is contained in:
Alug committed 2024-03-11 12:40:18 +01:00
1 parent 8461449f2f
commit d2c157262a
3 files changed
+5 -14

No files matched your search

-2
View File
@@ -92,8 +92,6 @@ void HWR_AddTransparentFloor(lumpnum_t lumpnum, extrasubsector_t *xsub, boolean
void HWR_AddTransparentPolyobjectFloor(lumpnum_t lumpnum, polyobj_t *polysector, boolean isceiling, fixed_t fixedheight,
INT32 lightlevel, INT32 alpha, sector_t *FOFSector, FBITFIELD blend, extracolormap_t *planecolormap);
void HWR_RenderDrawNodes(void);
// --------
// hw_shaders.c
// --------
+5 -5
View File
@@ -2542,7 +2542,7 @@ static boolean CheckClip(sector_t * afrontsector, sector_t * abacksector)
// HWR_AddLine
// Clips the given segment and adds any visible pieces to the line list.
void HWR_AddLine(seg_t *line)
static void HWR_AddLine(seg_t *line)
{
angle_t angle1, angle2;
@@ -2690,7 +2690,7 @@ doaddline:
//
// modified to use local variables
boolean HWR_CheckBBox(const fixed_t *bspcoord)
static boolean HWR_CheckBBox(const fixed_t *bspcoord)
{
INT32 boxpos;
fixed_t px1, py1, px2, py2;
@@ -3115,7 +3115,7 @@ static boolean HWR_DoCulling(line_t *cullheight, line_t *viewcullheight, float v
// : Add sprites of things in sector.
// : Draw one or more line segments.
// -----------------+
void HWR_Subsector(size_t num)
static void HWR_Subsector(size_t num)
{
INT16 count;
seg_t *line;
@@ -3488,7 +3488,7 @@ static boolean HWR_PortalCheckBBox(const fixed_t *bspcoord)
// traversing subtree recursively.
// Just call with BSP root.
void HWR_RenderBSPNode(INT32 bspnum)
static void HWR_RenderBSPNode(INT32 bspnum)
{
ps_numbspcalls.value.i++;
@@ -4583,7 +4583,7 @@ static int CompareDrawNodePlanes(const void *p1, const void *p2)
//
// HWR_RenderDrawNodes
// Sorts and renders the list of drawnodes for the scene being rendered.
void HWR_RenderDrawNodes(void)
static void HWR_RenderDrawNodes(void)
{
INT32 i = 0, run_start = 0;
-7
View File
@@ -136,13 +136,6 @@ void HWR_DrawSkyBackground(float fpov);
void HWR_AddPolyObjectSegs(void);
// hw_main.c: BSP
void HWR_RenderBSPNode(INT32 bspnum);
void HWR_Subsector(size_t num);
void HWR_AddLine(seg_t *line);
boolean HWR_CheckBBox(const fixed_t *bspcoord);
void HWR_RenderDrawNodes(void);
// hw_main.c: Sprites
void HWR_AddSprites(sector_t *sec);
void HWR_ProjectSprite(mobj_t *thing);