[4.10.0+] Scrollers stop scrolling after a certain amount of time in software

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
InsanityBringer
Posts: 3378
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

[4.10.0+] Scrollers stop scrolling after a certain amount of time in software

Post by InsanityBringer »

Test wad by nova++: https://cdn.discordapp.com/attachments/ ... scroll.wad

Scrolling walls, if they scroll for a long enough distance, will stop scrolling. The above test wad has two scrollers that stop scrolling after around 35 seconds and a minute respectively. I've determined that the cause seems to be in r_wallsetup, where the X offset of a wall is converted into a fixed_t before being sent to Project. But this seems unneeded because Project simply converts the fixed_t into a float. I duplicated Project and GetXOffset to take and return a double respectively, and the issue seemed to go away. (the jitter will probably still be there, though, since a lot of these calculations are using 32-bit floats). Overall the conversion to and from fixed_t seems unneeded.

(also, I seem unable to post in the software renderer bugs section?)

Return to “Bugs [GZDoom]”