From fa1b3b94318e55a8793e126657c74332da09aa7d Mon Sep 17 00:00:00 2001 From: Anonimus Date: Fri, 12 Sep 2025 21:11:38 -0400 Subject: [PATCH] SRB2 rendering code is very good yes indeed --- src/p_mobj.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_mobj.h b/src/p_mobj.h index 63bdedfc3..81f51cb21 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -490,6 +490,10 @@ struct precipmobj_t fixed_t old_spritexscale2, old_spriteyscale2; fixed_t old_spritexoffset, old_spriteyoffset; fixed_t old_spritexoffset2, old_spriteyoffset2; + + // X and Y offsets that rotate alongside the sprite. + INT16 rollingxoffset, rollingyoffset; + pslope_t *floorspriteslope; // The slope that the floorsprite is rotated by INT16 lightlevel; // Add to sector lightlevel, -255 - 255