Skip to content
Snippets Groups Projects
Commit 4d87bcca authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Move position of R_PlaneRipple in the file so this looks more organised

parent 871ebef3
No related branches found
No related tags found
2 merge requests!734Rebase Keycodes only branch.,!524Tilted ripple
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment