mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Move position of R_PlaneRipple in the file so this looks more organised
This commit is contained in:
parent
871ebef332
commit
4d87bcca13
1 changed files with 16 additions and 10 deletions
|
@ -117,17 +117,10 @@ void R_InitPlanes(void)
|
|||
}
|
||||
|
||||
//
|
||||
// R_MapPlane
|
||||
// Water ripple effect!!
|
||||
// Needs the height of the plane, and the vertical position of the span.
|
||||
// Sets ripple_xfrac and ripple_yfrac, added to ds_xfrac and ds_yfrac, if the span is not tilted.
|
||||
//
|
||||
// Uses global vars:
|
||||
// basexscale
|
||||
// baseyscale
|
||||
// centerx
|
||||
// viewx
|
||||
// viewy
|
||||
// viewsin
|
||||
// viewcos
|
||||
// viewheight
|
||||
|
||||
#ifndef NOWATER
|
||||
INT32 ds_bgofs;
|
||||
|
@ -152,6 +145,19 @@ static void R_PlaneRipple(visplane_t *plane, INT32 y, fixed_t plheight)
|
|||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// R_MapPlane
|
||||
//
|
||||
// Uses global vars:
|
||||
// basexscale
|
||||
// baseyscale
|
||||
// centerx
|
||||
// viewx
|
||||
// viewy
|
||||
// viewsin
|
||||
// viewcos
|
||||
// viewheight
|
||||
|
||||
void R_MapPlane(INT32 y, INT32 x1, INT32 x2)
|
||||
{
|
||||
angle_t angle, planecos, planesin;
|
||||
|
|
Loading…
Reference in a new issue